diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-21 12:12:31 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-21 12:12:31 -0300 |
commit | 9dde9b3d4cb1d96eae8f42ac9d7f6361d5702c95 (patch) | |
tree | 75bb46caa2a5f9f0a00eac24116fc5b75b0a0026 /qt-ui/diveplanner.h | |
parent | b36dfc7c4fce4b7b452ee352a866d340c19ff479 (diff) | |
download | subsurface-9dde9b3d4cb1d96eae8f42ac9d7f6361d5702c95.tar.gz |
Added the current gas used on the planner
Added the current gas used on the planner, now it's a matter
of choosing the new gas, that will be done in the next commit.e
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index b1da61cac..cab3773e8 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -28,7 +28,6 @@ public: int mm; protected: void mousePressEvent(QGraphicsSceneMouseEvent* event); - }; class Ruler : public QGraphicsLineItem{ @@ -97,6 +96,12 @@ private: /* This is the user-entered handles. */ QList<DiveHandler *> handles; + /* this is the user-entered gases. + This must be a button, so the + user cna click to choose a new gas. + */ + QList<Button*> gases; + /* those are the lines that follows the mouse. */ QGraphicsLineItem *verticalLine; QGraphicsLineItem *horizontalLine; |