summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
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