mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow editing of date & time and air & water temperatures
Add two more rows to the widget - this is getting quite busy. There still is some weirdness where the focus isn't returned where it should be and a few other details, but overall getting there. Added helper functions to parse a temperature and to deal with the timezone offset - with that latter one I also fixed the time offset bug in the planner. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
acd3599548
commit
a8888eaf26
6 changed files with 154 additions and 22 deletions
|
@ -21,6 +21,9 @@ namespace Ui
|
|||
}
|
||||
|
||||
struct NotesBackup{
|
||||
QString airtemp;
|
||||
QString watertemp;
|
||||
QString datetime;
|
||||
QString location;
|
||||
QString coordinates;
|
||||
degrees_t latitude;
|
||||
|
@ -64,6 +67,9 @@ public slots:
|
|||
void on_buddy_textChanged(const QString& text);
|
||||
void on_suit_textChanged(const QString& text);
|
||||
void on_notes_textChanged();
|
||||
void on_airtemp_textChanged(const QString& text);
|
||||
void on_watertemp_textChanged(const QString& text);
|
||||
void on_dateTimeEdit_dateTimeChanged(const QDateTime& datetime);
|
||||
void on_rating_valueChanged(int value);
|
||||
void on_visibility_valueChanged(int value);
|
||||
void editCylinderWidget(const QModelIndex& index);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue