diff options
author | Amit Chaudhuri <amit.k.chaudhuri@gmail.com> | 2013-05-06 09:12:53 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-06 06:12:53 -0700 |
commit | baee8975747e8a4944b377b53a554560f292a881 (patch) | |
tree | db8b6b2f195ee68e6297f103886ac8c4cbafd0b0 /qt-ui/mainwindow.ui | |
parent | f07614fb2f55644a6124b0e837d2776afadee113 (diff) | |
download | subsurface-baee8975747e8a4944b377b53a554560f292a881.tar.gz |
Add various keyboard shortcuts.
Add shortcuts to match GTK version for view menu items and the log menu
so that e.g. Ctrl+1 selects the list view.
Remove debug statements from the view functions. Leave in place for
functions with no obvious actions yet coded.
Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r-- | qt-ui/mainwindow.ui | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui index 7dfbae746..476b124e8 100644 --- a/qt-ui/mainwindow.ui +++ b/qt-ui/mainwindow.ui @@ -88,7 +88,7 @@ <x>0</x> <y>0</y> <width>763</width> - <height>25</height> + <height>20</height> </rect> </property> <widget class="QMenu" name="menuFile"> @@ -240,6 +240,9 @@ <property name="text"> <string>Download from Dive computer</string> </property> + <property name="shortcut"> + <string>Ctrl+D</string> + </property> </action> <action name="actionDownloadWeb"> <property name="text"> @@ -280,31 +283,49 @@ <property name="text"> <string>View List</string> </property> + <property name="shortcut"> + <string>Ctrl+1</string> + </property> </action> <action name="actionViewProfile"> <property name="text"> <string>View Profile</string> </property> + <property name="shortcut"> + <string>Ctrl+2</string> + </property> </action> <action name="actionViewInfo"> <property name="text"> <string>View Info</string> </property> + <property name="shortcut"> + <string>Ctrl+3</string> + </property> </action> <action name="actionViewAll"> <property name="text"> <string>View All</string> </property> + <property name="shortcut"> + <string>Ctrl+4</string> + </property> </action> <action name="actionPreviousDC"> <property name="text"> <string>Prev DC</string> </property> + <property name="shortcut"> + <string>Ctrl+Shift+C</string> + </property> </action> <action name="actionNextDC"> <property name="text"> <string>Next DC</string> </property> + <property name="shortcut"> + <string>Ctrl+C</string> + </property> </action> <action name="actionSelectEvents"> <property name="text"> |