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.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 1d15fb766..dc050a04b 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -175,11 +175,8 @@ private slots:
void decreaseTime();
void decreaseDepth();;
void drawProfile();
- void prepareSelectGas();
- void selectGas(const QModelIndex& index);
void pointInserted(const QModelIndex&, int start, int end);
void pointsRemoved(const QModelIndex&, int start, int end);
- bool eventFilter(QObject *object, QEvent* event);
private:
void moveActiveHandler(const QPointF& MappedPos, const int pos);
@@ -188,15 +185,7 @@ 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;
- QListView *gasListView;
- QStringListModel *gasChoices;
- Button *currentGasChoice;
+ QList<QGraphicsSimpleTextItem*> gases;
/* those are the lines that follows the mouse. */
QGraphicsLineItem *verticalLine;