summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-19 08:09:48 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-19 08:09:48 -0700
commitae05498d94337f42b396895be2745c4b22e4829a (patch)
treeb26754a4853371f6d6dd3e59acaa1f8ddf9ef41b /qt-ui/maintab.h
parent1298aa87e519addde0f5490b238395fcaf8b4e95 (diff)
parent55b998d528f53f5023b52bc674477b00668b400b (diff)
downloadsubsurface-ae05498d94337f42b396895be2745c4b22e4829a.tar.gz
Merge branch 'chooseEditMode' of https://github.com/tcanabrava/subsurface
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();