aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.h
diff options
context:
space:
mode:
authorGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:07:58 +0200
committerGravatar Jan Darowski <jan.darowski@gmail.com>2015-07-03 23:07:58 +0200
commit500fbe499411bfa96192626c8a6213916190aaae (patch)
tree2d10ae563e3f39173a622aa63054512175a7050b /qt-ui/diveplanner.h
parent2435d79c0e6e4e30ace3b23765005c90181ddae5 (diff)
downloadsubsurface-500fbe499411bfa96192626c8a6213916190aaae.tar.gz
VPM-B: add deco choice to the ui.
Removed recreational mode from ui and pref and replaced it with new deco_mode enum. Added radio button ui selection. Set default deco_mode to Buehlmann algorithm. Signed-off-by: Jan Darowski <jan.darowski@gmail.com>
Diffstat (limited to 'qt-ui/diveplanner.h')
-rw-r--r--qt-ui/diveplanner.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/diveplanner.h b/qt-ui/diveplanner.h
index 8c7ff9c46..c4210aadf 100644
--- a/qt-ui/diveplanner.h
+++ b/qt-ui/diveplanner.h
@@ -5,6 +5,7 @@
#include <QAbstractTableModel>
#include <QAbstractButton>
#include <QDateTime>
+#include <QSignalMapper>
#include "dive.h"
@@ -84,6 +85,7 @@ slots:
private:
Ui::plannerSettingsWidget ui;
void updateUnitsUI();
+ QSignalMapper *modeMapper;
};
#include "ui_plannerDetails.h"