summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h7
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;