summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-26 08:43:37 -0300
committerGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-08-26 08:43:37 -0300
commit0a043528f72a47b14cfe3708a8f133a29ad17d55 (patch)
tree80f88141bd2f9a9264ce48735f26c74446040074 /qt-ui/diveplanner.h
parent2fb2918607ffb857543b9060fd9f18f0d07ab780 (diff)
downloadsubsurface-0a043528f72a47b14cfe3708a8f133a29ad17d55.tar.gz
Added a new widget to control the Planner
Added a new widget to control the DivePlanner, now we have two widgets, a graphics one and a qt sidget based one. the Technical divers will most likely use the QtWidget one while the hobbists will most likely use the QGraphicsView one. there's not a option to choose one, they both will appear at the same time. Next step: make the screens to work. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 2239e013d..fa3f83766 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -5,6 +5,10 @@
#include <QGraphicsPathItem>
#include <QDialog>
+namespace Ui{
+ class DivePlanner;
+};
+
class QListView;
class QStringListModel;
class QModelIndex;
@@ -145,4 +149,12 @@ private:
int dpMaxTime; // this is the time of the dive calculated by the deco.
};
+class DivePlannerWidget : public QWidget {
+ Q_OBJECT
+public:
+ explicit DivePlannerWidget(QWidget* parent = 0, Qt::WindowFlags f = 0);
+private:
+ Ui::DivePlanner *ui;
+};
+
#endif