From f5be24609ab0c35bca54c74b1371e047260cbad4 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Tue, 19 Nov 2013 20:06:07 -0200 Subject: Removed obsolete Code ( gaslist on text click ) This commit removes obsolete code, there was a gaslist selection when user clicked on the buttons, but this shouldn't be anymore, since the next commit will add a menu to select the gas for that particular point. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/diveplanner.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'qt-ui/diveplanner.h') 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 handles; - - /* this is the user-entered gases. - This must be a button, so the - user cna click to choose a new gas. - */ - QList gases; - QListView *gasListView; - QStringListModel *gasChoices; - Button *currentGasChoice; + QList gases; /* those are the lines that follows the mouse. */ QGraphicsLineItem *verticalLine; -- cgit v1.2.3-70-g09d2