diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-11-14 19:55:33 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-15 08:58:35 +0900 |
commit | bc6a1a4c53ceaf5797c8879ec3e157fe745a7b8d (patch) | |
tree | c553e226ad1c8e18e45f5f7bf7a4bbd781b95938 /qt-ui/diveplanner.h | |
parent | 2d8cd443702c5155bda12b711b9ab5d0f99104da (diff) | |
download | subsurface-bc6a1a4c53ceaf5797c8879ec3e157fe745a7b8d.tar.gz |
Planner: use a QSpinBox for GFLow/GFHigh
Switch to using a QSpinBox instead of a QLineEdit. This makes it a bit
more intuitive and now you can see how the deco plan changes based on
the GF's.
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 8f51c932c..e59fd556c 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -51,8 +51,8 @@ public: public slots: int addStop(int meters = 0, int minutes = 0, int o2 = 0, int he = 0, int ccpoint = 0 ); void addCylinder_clicked(); - void setGFHigh(short gfhigh); - void setGFLow(short ghflow); + void setGFHigh(const int gfhigh); + void setGFLow(const int ghflow); void setSurfacePressure(int pressure); void setBottomSac(int sac); void setDecoSac(int sac); @@ -227,8 +227,6 @@ public slots: void atmPressureChanged(const QString& pressure); void bottomSacChanged(const QString& bottomSac); void decoSacChanged(const QString& decosac); - void gflowChanged(const QString& gflow); - void gfhighChanged(const QString& gfhigh); void lastStopChanged(bool checked); private: Ui::DivePlanner ui; |