diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-22 09:17:18 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-05-22 09:17:18 -0300 |
commit | df57b657fdcc1ac4ff9cf7bdb81e0c7a575f7b3b (patch) | |
tree | 7168122687d32c914f70261fb60fc113698c0806 /qt-ui/maintab.h | |
parent | 003729bde6d88ed59ee0ce088e78b3953a670847 (diff) | |
download | subsurface-df57b657fdcc1ac4ff9cf7bdb81e0c7a575f7b3b.tar.gz |
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>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r-- | qt-ui/maintab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index c571df086..2bdb63fbc 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -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 |