mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
cfd17116eb
commit
bb59202812
5 changed files with 57 additions and 62 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue