Configure divecomputers: add delegates for setpoint configuration

This adds delegates to simplify configuration of setpoint values in the
OSTC's.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2015-09-11 00:13:56 +02:00 committed by Dirk Hohndel
parent 444d0d6693
commit c0c4b5c4b3
3 changed files with 14 additions and 5 deletions

View file

@ -16,6 +16,7 @@ public:
enum column_type {
PERCENT,
DEPTH,
SETPOINT,
};
GasSpinBoxItemDelegate(QObject *parent = 0, column_type type = PERCENT);