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>
This commit is contained in:
willemferguson 2019-11-11 12:52:01 +02:00 committed by Dirk Hohndel
parent 2fe1121b1c
commit 08db77333b
3 changed files with 84 additions and 100 deletions

View file

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