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:
Robert C. Helling 2014-06-10 17:40:02 +02:00 committed by Dirk Hohndel
parent 1644be22ac
commit 708f19830e
7 changed files with 377 additions and 81 deletions

View file

@ -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