diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index cfc1b8d54..39ec9fbc2 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -462,6 +462,13 @@ void ConfigureDiveComputerDialog::on_DiveComputerList_currentRowChanged(int curr selected_vendor = "Heinrichs Weikamp"; selected_product = "OSTC 3"; break; + case 1: + selected_vendor = "Suunto"; + selected_product = "Vyper"; + break; + default: + /* Not Supported */ + return; } int dcType = DC_TYPE_SERIAL; diff --git a/qt-ui/configuredivecomputerdialog.ui b/qt-ui/configuredivecomputerdialog.ui index 2a2d89bed..94390e9e7 100644 --- a/qt-ui/configuredivecomputerdialog.ui +++ b/qt-ui/configuredivecomputerdialog.ui @@ -17,7 +17,7 @@ - + Device or mount point @@ -160,12 +160,20 @@ :/icons/ostc3.png:/icons/ostc3.png + + + Suunto Vyper Family + + - + + 1 + + - + 0 @@ -175,7 +183,7 @@ - + Serial No. @@ -186,13 +194,19 @@ + + + 1 + 0 + + true - + Firmware version @@ -209,7 +223,7 @@ - + Custom text @@ -229,7 +243,7 @@ - + Language @@ -297,7 +311,7 @@ - + Date format @@ -326,7 +340,7 @@ - + Saturation @@ -343,7 +357,7 @@ - + Desaturation @@ -360,7 +374,7 @@ - + Last deco @@ -377,7 +391,7 @@ - + Brightness @@ -406,7 +420,7 @@ - + Sampling rate @@ -430,7 +444,7 @@ - + Units @@ -454,7 +468,7 @@ - + Dive mode color @@ -488,7 +502,7 @@ - + Salinity (0-5%) @@ -593,7 +607,7 @@ Gas settings - + @@ -845,6 +859,382 @@ + + + + + + 0 + + + + Basic settings + + + + + + + 1 + 0 + + + + true + + + 200 + + + + + + + Safety level + + + + + + + + A0 (0m - 300m) + + + + + A1 (300m - 1500m) + + + + + A2 (1500m - 3000m) + + + + + + + + Altitude range + + + + + + + Model + + + + + + + + 1 + 0 + + + + 30 + + + + + + + Number of dives + + + + + + + Qt::Vertical + + + + 0 + 0 + + + + + + + + Serial No. + + + serialNoLineEdit_1 + + + + + + + + 1 + 0 + + + + true + + + + + + + Firmware version + + + firmwareVersionLineEdit_1 + + + + + + + true + + + + + + + Max depth + + + + + + + true + + + 5000 + + + + + + + Custom text + + + customTextLlineEdit_1 + + + + + + + + Air + + + + + Nitrox + + + + + Gauge + + + + + + + + + P0 (none) + + + + + P1 (some) + + + + + P2 (much) + + + + + + + + Sample rate + + + + + + + + 10s + + + + + 20s + + + + + 30s + + + + + 60s + + + + + + + + Total divetime + + + + + + + Computer model + + + + + + + true + + + + + + + true + + + min + + + 0 + + + 5000000 + + + + + + + + 24h + + + + + 12h + + + + + + + + Time format + + + + + + + Units + + + + + + + + Imperial + + + + + Metric + + + + + + + + false + + + s + + + + + + + Light + + + + + + + false + + + 200.000000000000000 + + + + + + + Depth alarm + + + + + + + false + + + min + + + 999 + + + + + + + Time alarm + + + + + + + + + @@ -887,12 +1277,60 @@ setCurrentIndex(int) - 258 - 130 + 20 + 20 - 292 - 118 + 20 + 20 + + + + + lightCheckBox + toggled(bool) + lightSpinBox + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + alarmDepthCheckBox + toggled(bool) + alarmDepthDoubleSpinBox + setEnabled(bool) + + + 20 + 20 + + + 20 + 20 + + + + + alarmTimeCheckBox + toggled(bool) + alarmTimeSpinBox + setEnabled(bool) + + + 20 + 20 + + + 20 + 20