mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add alt based shortcuts to access menus
This adds alt-f shortcut to access file menu as well as other similar alt based shortcuts for other menu items. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
899f077abd
commit
1a4d098ef2
1 changed files with 48 additions and 30 deletions
|
@ -214,12 +214,12 @@
|
|||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>763</width>
|
||||
<height>18</height>
|
||||
<height>29</height>
|
||||
</rect>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuFile">
|
||||
<property name="title">
|
||||
<string>File</string>
|
||||
<string>&File</string>
|
||||
</property>
|
||||
<addaction name="actionNew"/>
|
||||
<addaction name="actionOpen"/>
|
||||
|
@ -239,11 +239,11 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuLog">
|
||||
<property name="title">
|
||||
<string>Log</string>
|
||||
<string>&Log</string>
|
||||
</property>
|
||||
<widget class="QMenu" name="menuDownloads">
|
||||
<property name="title">
|
||||
<string>Downloads/Uploads</string>
|
||||
<string>&Downloads/Uploads</string>
|
||||
</property>
|
||||
<addaction name="actionDownloadDC"/>
|
||||
<addaction name="actionDownloadWeb"/>
|
||||
|
@ -262,7 +262,7 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuView">
|
||||
<property name="title">
|
||||
<string>View</string>
|
||||
<string>&View</string>
|
||||
</property>
|
||||
<addaction name="actionViewAll"/>
|
||||
<addaction name="actionViewList"/>
|
||||
|
@ -277,13 +277,13 @@
|
|||
</widget>
|
||||
<widget class="QMenu" name="menuFilter">
|
||||
<property name="title">
|
||||
<string>Filter</string>
|
||||
<string>F&ilter</string>
|
||||
</property>
|
||||
<addaction name="actionSelectEvents"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuHelp">
|
||||
<property name="title">
|
||||
<string>Help</string>
|
||||
<string>&Help</string>
|
||||
</property>
|
||||
<addaction name="actionAboutSubsurface"/>
|
||||
<addaction name="actionUserManual"/>
|
||||
|
@ -296,6 +296,9 @@
|
|||
</widget>
|
||||
<action name="actionNew">
|
||||
<property name="text">
|
||||
<string>&New</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>New</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
|
@ -304,6 +307,9 @@
|
|||
</action>
|
||||
<action name="actionOpen">
|
||||
<property name="text">
|
||||
<string>&Open</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Open</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
|
@ -312,6 +318,9 @@
|
|||
</action>
|
||||
<action name="actionSave">
|
||||
<property name="text">
|
||||
<string>&Save</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Save</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
|
@ -320,6 +329,9 @@
|
|||
</action>
|
||||
<action name="actionSaveAs">
|
||||
<property name="text">
|
||||
<string>Save &as</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Save as</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
|
@ -328,6 +340,9 @@
|
|||
</action>
|
||||
<action name="actionClose">
|
||||
<property name="text">
|
||||
<string>&Close</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Close</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
|
@ -336,7 +351,10 @@
|
|||
</action>
|
||||
<action name="actionImport">
|
||||
<property name="text">
|
||||
<string>Import Files</string>
|
||||
<string>&Import Files</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>&Import Files</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+I</string>
|
||||
|
@ -344,12 +362,12 @@
|
|||
</action>
|
||||
<action name="actionExportUDDF">
|
||||
<property name="text">
|
||||
<string>Export UDDF</string>
|
||||
<string>Export &UDDF</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionPrint">
|
||||
<property name="text">
|
||||
<string>Print</string>
|
||||
<string>&Print</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+P</string>
|
||||
|
@ -357,12 +375,12 @@
|
|||
</action>
|
||||
<action name="actionPreferences">
|
||||
<property name="text">
|
||||
<string>Preferences</string>
|
||||
<string>Pr&eferences</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionQuit">
|
||||
<property name="text">
|
||||
<string>Quit</string>
|
||||
<string>&Quit</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+Q</string>
|
||||
|
@ -370,7 +388,7 @@
|
|||
</action>
|
||||
<action name="actionDownloadDC">
|
||||
<property name="text">
|
||||
<string>Dive computer</string>
|
||||
<string>Dive &computer</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+D</string>
|
||||
|
@ -378,22 +396,22 @@
|
|||
</action>
|
||||
<action name="actionDownloadWeb">
|
||||
<property name="text">
|
||||
<string>Subsurface Service</string>
|
||||
<string>&Subsurface Service</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionEditDeviceNames">
|
||||
<property name="text">
|
||||
<string>Edit Device Names</string>
|
||||
<string>&Edit Device Names</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAddDive">
|
||||
<property name="text">
|
||||
<string>Add Dive</string>
|
||||
<string>&Add Dive</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionRenumber">
|
||||
<property name="text">
|
||||
<string>Renumber</string>
|
||||
<string>&Renumber</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionAutoGroup">
|
||||
|
@ -401,22 +419,22 @@
|
|||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Auto Group</string>
|
||||
<string>Auto &Group</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionToggleZoom">
|
||||
<property name="text">
|
||||
<string>Toggle Zoom</string>
|
||||
<string>Toggle &Zoom</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionYearlyStatistics">
|
||||
<property name="text">
|
||||
<string>Yearly Statistics</string>
|
||||
<string>&Yearly Statistics</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionViewList">
|
||||
<property name="text">
|
||||
<string>View List</string>
|
||||
<string>View &List</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+2</string>
|
||||
|
@ -424,7 +442,7 @@
|
|||
</action>
|
||||
<action name="actionViewProfile">
|
||||
<property name="text">
|
||||
<string>View Profile</string>
|
||||
<string>View &Profile</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+3</string>
|
||||
|
@ -432,7 +450,7 @@
|
|||
</action>
|
||||
<action name="actionViewInfo">
|
||||
<property name="text">
|
||||
<string>View Info</string>
|
||||
<string>View &Info</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+4</string>
|
||||
|
@ -440,7 +458,7 @@
|
|||
</action>
|
||||
<action name="actionViewAll">
|
||||
<property name="text">
|
||||
<string>View All</string>
|
||||
<string>View &All</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>Ctrl+1</string>
|
||||
|
@ -464,7 +482,7 @@
|
|||
</action>
|
||||
<action name="actionSelectEvents">
|
||||
<property name="text">
|
||||
<string>Select Events</string>
|
||||
<string>&Select Events</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionInputPlan">
|
||||
|
@ -474,12 +492,12 @@
|
|||
</action>
|
||||
<action name="actionAboutSubsurface">
|
||||
<property name="text">
|
||||
<string>About Subsurface</string>
|
||||
<string>&About Subsurface</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionUserManual">
|
||||
<property name="text">
|
||||
<string>User Manual</string>
|
||||
<string>User &Manual</string>
|
||||
</property>
|
||||
<property name="shortcut">
|
||||
<string>F1</string>
|
||||
|
@ -495,7 +513,7 @@
|
|||
</action>
|
||||
<action name="actionDivePlanner">
|
||||
<property name="text">
|
||||
<string>Dive Planner</string>
|
||||
<string>&Dive Planner</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionImportCSV">
|
||||
|
@ -503,12 +521,12 @@
|
|||
<string>Import CSV</string>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Import CSV</string>
|
||||
<string>Import CS&V</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="actionDivelogs_de">
|
||||
<property name="text">
|
||||
<string>Divelogs.de</string>
|
||||
<string>&Divelogs.de</string>
|
||||
</property>
|
||||
</action>
|
||||
</widget>
|
||||
|
|
Loading…
Add table
Reference in a new issue