mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rework on the Equipment tab to make it look more Modern.
Note that this is a WIP and it does break functionality - ie, not possible to add Equipments, but this will be fixed in the next commit. Removed add / edit / remove buttons, only a single '+' icon appears on the widget now. the edit / delete will be done in place. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
parent
003729bde6
commit
df57b657fd
5 changed files with 69 additions and 146 deletions
|
@ -38,6 +38,8 @@ public:
|
|||
void reload();
|
||||
|
||||
bool eventFilter(QObject* , QEvent*);
|
||||
virtual void resizeEvent(QResizeEvent* );
|
||||
virtual void showEvent(QShowEvent* );
|
||||
|
||||
public Q_SLOTS:
|
||||
void on_addCylinder_clicked();
|
||||
|
@ -63,6 +65,8 @@ private:
|
|||
CylindersModel *cylindersModel;
|
||||
NotesBackup notesBackup;
|
||||
struct dive* currentDive;
|
||||
QPushButton *addCylinder;
|
||||
QPushButton *addWeight;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue