mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Good deal of Code Cleanup for the maintab
Some cleanup was needed in the MainTab code for ages, now the Edition / Cancel / Ok of the Notes tab is way more intuitive on the code level. This is needed to support multidive edition on the Cylinders and Weigths too, since it's a bit more complicated, I didn't want to start with a Spaguetti Code. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
955c1c1fe5
commit
bcefa4baff
3 changed files with 91 additions and 153 deletions
|
|
@ -56,8 +56,8 @@ public slots:
|
|||
void addCylinder_clicked();
|
||||
void addWeight_clicked();
|
||||
void updateDiveInfo(int dive);
|
||||
void on_editAccept_clicked(bool edit);
|
||||
void on_editReset_clicked();
|
||||
void acceptChanges();
|
||||
void rejectChanges();
|
||||
void on_location_textChanged(const QString& text);
|
||||
void on_coordinates_textChanged(const QString& text);
|
||||
void on_divemaster_textChanged(const QString& text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue