Qt: Add missing main menu mnemonics.
The GTK+ main menu had quite a few keyboard mnemonics which were missing in the Qt UI, most notably File → Open, File → Close, and File → Quit. Update ui/qt/main_window.ui from a list generated by running `grep -E 'NULL, +".*_.*"' ui/gtk/main_menubar.c` in a current master-2.6 checkout. BTW, the proper terminology to use here is unclear. Most places use "mnemonics": GTK+: Access keys https://developer.gnome.org/hig/stable/keyboard-input.html.en Qt: Mnemonics or accelerator keys http://doc.qt.io/qt-5/qkeysequence.html http://doc.qt.io/qt-5/accelerators.html Wikipedia: Mnemonics https://en.wikipedia.org/wiki/Keyboard_shortcut Windows: Menu access keys or mnemonics https://docs.microsoft.com/en-us/windows/desktop/menurc/about-menus Bug: 15475 Change-Id: Ibacbe066d4acfcea91125a980977d1610e3c0908 Reviewed-on: https://code.wireshark.org/review/31871 Reviewed-by: Gerald Combs <gerald@wireshark.org> Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
bfceb99f93
commit
cdfc56b340
|
@ -153,7 +153,7 @@
|
|||
</property>
|
||||
<widget class="QMenu" name="menuOpenRecentCaptureFile">
|
||||
<property name="title">
|
||||
<string>Open Recent</string>
|
||||
<string>Open &Recent</string>
|
||||
</property>
|
||||
<addaction name="actionDummyNoFilesFound"/>
|
||||
</widget>
|
||||
|
@ -311,7 +311,7 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuName_Resolution">
|
||||
<property name="title">
|
||||
<string>Name Resolution</string>
|
||||
<string>Name Resol&ution</string>
|
||||
</property>
|
||||
<addaction name="actionViewEditResolvedName"/>
|
||||
<addaction name="separator"/>
|
||||
|
@ -525,7 +525,7 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuServiceResponseTime">
|
||||
<property name="title">
|
||||
<string>Service Response Time</string>
|
||||
<string>Service &Response Time</string>
|
||||
</property>
|
||||
</widget>
|
||||
<addaction name="actionStatisticsCaptureFileProperties"/>
|
||||
|
@ -564,39 +564,39 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuRTP">
|
||||
<property name="title">
|
||||
<string>RTP</string>
|
||||
<string>&RTP</string>
|
||||
</property>
|
||||
<addaction name="actionTelephonyRTPStreams"/>
|
||||
<addaction name="actionTelephonyRTPStreamAnalysis"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuTelephonySCTP">
|
||||
<property name="title">
|
||||
<string>SCTP</string>
|
||||
<string>S&CTP</string>
|
||||
</property>
|
||||
<addaction name="actionSCTPAnalyseThisAssociation"/>
|
||||
<addaction name="actionSCTPShowAllAssociations"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuANSI">
|
||||
<property name="title">
|
||||
<string>ANSI</string>
|
||||
<string>&ANSI</string>
|
||||
</property>
|
||||
<addaction name="actionTelephonyANSIPlaceholder"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuGSM">
|
||||
<property name="title">
|
||||
<string>GSM</string>
|
||||
<string>&GSM</string>
|
||||
</property>
|
||||
<addaction name="actionTelephonyGSMPlaceholder"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuLTE">
|
||||
<property name="title">
|
||||
<string>LTE</string>
|
||||
<string>&LTE</string>
|
||||
</property>
|
||||
<addaction name="actionTelephonyLTEPlaceholder"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuMTP3">
|
||||
<property name="title">
|
||||
<string>MTP3</string>
|
||||
<string>&MTP3</string>
|
||||
</property>
|
||||
<addaction name="actionTelephonyMTP3Placeholder"/>
|
||||
</widget>
|
||||
|
@ -785,7 +785,7 @@
|
|||
</widget>
|
||||
<action name="actionFileOpen">
|
||||
<property name="text">
|
||||
<string>Open</string>
|
||||
<string>&Open</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Open a capture file</string>
|
||||
|
@ -799,7 +799,7 @@
|
|||
</action>
|
||||
<action name="actionFileQuit">
|
||||
<property name="text">
|
||||
<string>Quit</string>
|
||||
<string>&Quit</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Quit Wireshark</string>
|
||||
|
@ -838,7 +838,7 @@
|
|||
</action>
|
||||
<action name="actionFileClose">
|
||||
<property name="text">
|
||||
<string>Close</string>
|
||||
<string>&Close</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Close this capture file</string>
|
||||
|
@ -1281,27 +1281,27 @@
|
|||
</action>
|
||||
<action name="actionFileExportAsCSV">
|
||||
<property name="text">
|
||||
<string>As CSV…</string>
|
||||
<string>As &CSV…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsCArrays">
|
||||
<property name="text">
|
||||
<string>As "C" Arrays…</string>
|
||||
<string>As "C" &Arrays…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsPSML">
|
||||
<property name="text">
|
||||
<string>As PSML XML…</string>
|
||||
<string>As P&SML XML…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsPDML">
|
||||
<property name="text">
|
||||
<string>As PDML XML…</string>
|
||||
<string>As P&DML XML…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionFileExportAsJSON">
|
||||
<property name="text">
|
||||
<string>As JSON…</string>
|
||||
<string>As &JSON…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEditCopyDescription">
|
||||
|
@ -1453,7 +1453,7 @@
|
|||
</action>
|
||||
<action name="actionAnalyzeDisplayFilters">
|
||||
<property name="text">
|
||||
<string>Display Filters…</string>
|
||||
<string>Display &Filters…</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAnalyzeDisplayFilterMacros">
|
||||
|
@ -1529,7 +1529,7 @@
|
|||
</action>
|
||||
<action name="actionEditUnmarkAllDisplayed">
|
||||
<property name="text">
|
||||
<string>Unmark All Displayed</string>
|
||||
<string>&Unmark All Displayed</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Unmark all displayed packets</string>
|
||||
|
@ -1587,7 +1587,7 @@
|
|||
<string>Unignore All Displayed</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Unignore all displayed packets</string>
|
||||
<string>U&nignore all displayed packets</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string notr="true">Ctrl+Alt+D</string>
|
||||
|
@ -1672,7 +1672,7 @@
|
|||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Configuration Profiles…</string>
|
||||
<string>&Configuration Profiles…</string>
|
||||
</property>
|
||||
<property name="iconText">
|
||||
<string>Configuration profiles</string>
|
||||
|
@ -2151,7 +2151,7 @@
|
|||
</action>
|
||||
<action name="actionStatisticsConversations">
|
||||
<property name="text">
|
||||
<string>Conversations</string>
|
||||
<string>&Conversations</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Conversations at different protocol levels</string>
|
||||
|
@ -2159,7 +2159,7 @@
|
|||
</action>
|
||||
<action name="actionStatisticsEndpoints">
|
||||
<property name="text">
|
||||
<string>Endpoints</string>
|
||||
<string>&Endpoints</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Endpoints at different protocol levels</string>
|
||||
|
@ -2537,7 +2537,7 @@
|
|||
</action>
|
||||
<action name="actionViewInternalsConversationHashTables">
|
||||
<property name="text">
|
||||
<string>Conversation Hash Tables</string>
|
||||
<string>&Conversation Hash Tables</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Show each conversation hash table</string>
|
||||
|
@ -2545,7 +2545,7 @@
|
|||
</action>
|
||||
<action name="actionViewInternalsDissectorTables">
|
||||
<property name="text">
|
||||
<string>Dissector Tables</string>
|
||||
<string>&Dissector Tables</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Show each dissector table and its entries</string>
|
||||
|
@ -2553,7 +2553,7 @@
|
|||
</action>
|
||||
<action name="actionViewInternalsSupportedProtocols">
|
||||
<property name="text">
|
||||
<string>Supported Protocols</string>
|
||||
<string>&Supported Protocols</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Show the currently supported protocols and display filter fields</string>
|
||||
|
@ -2585,7 +2585,7 @@
|
|||
</action>
|
||||
<action name="actionTelephonyLteRlcGraph">
|
||||
<property name="text">
|
||||
<string>RLC Graph</string>
|
||||
<string>RLC &Graph</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>LTE RLC graph</string>
|
||||
|
@ -2879,7 +2879,7 @@
|
|||
</action>
|
||||
<action name="actionTelephonyIax2StreamAnalysis">
|
||||
<property name="text">
|
||||
<string>IAX2 Stream Analysis</string>
|
||||
<string>IA&X2 Stream Analysis</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>IAX2 Stream Analysis</string>
|
||||
|
@ -2930,7 +2930,7 @@
|
|||
</action>
|
||||
<action name="actionGoGoToLinkedPacket">
|
||||
<property name="text">
|
||||
<string>Go to Linked Packet</string>
|
||||
<string>Go to &Linked Packet</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Go to the packet referenced by the selected field.</string>
|
||||
|
|
Loading…
Reference in New Issue