diff options
author | willemferguson <willemferguson@zoology.up.ac.za> | 2019-12-08 15:44:14 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-12-25 02:57:42 +0900 |
commit | b24caa4e2db42d300e3806ca3d13ce72202a24d8 (patch) | |
tree | 31b0d4c9824427f19ab757ecf185a714ae6b80ac /desktop-widgets/preferences/preferences_dc.ui | |
parent | f63f3eb4ae0cd3621cf5748dfd76749b40b6d886 (diff) | |
download | subsurface-b24caa4e2db42d300e3806ca3d13ce72202a24d8.tar.gz |
Preferenced UI: add dive download tab
Add a preferences tab for dive download, allowing resetting the
buttons representing download connections in the Download panel.
Signed-off-by: willemferguson <willemferguson@zoology.up.ac.za>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_dc.ui')
-rw-r--r-- | desktop-widgets/preferences/preferences_dc.ui | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_dc.ui b/desktop-widgets/preferences/preferences_dc.ui new file mode 100644 index 000000000..cb93eddae --- /dev/null +++ b/desktop-widgets/preferences/preferences_dc.ui @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> + <class>PreferencesDc</class> + <widget class="QWidget" name="PreferencesDc"> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>561</width> + <height>558</height> + </rect> + </property> + <property name="windowTitle"> + <string>Form</string> + </property> + <layout class="QVBoxLayout" name="verticalLayout"> + + <item> + <widget class="QLabel" name="label_help2"> + <property name="toolTip"> + <string extracomment="Help info 1"/> + </property> + <property name="text"> + <string>DIVE COMPUTER</string> + </property> + </widget> + </item> + + <item> + <widget class="QGroupBox" name="groupBox_10"> + <layout class="QGridLayout" name="gridlayout"> + + <item row="0" column="0"> + <widget class="QLabel" name="label_help2"> + <property name="toolTip"> + <string extracomment="Help info 1"/> + </property> + <property name="text"> + <string>Delete connections</string> + </property> + </widget> + </item> + + <item row="1" column="0" colspan="2"> + <widget class="QLabel" name="label_help2"> + <property name="toolTip"> + <string extracomment="Help info 1"/> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + <property name="text"> + <string>When importing dives from a dive computer (DC), Subsurface remembers the connection(s), showing them as selectable buttons in the Download panel. This is useful for DCs using Bluetooth for communication. In order to clear all this information, click on the button below. After clearing the information the buttons on the Download panel disappear and it is necessary to establish new connection(s) with dive computer(s) before importing dives again.</string> + </property> + </widget> + </item> + + <item row="2" column="0"> + <widget class="QPushButton" name="resetRememberedDCs"> + <property name="text"> + <string>Delete all dive computer connections</string> + </property> + </widget> + </item> + + <item row="2" column="1"> + <widget class="QLabel" name="label_help2"> + <property name="text"> + <string> </string> + </property> + </widget> + </item> + + </layout> + </widget> + </item> + + <item> + <spacer name="verticalSpacer"> + <property name="orientation"> + <enum>Qt::Vertical</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>20</width> + <height>40</height> + </size> + </property> + </spacer> + </item> + + </layout> + </widget> + <resources/> + <connections> + </connections> +</ui> |