aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/tab-widgets/maintab.h
diff options
context:
space:
mode:
authorGravatar willemferguson <willemferguson@zoology.up.ac.za>2019-11-11 12:52:01 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-11-11 20:19:22 +0100
commit08db77333b8a6fe7be71f30bf0d5ee15a6bf01f1 (patch)
tree2a9bced1558a24290e9ab725ef77759a7c15ef96 /desktop-widgets/tab-widgets/maintab.h
parent2fe1121b1c7493e7951a8f66ce5ac10d11331aa4 (diff)
downloadsubsurface-08db77333b8a6fe7be71f30bf0d5ee15a6bf01f1.tar.gz
Notes tab: Use top RH for depth and duretion fields
Currently the top righthand part of the notes tab is used for showing and editing air teperature and water temperature. But these fields were moved over to the Information tab and are not required in the Notes tab any more. Rather use this space for the depth and duration data for manually-entered dives. Currently extra vertical space is created in the Notes tab for showing this field, resulting in inefficient use of screen space and inelegant layout. This code moves the Duration and Depth fields into the top righthand of the Notes tab. Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Diffstat (limited to 'desktop-widgets/tab-widgets/maintab.h')
-rw-r--r--desktop-widgets/tab-widgets/maintab.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/desktop-widgets/tab-widgets/maintab.h b/desktop-widgets/tab-widgets/maintab.h
index e4994a231..f4e2bd6e1 100644
--- a/desktop-widgets/tab-widgets/maintab.h
+++ b/desktop-widgets/tab-widgets/maintab.h
@@ -62,10 +62,8 @@ slots:
void on_buddy_editingFinished();
void on_diveTripLocation_editingFinished();
void on_notes_editingFinished();
- void on_airtemp_editingFinished();
void on_duration_editingFinished();
void on_depth_editingFinished();
- void on_watertemp_editingFinished();
void on_dateEdit_dateChanged(const QDate &date);
void on_timeEdit_timeChanged(const QTime & time);
void on_rating_valueChanged(int value);
@@ -75,7 +73,6 @@ slots:
void closeWarning();
void displayMessage(QString str);
void enableEdition(EditMode newEditMode = NONE);
- void updateTextLabels(bool showUnits = true);
void escDetected(void);
private:
Ui::MainTab ui;