From 3264255a7a2466f1a7d093cf3c26ae564e846472 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Thu, 28 Nov 2013 09:17:30 -0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/maintab.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qt-ui/maintab.h') 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; -- cgit v1.2.3-70-g09d2