aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/mainwindow.cpp8
-rw-r--r--qt-ui/mainwindow.ui23
2 files changed, 22 insertions, 9 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 53469dc86..f29c82588 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -207,8 +207,6 @@ void MainWindow::on_actionYearlyStatistics_triggered()
void MainWindow::on_actionViewList_triggered()
{
- qDebug("actionViewList");
-
ui->InfoWidget->setVisible(false);
ui->ListWidget->setVisible(true);
ui->ProfileWidget->setVisible(false);
@@ -216,8 +214,6 @@ void MainWindow::on_actionViewList_triggered()
void MainWindow::on_actionViewProfile_triggered()
{
- qDebug("actionViewProfile");
-
ui->InfoWidget->setVisible(false);
ui->ListWidget->setVisible(false);
ui->ProfileWidget->setVisible(true);
@@ -225,8 +221,6 @@ void MainWindow::on_actionViewProfile_triggered()
void MainWindow::on_actionViewInfo_triggered()
{
- qDebug("actionViewInfo");
-
ui->InfoWidget->setVisible(true);
ui->ListWidget->setVisible(false);
ui->ProfileWidget->setVisible(false);
@@ -234,8 +228,6 @@ void MainWindow::on_actionViewInfo_triggered()
void MainWindow::on_actionViewAll_triggered()
{
- qDebug("actionViewAll");
-
ui->InfoWidget->setVisible(true);
ui->ListWidget->setVisible(true);
ui->ProfileWidget->setVisible(true);
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">