summaryrefslogtreecommitdiff
path: root/ui/qt/about_dialog.ui
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2015-09-23 14:54:25 -0700
committerGerald Combs <gerald@wireshark.org>2015-09-24 15:11:46 +0000
commit0a0598949a88cf3342c3cb6360e6f74eeb74e08a (patch)
treee9b024598b8c192f14a49fadc418df80a7a82290 /ui/qt/about_dialog.ui
parentaf0e93c05685c8e3ffdca0d48b947767860105a9 (diff)
downloadwireshark-0a0598949a88cf3342c3cb6360e6f74eeb74e08a.tar.gz
Qt: Show keyboard shortcuts in the about box.
Add a "Keyboard Shortcuts" tab to the about box for lack of a better place. Show every action in the main window which has an associated shortcut except for recent items. We might want to add a command-line option to dump the shortcuts in addition to or instead of showing them here. Change-Id: I875043048a44930391fefcbbaf17c5b10a7bb8c6 Reviewed-on: https://code.wireshark.org/review/10634 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'ui/qt/about_dialog.ui')
-rw-r--r--ui/qt/about_dialog.ui18
1 files changed, 17 insertions, 1 deletions
diff --git a/ui/qt/about_dialog.ui b/ui/qt/about_dialog.ui
index 10747b8043..bc8e8c3609 100644
--- a/ui/qt/about_dialog.ui
+++ b/ui/qt/about_dialog.ui
@@ -214,6 +214,23 @@
</item>
</layout>
</widget>
+ <widget class="QWidget" name="tab_shortcuts">
+ <attribute name="title">
+ <string>Keyboard Shortcuts</string>
+ </attribute>
+ <layout class="QVBoxLayout" name="verticalLayout_shortcuts">
+ <item>
+ <widget class="QTextEdit" name="te_shortcuts">
+ <property name="tabChangesFocus">
+ <bool>true</bool>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
<widget class="QWidget" name="tab_license">
<attribute name="title">
<string>License</string>
@@ -243,7 +260,6 @@
</layout>
</widget>
<resources>
- <include location="../../image/toolbar.qrc"/>
<include location="../../image/about.qrc"/>
</resources>
<connections>