summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 08:47:41 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-22 08:47:41 -0700
commit9946fe97c0d0bf774473238170fce05bcac4fc1e (patch)
treeea8d02743863210667e7b05284e072d9328a7a4e /qt-ui/maintab.h
parentd8673f986703439ceee6b037c14ff10526e6714a (diff)
parent75956f0f9149d7483ce0771df682d90e2fc9b923 (diff)
downloadsubsurface-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.h8
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