mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Planner: New plannerSettingsWidget
In planner mode, this replaces the globe with the dive plan and introduces a new plannerSettingsWidget in the diveListPane. All new fields are still disfunctional. This is WIP. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1644be22ac
commit
708f19830e
7 changed files with 377 additions and 81 deletions
|
|
@ -143,6 +143,25 @@ private:
|
|||
Ui::DivePlanner ui;
|
||||
};
|
||||
|
||||
#include "ui_plannerSettings.h"
|
||||
|
||||
class PlannerSettingsWidget : public QWidget {
|
||||
Q_OBJECT
|
||||
public:
|
||||
explicit PlannerSettingsWidget(QWidget *parent = 0, Qt::WindowFlags f = 0);
|
||||
|
||||
public
|
||||
slots:
|
||||
void settingsChanged();
|
||||
void atmPressureChanged(const QString &pressure);
|
||||
void bottomSacChanged(const QString &bottomSac);
|
||||
void decoSacChanged(const QString &decosac);
|
||||
void printDecoPlan();
|
||||
|
||||
private:
|
||||
Ui::plannerSettingsWidget ui;
|
||||
};
|
||||
|
||||
QString dpGasToStr(const divedatapoint &p);
|
||||
|
||||
#endif // DIVEPLANNER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue