diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-11-28 09:17:30 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-11-28 15:28:15 -0800 |
commit | 3264255a7a2466f1a7d093cf3c26ae564e846472 (patch) | |
tree | 072fcd2db06419a82d8e2f67c91379e5b14235b7 /qt-ui/maintab.h | |
parent | c1102a38f359b9c155183a39fb059870d63e1d6d (diff) | |
download | subsurface-3264255a7a2466f1a7d093cf3c26ae564e846472.tar.gz |
Make it possible to hide some columns on the Cylinders Equipment pane.
This patch makes it possible to hide some columns on the Cylinders
Equipment pane. The 'remove' and 'type' are impossible to hide,
since they are the most important ones for a non-tech diver.
Fixes #281
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r-- | qt-ui/maintab.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index 233aa9439..5750fb378 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -51,6 +51,7 @@ public: enum EditMode { NONE, DIVE, TRIP, ADD, MANUALLY_ADDED_DIVE }; MainTab(QWidget *parent); + ~MainTab(); void clearStats(); void clearInfo(); void clearEquipment(); @@ -82,7 +83,7 @@ public slots: void editWeightWidget(const QModelIndex& index); void addDiveStarted(); void enableEdition(EditMode newEditMode = NONE); - + void toggleTriggeredColumn(); private: Ui::MainTab ui; WeightModel *weightModel; |