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 <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-11-19 20:06:07 -02:00 committed by Dirk Hohndel
parent c7941f66b4
commit f5be24609a
2 changed files with 3 additions and 56 deletions

View file

@ -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;