diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-09-03 14:20:19 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-30 10:36:49 -0700 |
commit | e49d6213ad129284a45d53c3fcdc03249e84efe2 (patch) | |
tree | 2946a666ab38af3375e7bb2b8c5dd887d4a7f9a1 /qt-ui/preferences.ui | |
parent | 588abd019fb2ed3f607682f2b6c7fe86a7a5bb90 (diff) | |
download | subsurface-e49d6213ad129284a45d53c3fcdc03249e84efe2.tar.gz |
Move qt-ui to desktop-widgets
Since we have now destkop and mobile versions, 'qt-ui' was a very
poor name choice for a folder that contains only destkop-enabled
widgets.
Also, move the graphicsview-common.h/cpp to subsurface-core because
it doesn't depend on qgraphicsview, it merely implements all the
colors that we use throughout Subsurface, and we will use colors on both
desktop and mobile versions
Same thing applies for metrics.h/cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.ui')
-rw-r--r-- | qt-ui/preferences.ui | 1883 |
1 files changed, 0 insertions, 1883 deletions
diff --git a/qt-ui/preferences.ui b/qt-ui/preferences.ui deleted file mode 100644 index de2d79b91..000000000 --- a/qt-ui/preferences.ui +++ /dev/null @@ -1,1883 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<ui version="4.0"> - <class>PreferencesDialog</class> - <widget class="QDialog" name="PreferencesDialog"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>711</width> - <height>662</height> - </rect> - </property> - <property name="windowTitle"> - <string>Preferences</string> - </property> - <property name="windowIcon"> - <iconset> - <normalon>:/subsurface-icon</normalon> - </iconset> - </property> - <layout class="QVBoxLayout" name="verticalLayout_2"> - <property name="margin"> - <number>5</number> - </property> - <item> - <layout class="QHBoxLayout" name="mainHorizontalLayout"> - <item> - <widget class="QListWidget" name="listWidget"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Minimum" vsizetype="Expanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>120</width> - <height>0</height> - </size> - </property> - <property name="maximumSize"> - <size> - <width>120</width> - <height>16777215</height> - </size> - </property> - <property name="iconSize"> - <size> - <width>24</width> - <height>24</height> - </size> - </property> - <property name="textElideMode"> - <enum>Qt::ElideNone</enum> - </property> - <property name="movement"> - <enum>QListView::Static</enum> - </property> - <property name="isWrapping" stdset="0"> - <bool>true</bool> - </property> - <property name="layoutMode"> - <enum>QListView::Batched</enum> - </property> - <property name="spacing"> - <number>0</number> - </property> - <property name="gridSize"> - <size> - <width>110</width> - <height>40</height> - </size> - </property> - <property name="viewMode"> - <enum>QListView::ListMode</enum> - </property> - <property name="uniformItemSizes"> - <bool>true</bool> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - <property name="currentRow"> - <number>-1</number> - </property> - <item> - <property name="text"> - <string>Defaults</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/subsurface-icon</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> - <string>Units</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/units</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> - <string>Graph</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/graph</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> - <string>Language</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/advanced</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> - <string>Network</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/network</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> - <string>Facebook</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/facebook</normalon> - </iconset> - </property> - </item> - <item> - <property name="text"> - <string>Georeference</string> - </property> - <property name="icon"> - <iconset> - <normalon>:/georeference</normalon> - </iconset> - </property> - </item> - </widget> - </item> - <item> - <widget class="QStackedWidget" name="stackedWidget"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="currentIndex"> - <number>4</number> - </property> - <widget class="QWidget" name="defaults_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="groupBox_2"> - <property name="title"> - <string>Lists and tables</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_11"> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QLabel" name="label_7"> - <property name="text"> - <string>Font</string> - </property> - </widget> - </item> - <item> - <widget class="QFontComboBox" name="font"/> - </item> - <item> - <widget class="QLabel" name="label_8"> - <property name="text"> - <string>Font size</string> - </property> - </widget> - </item> - <item> - <widget class="QDoubleSpinBox" name="fontsize"/> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_3"> - <property name="title"> - <string>Dives</string> - </property> - <layout class="QFormLayout" name="formLayout"> - <property name="horizontalSpacing"> - <number>5</number> - </property> - <property name="verticalSpacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item row="0" column="0"> - <widget class="QLabel" name="defaultDiveLogFileLabel"> - <property name="text"> - <string>Default dive log file</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <layout class="QHBoxLayout" name="defaultFileBehaviorLayout"> - <item> - <widget class="QRadioButton" name="noDefaultFile"> - <property name="text"> - <string>No default file</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">defaultFileGroup</string> - </attribute> - </widget> - </item> - <item> - <widget class="QRadioButton" name="localDefaultFile"> - <property name="text"> - <string>&Local default file</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">defaultFileGroup</string> - </attribute> - </widget> - </item> - <item> - <widget class="QRadioButton" name="cloudDefaultFile"> - <property name="text"> - <string>Clo&ud storage default file</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">defaultFileGroup</string> - </attribute> - </widget> - </item> - </layout> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_9"> - <property name="text"> - <string>Local dive log file</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_3b"> - <item> - <widget class="QLineEdit" name="defaultfilename"/> - </item> - <item> - <widget class="QToolButton" name="btnUseDefaultFile"> - <property name="text"> - <string>Use default</string> - </property> - <property name="checkable"> - <bool>true</bool> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="chooseFile"> - <property name="text"> - <string>...</string> - </property> - </widget> - </item> - </layout> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_10"> - <property name="text"> - <string>Display invalid</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="displayinvalid"> - <property name="text"> - <string/> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_6"> - <property name="title"> - <string>Default cylinder</string> - </property> - <layout class="QFormLayout" name="formLayout_6"> - <property name="horizontalSpacing"> - <number>5</number> - </property> - <property name="verticalSpacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item row="0" column="0"> - <widget class="QLabel" name="label_11"> - <property name="text"> - <string>Use default cylinder</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <layout class="QHBoxLayout" name="horizontalLayout_3"> - <item> - <widget class="QComboBox" name="default_cylinder"/> - </item> - </layout> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_7"> - <property name="title"> - <string>Animations</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_7"> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QLabel" name="label_15"> - <property name="text"> - <string>Speed</string> - </property> - </widget> - </item> - <item> - <widget class="QSlider" name="velocitySlider"> - <property name="maximum"> - <number>500</number> - </property> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - </widget> - </item> - <item> - <widget class="QSpinBox" name="velocitySpinBox"> - <property name="maximum"> - <number>500</number> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_9"> - <property name="title"> - <string>Clear all settings</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_7b"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QPushButton" name="resetSettings"> - <property name="text"> - <string>Reset all settings to their default value</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - <widget class="QWidget" name="units_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="groupBox_units"> - <property name="title"> - <string>Unit system</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout"> - <item> - <widget class="QLabel" name="label_6"> - <property name="text"> - <string>System</string> - </property> - </widget> - </item> - <item> - <widget class="QRadioButton" name="metric"> - <property name="text"> - <string>&Metric</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_6</string> - </attribute> - </widget> - </item> - <item> - <widget class="QRadioButton" name="imperial"> - <property name="text"> - <string>Imperial</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_6</string> - </attribute> - </widget> - </item> - <item> - <widget class="QRadioButton" name="personalize"> - <property name="text"> - <string>Personali&ze</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_6</string> - </attribute> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="units_group"> - <property name="title"> - <string>Individual settings</string> - </property> - <property name="checkable"> - <bool>false</bool> - </property> - <property name="checked"> - <bool>false</bool> - </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="0" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Depth</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QRadioButton" name="meter"> - <property name="text"> - <string>meter</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup</string> - </attribute> - </widget> - </item> - <item row="0" column="2"> - <widget class="QRadioButton" name="feet"> - <property name="text"> - <string>feet</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup</string> - </attribute> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Pressure</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QRadioButton" name="bar"> - <property name="text"> - <string>bar</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_2</string> - </attribute> - </widget> - </item> - <item row="1" column="2"> - <widget class="QRadioButton" name="psi"> - <property name="text"> - <string>psi</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_2</string> - </attribute> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Volume</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QRadioButton" name="liter"> - <property name="text"> - <string>&liter</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_3</string> - </attribute> - </widget> - </item> - <item row="2" column="2"> - <widget class="QRadioButton" name="cuft"> - <property name="text"> - <string>cu ft</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_3</string> - </attribute> - </widget> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_4"> - <property name="text"> - <string>Temperature</string> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QRadioButton" name="celsius"> - <property name="text"> - <string>celsius</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_4</string> - </attribute> - </widget> - </item> - <item row="3" column="2"> - <widget class="QRadioButton" name="fahrenheit"> - <property name="text"> - <string>fahrenheit</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_4</string> - </attribute> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_5"> - <property name="text"> - <string>Weight</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QRadioButton" name="kg"> - <property name="text"> - <string>kg</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_5</string> - </attribute> - </widget> - </item> - <item row="4" column="2"> - <widget class="QRadioButton" name="lbs"> - <property name="text"> - <string>lbs</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_5</string> - </attribute> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <layout class="QHBoxLayout"> - <item> - <widget class="QGroupBox" name="groupBox"> - <property name="title"> - <string>Time units</string> - </property> - <layout class="QGridLayout"> - <item row="0" column="0"> - <widget class="QLabel" name="label13"> - <property name="text"> - <string>Ascent/descent speed denominator</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QRadioButton" name="vertical_speed_minutes"> - <property name="text"> - <string>Minutes</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">verticalSpeed</string> - </attribute> - </widget> - </item> - <item row="0" column="2"> - <widget class="QRadioButton" name="vertical_speed_seconds"> - <property name="text"> - <string>Seconds</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">verticalSpeed</string> - </attribute> - </widget> - </item> - </layout> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QGroupBox" name="groupBox_11"> - <property name="title"> - <string>GPS coordinates</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_12"> - <item> - <widget class="QLabel" name="label_27"> - <property name="text"> - <string>Location Display</string> - </property> - </widget> - </item> - <item> - <widget class="QRadioButton" name="gpsTraditional"> - <property name="text"> - <string>traditional (dms)</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_7</string> - </attribute> - </widget> - </item> - <item> - <widget class="QRadioButton" name="gpsDecimal"> - <property name="text"> - <string>decimal</string> - </property> - <attribute name="buttonGroup"> - <string notr="true">buttonGroup_7</string> - </attribute> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <spacer name="verticalSpacer"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - <widget class="QWidget" name="graph_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_5"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="groupBox_4"> - <property name="title"> - <string>Show</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_4"> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_4"> - <item> - <widget class="QLabel" name="label_12"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>Threshold when showing pO₂</string> - </property> - </widget> - </item> - <item> - <widget class="QDoubleSpinBox" name="po2Threshold"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="singleStep"> - <double>0.100000000000000</double> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_5"> - <item> - <widget class="QLabel" name="label_13"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>Threshold when showing pN₂</string> - </property> - </widget> - </item> - <item> - <widget class="QDoubleSpinBox" name="pn2Threshold"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="singleStep"> - <double>0.100000000000000</double> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_8"> - <item> - <widget class="QLabel" name="label_17"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>Threshold when showing pHe</string> - </property> - </widget> - </item> - <item> - <widget class="QDoubleSpinBox" name="pheThreshold"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="singleStep"> - <double>0.100000000000000</double> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_9"> - <item> - <widget class="QLabel" name="label_18"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>Max pO₂ when showing MOD</string> - </property> - </widget> - </item> - <item> - <widget class="QDoubleSpinBox" name="maxpo2"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="singleStep"> - <double>0.100000000000000</double> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_10b"> - <item> - <widget class="QCheckBox" name="red_ceiling"> - <property name="enabled"> - <bool>true</bool> - </property> - <property name="text"> - <string>Draw dive computer reported ceiling red</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_11c"> - <item> - <widget class="QCheckBox" name="display_unused_tanks"> - <property name="text"> - <string>Show unused cylinders in Equipment tab</string> - </property> - </widget> - </item> - </layout> - </item> - <item> - <layout class="QHBoxLayout" name="horizontalLayout_11d"> - <item> - <widget class="QCheckBox" name="show_average_depth"> - <property name="text"> - <string>Show average depth</string> - </property> - </widget> - </item> - </layout> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_5"> - <property name="title"> - <string>Misc</string> - </property> - <layout class="QFormLayout" name="formLayout_3"> - <item row="1" column="0"> - <widget class="QLabel" name="label_19"> - <property name="text"> - <string>GFLow</string> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QSpinBox" name="gflow"> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>150</number> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QLabel" name="label_20"> - <property name="text"> - <string>GFHigh</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QSpinBox" name="gfhigh"> - <property name="minimum"> - <number>1</number> - </property> - <property name="maximum"> - <number>150</number> - </property> - </widget> - </item> - <item row="4" column="0" colspan="2"> - <widget class="QCheckBox" name="gf_low_at_maxdepth"> - <property name="text"> - <string>GFLow at max depth</string> - </property> - </widget> - </item> - <item row="5" column="0"> - <widget class="QCheckBox" name="show_ccr_setpoint"> - <property name="text"> - <string>CCR: show setpoints when viewing pO₂</string> - </property> - </widget> - </item> - <item row="6" column="0"> - <widget class="QCheckBox" name="show_ccr_sensors"> - <property name="text"> - <string>CCR: show individual O₂ sensor values when viewing pO₂</string> - </property> - </widget> - </item> - <item row="7" column="0"> - <widget class="QLabel" name="label_26"> - <property name="text"> - <string>Default CCR set-point for dive planning</string> - </property> - </widget> - </item> - <item row="7" column="1"> - <widget class="QDoubleSpinBox" name="defaultSetpoint"> - <property name="suffix"> - <string>bar</string> - </property> - <property name="decimals"> - <number>2</number> - </property> - <property name="maximum"> - <double>10.000000000000000</double> - </property> - <property name="singleStep"> - <double>0.100000000000000</double> - </property> - </widget> - </item> - <item row="8" column="0"> - <widget class="QLabel" name="pSCR"> - <property name="text"> - <string>pSCR O₂ metabolism rate</string> - </property> - </widget> - </item> - <item row="9" column="0"> - <widget class="QLabel" name="label_28"> - <property name="text"> - <string>pSCR ratio</string> - </property> - </widget> - </item> - <item row="8" column="1"> - <widget class="QDoubleSpinBox" name="psro2rate"> - <property name="suffix"> - <string>ℓ/min</string> - </property> - <property name="decimals"> - <number>3</number> - </property> - </widget> - </item> - <item row="9" column="1"> - <widget class="QSpinBox" name="pscrfactor"> - <property name="suffix"> - <string/> - </property> - <property name="prefix"> - <string>1:</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <spacer name="verticalSpacer_5"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - <widget class="QWidget" name="language_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_6" stretch="0,1,0"> - <property name="spacing"> - <number>5</number> - </property> - <property name="sizeConstraint"> - <enum>QLayout::SetNoConstraint</enum> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="language_group"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="title"> - <string>UI language</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_6"> - <item> - <widget class="QCheckBox" name="languageSystemDefault"> - <property name="text"> - <string>System default</string> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>40</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QLabel" name="label_14"> - <property name="text"> - <string>Filter</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="languageFilter"/> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QListView" name="languageView"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - <item> - <spacer name="verticalSpacer_7"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - <widget class="QWidget" name="network_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_15"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="groupBox_10"> - <property name="title"> - <string>Proxy</string> - </property> - <layout class="QGridLayout" name="gridLayout_2"> - <item row="1" column="2"> - <widget class="QLabel" name="label_23"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Port</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QComboBox" name="proxyType"/> - </item> - <item row="1" column="0"> - <widget class="QLabel" name="label_22"> - <property name="text"> - <string>Host</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="proxyAuthRequired"> - <property name="layoutDirection"> - <enum>Qt::LeftToRight</enum> - </property> - <property name="text"> - <string>Requires authentication</string> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="label_21"> - <property name="text"> - <string>Proxy type</string> - </property> - <property name="alignment"> - <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> - </property> - </widget> - </item> - <item row="3" column="0"> - <widget class="QLabel" name="label_24"> - <property name="text"> - <string>Username</string> - </property> - </widget> - </item> - <item row="1" column="3"> - <widget class="QSpinBox" name="proxyPort"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>1</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maximum"> - <number>65535</number> - </property> - <property name="value"> - <number>80</number> - </property> - </widget> - </item> - <item row="3" column="1"> - <widget class="QLineEdit" name="proxyUsername"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maxLength"> - <number>32</number> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="proxyHost"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>2</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maxLength"> - <number>64</number> - </property> - </widget> - </item> - <item row="4" column="0"> - <widget class="QLabel" name="label_25"> - <property name="text"> - <string>Password</string> - </property> - </widget> - </item> - <item row="4" column="1"> - <widget class="QLineEdit" name="proxyPassword"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="maxLength"> - <number>32</number> - </property> - <property name="echoMode"> - <enum>QLineEdit::Password</enum> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="cloudStorageGroupBox"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Minimum"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="minimumSize"> - <size> - <width>0</width> - <height>129</height> - </size> - </property> - <property name="title"> - <string>Subsurface cloud storage</string> - </property> - <layout class="QGridLayout" name="gridLayout_3"> - <item row="0" column="0"> - <widget class="QLabel" name="label_16b"> - <property name="toolTip"> - <string extracomment="Email address used for the Subsurface cloud storage infrastructure"/> - </property> - <property name="text"> - <string>Email address</string> - </property> - </widget> - </item> - <item row="0" column="1"> - <widget class="QLabel" name="label_16c"> - <property name="text"> - <string>Password</string> - </property> - </widget> - </item> - <item row="0" column="2"> - <widget class="QLabel" name="cloud_storage_pin_label"> - <property name="text"> - <string>Verification PIN</string> - </property> - </widget> - </item> - <item row="0" column="3"> - <widget class="QLabel" name="cloud_storage_new_passwd_label"> - <property name="text"> - <string>New password</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QLineEdit" name="cloud_storage_email"> - <property name="toolTip"> - <string extracomment="Email address used for the Subsurface cloud storage infrastructure"/> - </property> - </widget> - </item> - <item row="1" column="1"> - <widget class="QLineEdit" name="cloud_storage_password"> - <property name="echoMode"> - <enum>QLineEdit::Password</enum> - </property> - </widget> - </item> - <item row="1" column="2"> - <widget class="QLineEdit" name="cloud_storage_pin"> - <property name="toolTip"> - <string extracomment="One time verification PIN for Subsurface cloud storage infrastructure"/> - </property> - </widget> - </item> - <item row="1" column="3"> - <widget class="QLineEdit" name="cloud_storage_new_passwd"> - <property name="echoMode"> - <enum>QLineEdit::Password</enum> - </property> - </widget> - </item> - <item row="2" column="0"> - <widget class="QCheckBox" name="cloud_background_sync"> - <property name="text"> - <string>Sync to cloud in the background?</string> - </property> - </widget> - </item> - <item row="2" column="1"> - <widget class="QCheckBox" name="save_password_local"> - <property name="text"> - <string>Save Password locally?</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <widget class="QGroupBox" name="groupBox_8"> - <property name="title"> - <string>Subsurface web service</string> - </property> - <layout class="QVBoxLayout" name="verticalLayout_7"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QLabel" name="label_16"> - <property name="text"> - <string>Default user ID</string> - </property> - </widget> - </item> - <item> - <widget class="QLineEdit" name="default_uid"/> - </item> - <item> - <widget class="QCheckBox" name="save_uid_local"> - <property name="text"> - <string>Save user ID locally?</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <spacer name="verticalSpacer_3"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>0</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - <widget class="QWidget" name="facebook_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="fbLayout" stretch="0"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QWidget" name="widget" native="true"> - <layout class="QVBoxLayout" name="verticalLayout_9"> - <item> - <widget class="QLabel" name="FBLabel"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>Connect to facebook text placeholder</string> - </property> - </widget> - </item> - <item> - <widget class="QWidget" name="fbWebviewContainer" native="true"> - <layout class="QVBoxLayout" name="verticalLayout_10"/> - </widget> - </item> - <item> - <widget class="QPushButton" name="fbDisconnect"> - <property name="text"> - <string>Disconnect</string> - </property> - </widget> - </item> - </layout> - </widget> - </item> - </layout> - </widget> - <widget class="QWidget" name="geolookup_page"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="MinimumExpanding"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <layout class="QVBoxLayout" name="verticalLayout_155"> - <property name="spacing"> - <number>5</number> - </property> - <property name="margin"> - <number>5</number> - </property> - <item> - <widget class="QGroupBox" name="groupBox_12"> - <property name="title"> - <string>Dive Site Layout</string> - </property> - <layout class="QHBoxLayout" name="horizontalLayout_10"> - <item> - <widget class="QComboBox" name="first_item"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_29"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - <property name="text"> - <string>/</string> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="second_item"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - <item> - <widget class="QLabel" name="label_30"> - <property name="text"> - <string>/</string> - </property> - </widget> - </item> - <item> - <widget class="QComboBox" name="third_item"> - <property name="sizePolicy"> - <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> - </widget> - </item> - </layout> - </widget> - </item> - <item> - <spacer name="verticalSpacer_6"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>0</height> - </size> - </property> - </spacer> - </item> - </layout> - </widget> - </widget> - </item> - </layout> - </item> - <item> - <widget class="QDialogButtonBox" name="buttonBox"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="standardButtons"> - <set>QDialogButtonBox::Apply|QDialogButtonBox::Discard|QDialogButtonBox::Ok</set> - </property> - </widget> - </item> - </layout> - </widget> - <resources/> - <connections> - <connection> - <sender>buttonBox</sender> - <signal>accepted()</signal> - <receiver>PreferencesDialog</receiver> - <slot>accept()</slot> - <hints> - <hint type="sourcelabel"> - <x>264</x> - <y>720</y> - </hint> - <hint type="destinationlabel"> - <x>157</x> - <y>274</y> - </hint> - </hints> - </connection> - <connection> - <sender>buttonBox</sender> - <signal>rejected()</signal> - <receiver>PreferencesDialog</receiver> - <slot>reject()</slot> - <hints> - <hint type="sourcelabel"> - <x>332</x> - <y>720</y> - </hint> - <hint type="destinationlabel"> - <x>286</x> - <y>274</y> - </hint> - </hints> - </connection> - <connection> - <sender>listWidget</sender> - <signal>currentRowChanged(int)</signal> - <receiver>stackedWidget</receiver> - <slot>setCurrentIndex(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>37</x> - <y>97</y> - </hint> - <hint type="destinationlabel"> - <x>282</x> - <y>18</y> - </hint> - </hints> - </connection> - <connection> - <sender>personalize</sender> - <signal>toggled(bool)</signal> - <receiver>units_group</receiver> - <slot>setEnabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>185</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>186</x> - <y>23</y> - </hint> - </hints> - </connection> - <connection> - <sender>languageSystemDefault</sender> - <signal>toggled(bool)</signal> - <receiver>languageView</receiver> - <slot>setDisabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>231</x> - <y>26</y> - </hint> - <hint type="destinationlabel"> - <x>186</x> - <y>30</y> - </hint> - </hints> - </connection> - <connection> - <sender>languageSystemDefault</sender> - <signal>toggled(bool)</signal> - <receiver>languageFilter</receiver> - <slot>setDisabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>231</x> - <y>26</y> - </hint> - <hint type="destinationlabel"> - <x>185</x> - <y>20</y> - </hint> - </hints> - </connection> - <connection> - <sender>imperial</sender> - <signal>toggled(bool)</signal> - <receiver>feet</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>164</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>175</x> - <y>34</y> - </hint> - </hints> - </connection> - <connection> - <sender>metric</sender> - <signal>toggled(bool)</signal> - <receiver>meter</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>142</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>153</x> - <y>34</y> - </hint> - </hints> - </connection> - <connection> - <sender>imperial</sender> - <signal>toggled(bool)</signal> - <receiver>psi</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>164</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>175</x> - <y>33</y> - </hint> - </hints> - </connection> - <connection> - <sender>metric</sender> - <signal>toggled(bool)</signal> - <receiver>bar</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>142</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>153</x> - <y>33</y> - </hint> - </hints> - </connection> - <connection> - <sender>imperial</sender> - <signal>toggled(bool)</signal> - <receiver>cuft</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>164</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>175</x> - <y>31</y> - </hint> - </hints> - </connection> - <connection> - <sender>metric</sender> - <signal>toggled(bool)</signal> - <receiver>liter</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>142</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>153</x> - <y>31</y> - </hint> - </hints> - </connection> - <connection> - <sender>imperial</sender> - <signal>toggled(bool)</signal> - <receiver>fahrenheit</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>164</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>175</x> - <y>29</y> - </hint> - </hints> - </connection> - <connection> - <sender>metric</sender> - <signal>toggled(bool)</signal> - <receiver>celsius</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>142</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>153</x> - <y>29</y> - </hint> - </hints> - </connection> - <connection> - <sender>imperial</sender> - <signal>toggled(bool)</signal> - <receiver>lbs</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>164</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>175</x> - <y>28</y> - </hint> - </hints> - </connection> - <connection> - <sender>metric</sender> - <signal>toggled(bool)</signal> - <receiver>kg</receiver> - <slot>setChecked(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>142</x> - <y>19</y> - </hint> - <hint type="destinationlabel"> - <x>153</x> - <y>28</y> - </hint> - </hints> - </connection> - <connection> - <sender>velocitySlider</sender> - <signal>valueChanged(int)</signal> - <receiver>velocitySpinBox</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>236</x> - <y>52</y> - </hint> - <hint type="destinationlabel"> - <x>236</x> - <y>52</y> - </hint> - </hints> - </connection> - <connection> - <sender>velocitySpinBox</sender> - <signal>valueChanged(int)</signal> - <receiver>velocitySlider</receiver> - <slot>setValue(int)</slot> - <hints> - <hint type="sourcelabel"> - <x>236</x> - <y>52</y> - </hint> - <hint type="destinationlabel"> - <x>236</x> - <y>52</y> - </hint> - </hints> - </connection> - <connection> - <sender>proxyAuthRequired</sender> - <signal>toggled(bool)</signal> - <receiver>proxyUsername</receiver> - <slot>setEnabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>409</x> - <y>123</y> - </hint> - <hint type="destinationlabel"> - <x>409</x> - <y>153</y> - </hint> - </hints> - </connection> - <connection> - <sender>proxyAuthRequired</sender> - <signal>toggled(bool)</signal> - <receiver>proxyPassword</receiver> - <slot>setEnabled(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>409</x> - <y>123</y> - </hint> - <hint type="destinationlabel"> - <x>409</x> - <y>183</y> - </hint> - </hints> - </connection> - <connection> - <sender>btnUseDefaultFile</sender> - <signal>toggled(bool)</signal> - <receiver>chooseFile</receiver> - <slot>setHidden(bool)</slot> - <hints> - <hint type="sourcelabel"> - <x>236</x> - <y>44</y> - </hint> - <hint type="destinationlabel"> - <x>236</x> - <y>44</y> - </hint> - </hints> - </connection> - </connections> - <buttongroups> - <buttongroup name="verticalSpeed"/> - <buttongroup name="buttonGroup_2"/> - <buttongroup name="buttonGroup_3"/> - <buttongroup name="buttonGroup_4"/> - <buttongroup name="defaultFileGroup"/> - <buttongroup name="buttonGroup_5"/> - <buttongroup name="buttonGroup_6"/> - <buttongroup name="buttonGroup_7"/> - <buttongroup name="buttonGroup"/> - </buttongroups> -</ui> |