summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.cpp
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-20 12:33:26 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-06-20 12:33:26 -0300
commitbeadeffaf51f59a5d587861121f371c14d5dcaff (patch)
tree7387aeb2387adbbaf2abdab3ae3e230ffe830995 /qt-ui/mainwindow.cpp
parent88f0f604392a354c18cba5d2959519b176b0d919 (diff)
downloadsubsurface-beadeffaf51f59a5d587861121f371c14d5dcaff.tar.gz
Added the first scope of the visual dive planner.
Added the first files and skeleton code for the visual dive planner. now I need to fill things. The code is using the print action borrowed, this will need to move to a better choice in the future. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.cpp')
-rw-r--r--qt-ui/mainwindow.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.cpp b/qt-ui/mainwindow.cpp
index 06e6b7734..75fb21a64 100644
--- a/qt-ui/mainwindow.cpp
+++ b/qt-ui/mainwindow.cpp
@@ -32,6 +32,7 @@
#include "subsurfacewebservices.h"
#include "divecomputermanagementdialog.h"
#include "simplewidgets.h"
+#include "diveplanner.h"
static MainWindow* instance = 0;
@@ -178,6 +179,8 @@ void MainWindow::on_actionExportUDDF_triggered()
void MainWindow::on_actionPrint_triggered()
{
+ // hijacking the print action for a while.
+ DivePlanner::instance()->show();
qDebug("actionPrint");
}