diff options
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r-- | qt-ui/maintab.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 38d01e806..124bcff7e 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -40,6 +40,10 @@ public: bool eventFilter(QObject* , QEvent*); virtual void resizeEvent(QResizeEvent*); virtual void showEvent(QShowEvent*); + virtual void hideEvent(QHideEvent* ); + + void initialUiSetup(); + public Q_SLOTS: void addCylinder_clicked(); @@ -63,6 +67,7 @@ private: struct dive* currentDive; QPushButton *addCylinder; QPushButton *addWeight; + enum { NONE, DIVE, TRIP } editMode; }; #endif |