aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
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/diveplanner.h
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/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
new file mode 100644
index 000000000..9a7d0859f
--- /dev/null
+++ b/qt-ui/diveplanner.h
@@ -0,0 +1,14 @@
+#ifndef DIVEPLANNER_H
+#define DIVEPLANNER_H
+
+#include <QGraphicsView>
+#include <QGraphicsPathItem>
+
+class DivePlanner : public QGraphicsView {
+ Q_OBJECT
+public:
+ static DivePlanner *instance();
+private:
+ DivePlanner(QWidget* parent = 0);
+};
+#endif