aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2015-12-10 11:46:36 +0100
committerAnders Broman <a.broman58@gmail.com>2015-12-11 05:20:04 +0000
commit19cbcca5941abd7be7c37135f367853751980977 (patch)
treef8850e5bf5f4ebe1769382863c4c903c3f76deae
parentea1789f925f49027e6b2864e6cc846b7016dc13b (diff)
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>
-rw-r--r--ui/qt/main_window.ui27
1 files changed, 27 insertions, 0 deletions
diff --git a/ui/qt/main_window.ui b/ui/qt/main_window.ui
index 8946cb86be..9c5bf183f0 100644
--- a/ui/qt/main_window.ui
+++ b/ui/qt/main_window.ui
@@ -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">