diff options
author | Willem Ferguson <willemferguson@zoology.up.ac.za> | 2019-11-10 13:09:19 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-10 13:10:03 -0800 |
commit | 7a4abd7477dc2a4f8e52f7bb00c19890c6ec2ca2 (patch) | |
tree | 6c11b1d41b52307de8c396a4d1e94d7f3b06c410 /desktop-widgets/tab-widgets/TabDiveInformation.h | |
parent | dc95b077d96fbbd2dc71213217c24cd1eea5ea51 (diff) | |
download | subsurface-7a4abd7477dc2a4f8e52f7bb00c19890c6ec2ca2.tar.gz |
Reorganise the Information tab of the Info panel
1) Reorganise the existing widgets in the Information tab
2) Move divemode widget and visibility widget from Notes tab to
Information tab
3) Translate water density to a word indicating water type
4) Reorganise the Notes tab to compensate for the moving the
divemode and visibility widgets to the Information tab
5) Remove the problems in showing a QGroupBox in Qt Windows. I do
this by removing the CSS specifying border characteristics
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/tab-widgets/TabDiveInformation.h')
-rw-r--r-- | desktop-widgets/tab-widgets/TabDiveInformation.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/desktop-widgets/tab-widgets/TabDiveInformation.h b/desktop-widgets/tab-widgets/TabDiveInformation.h index 5305f4146..8b38797c3 100644 --- a/desktop-widgets/tab-widgets/TabDiveInformation.h +++ b/desktop-widgets/tab-widgets/TabDiveInformation.h @@ -18,8 +18,10 @@ public: void clear() override; private slots: void divesChanged(const QVector<dive *> &dives, DiveField field); + void diveModeChanged(int index); void on_atmPressVal_editingFinished(); void on_atmPressType_currentIndexChanged(int index); + void on_visibility_valueChanged(int value); private: Ui::TabDiveInformation *ui; void updateProfile(); @@ -27,6 +29,9 @@ private: void updateWhen(); int pressTypeIndex; void updateTextBox(int event); + void updateMode(struct dive *d); + void divesEdited(int); + void closeWarning(); }; #endif |