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.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h
index 98da412ef..afd06b529 100644
--- a/qt-ui/maintab.h
+++ b/qt-ui/maintab.h
@@ -26,6 +26,10 @@ struct NotesBackup{
QString divemaster;
};
+#define DIRK_EDIT_STYLE 0
+#define TEST_EDIT_STYLE 1
+#define EDIT_STYLE DIRK_EDIT_STYLE
+
class MainTab : public QTabWidget
{
Q_OBJECT
@@ -36,6 +40,8 @@ public:
void clearEquipment();
void reload();
+ bool eventFilter(QObject* , QEvent*);
+
public Q_SLOTS:
void on_addCylinder_clicked();
void on_editCylinder_clicked();