diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 08:47:41 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 08:47:41 -0700 |
commit | 9946fe97c0d0bf774473238170fce05bcac4fc1e (patch) | |
tree | ea8d02743863210667e7b05284e072d9328a7a4e /qt-ui/maintab.h | |
parent | d8673f986703439ceee6b037c14ff10526e6714a (diff) | |
parent | 75956f0f9149d7483ce0771df682d90e2fc9b923 (diff) | |
download | subsurface-9946fe97c0d0bf774473238170fce05bcac4fc1e.tar.gz |
Merge branch 'randomFixes' of https://github.com/tcanabrava/subsurface
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r-- | qt-ui/maintab.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index c571df086..4b10e7a6b 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -38,12 +38,14 @@ public: void reload(); bool eventFilter(QObject* , QEvent*); + virtual void resizeEvent(QResizeEvent* ); + virtual void showEvent(QShowEvent* ); public Q_SLOTS: - void on_addCylinder_clicked(); + void addCylinder_clicked(); void on_editCylinder_clicked(); void on_delCylinder_clicked(); - void on_addWeight_clicked(); + void addWeight_clicked(); void on_editWeight_clicked(); void on_delWeight_clicked(); void updateDiveInfo(int dive); @@ -63,6 +65,8 @@ private: CylindersModel *cylindersModel; NotesBackup notesBackup; struct dive* currentDive; + QPushButton *addCylinder; + QPushButton *addWeight; }; #endif |