Qt: restore conversation coloring rule shortcuts

GTK+ had this very useful Ctrl+1 .. Ctrl+9 shortcuts for conversation
coloring rules. Add this functionality to Qt too.

Ctrl+0 is not ported though, this now means "Restore zoom" which is
quite logical. Also, Ctrl+= (shortcut in GTK+) somehow does not work in
Qt 5.5.1 (it is detected as Ctrl++ instead).

Change-Id: I5528c723ef6d4ea11298a135db8539a8d03d9aae
Reviewed-on: https://code.wireshark.org/review/12506
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Peter Wu 2015-12-10 11:46:36 +01:00 committed by Anders Broman
parent ea1789f925
commit 19cbcca594
1 changed files with 27 additions and 0 deletions

View File

@ -2674,6 +2674,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+1</string>
</property>
</action>
<action name="actionViewColorizeConversation2">
<property name="text">
@ -2682,6 +2685,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+2</string>
</property>
</action>
<action name="actionViewColorizeConversation3">
<property name="text">
@ -2690,6 +2696,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+3</string>
</property>
</action>
<action name="actionViewColorizeConversation4">
<property name="text">
@ -2698,6 +2707,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+4</string>
</property>
</action>
<action name="actionViewColorizeConversation5">
<property name="text">
@ -2706,6 +2718,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+5</string>
</property>
</action>
<action name="actionViewColorizeConversation6">
<property name="text">
@ -2714,6 +2729,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+6</string>
</property>
</action>
<action name="actionViewColorizeConversation7">
<property name="text">
@ -2722,6 +2740,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+7</string>
</property>
</action>
<action name="actionViewColorizeConversation8">
<property name="text">
@ -2730,6 +2751,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+8</string>
</property>
</action>
<action name="actionViewColorizeConversation9">
<property name="text">
@ -2738,6 +2762,9 @@
<property name="toolTip">
<string>Mark the current conversation with its own color.</string>
</property>
<property name="shortcut">
<string>Ctrl+9</string>
</property>
</action>
<action name="actionViewColorizeConversation10">
<property name="text">