diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-08-28 07:48:46 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-08-28 07:48:46 -0300 |
commit | bb592028120ac1ccc41b663f2dd706cf65378776 (patch) | |
tree | 430efceb408a9b650d522896ea8a2aa64020cdde /qt-ui/diveplanner.h | |
parent | cfd17116ebe24ab547a9d375c6c47a260d6d8294 (diff) | |
download | subsurface-bb592028120ac1ccc41b663f2dd706cf65378776.tar.gz |
Made the TableViews share a bit of code, code cleanup.
Made the tableviews share a bit of code, and code cleanup.
The tableviews for Cylinders, Weigth and Dive Planner Points
now shares the CSS and I also implemented the save / load
methods for the dive planner points, so the functionality
is mostly done on the vieualization side. - since we are
now using three tables maybe it's a better idea to create
one class SubSurfaceTable that knows how to handle saving
/ loading of the columns... TODO for the future. ;)
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r-- | qt-ui/diveplanner.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h index 3cb3c7014..719aca853 100644 --- a/qt-ui/diveplanner.h +++ b/qt-ui/diveplanner.h @@ -183,6 +183,7 @@ private: class DivePlannerWidget : public QWidget { Q_OBJECT + void initialUiSetup(); public: explicit DivePlannerWidget(QWidget* parent = 0, Qt::WindowFlags f = 0); @@ -194,7 +195,8 @@ public slots: void gflowChanged(const QString& gflow); void gfhighChanged(const QString& gfhigh); void lastStopChanged(bool checked); - +protected: + virtual void hideEvent(QHideEvent* ); private: Ui::DivePlanner *ui; }; |