diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-01-08 11:23:06 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-08 07:44:50 -0800 |
commit | acb51682548a7e7596eb3f8d67ce772d617c06bf (patch) | |
tree | ebcf2826e0d2cda9d7532cc2275b7b136448ddc0 /qt-ui | |
parent | f8e86b2f4bd2e2857420e79679bddad2f44e9ed4 (diff) | |
download | subsurface-acb51682548a7e7596eb3f8d67ce772d617c06bf.tar.gz |
Dive d/l selection UI: Add a table for the new dives from DC dialog
It will show the model that I just created.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/downloadfromdivecomputer.ui | 251 |
1 files changed, 158 insertions, 93 deletions
diff --git a/qt-ui/downloadfromdivecomputer.ui b/qt-ui/downloadfromdivecomputer.ui index 9ea85afc8..d67094a0b 100644 --- a/qt-ui/downloadfromdivecomputer.ui +++ b/qt-ui/downloadfromdivecomputer.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>331</width> - <height>314</height> + <width>625</width> + <height>535</height> </rect> </property> <property name="windowTitle"> @@ -18,63 +18,163 @@ <normalon>:/subsurface-icon</normalon> </iconset> </property> - <layout class="QGridLayout" name="gridLayout"> - <item row="2" column="0" colspan="3"> - <widget class="QLabel" name="label_3"> - <property name="text"> - <string>Device or mount point</string> - </property> - </widget> - </item> - <item row="3" column="0" colspan="2"> - <widget class="QComboBox" name="device"> - <property name="editable"> - <bool>true</bool> - </property> - </widget> - </item> - <item row="0" column="0"> - <widget class="QLabel" name="label"> - <property name="text"> - <string>Vendor</string> - </property> - </widget> - </item> - <item row="0" column="1" colspan="2"> - <widget class="QLabel" name="label_2"> - <property name="text"> - <string>Dive computer</string> - </property> - </widget> - </item> - <item row="1" column="0"> - <widget class="QComboBox" name="vendor"/> - </item> - <item row="1" column="1" colspan="2"> - <widget class="QComboBox" name="product"/> - </item> - <item row="3" column="2"> - <widget class="QToolButton" name="search"> - <property name="text"> - <string>...</string> - </property> - </widget> - </item> - <item row="4" column="0" colspan="3"> - <widget class="QCheckBox" name="forceDownload"> - <property name="text"> - <string>Force download of all dives</string> - </property> - </widget> + <layout class="QVBoxLayout" name="verticalLayout_2"> + <item> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label"> + <property name="text"> + <string>Vendor</string> + </property> + </widget> + </item> + <item row="0" column="1"> + <widget class="QLabel" name="label_2"> + <property name="text"> + <string>Dive computer</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QComboBox" name="vendor"/> + </item> + <item row="1" column="1"> + <widget class="QComboBox" name="product"/> + </item> + </layout> </item> - <item row="5" column="0" colspan="3"> - <widget class="QCheckBox" name="preferDownloaded"> - <property name="text"> - <string>Always prefer downloaded dives</string> - </property> - </widget> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_4"> + <item> + <layout class="QVBoxLayout" name="verticalLayout"> + <item> + <layout class="QGridLayout" name="gridLayout_2"> + <item row="0" column="0"> + <widget class="QLabel" name="label_3"> + <property name="text"> + <string>Device or mount point</string> + </property> + </widget> + </item> + <item row="1" column="0"> + <widget class="QComboBox" name="device"> + <property name="editable"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="1" column="1"> + <widget class="QToolButton" name="search"> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item row="2" column="0"> + <widget class="QCheckBox" name="forceDownload"> + <property name="text"> + <string>Force download of all dives</string> + </property> + </widget> + </item> + <item row="3" column="0"> + <widget class="QCheckBox" name="preferDownloaded"> + <property name="text"> + <string>Always prefer downloaded dives</string> + </property> + </widget> + </item> + <item row="4" column="0"> + <widget class="QCheckBox" name="createNewTrip"> + <property name="text"> + <string>Download into new trip</string> + </property> + </widget> + </item> + <item row="5" column="0"> + <widget class="QCheckBox" name="logToFile"> + <property name="text"> + <string>Save libdivecomputer logfile</string> + </property> + </widget> + </item> + <item row="5" column="1"> + <widget class="QToolButton" name="chooseLogFile"> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + <item row="6" column="0"> + <widget class="QCheckBox" name="dumpToFile"> + <property name="text"> + <string>Save libdivecomputer dumpfile</string> + </property> + </widget> + </item> + <item row="6" column="1"> + <widget class="QToolButton" name="chooseDumpFile"> + <property name="text"> + <string>...</string> + </property> + </widget> + </item> + </layout> + </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> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <spacer name="horizontalSpacer_2"> + <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="QPushButton" name="pushButton"> + <property name="text"> + <string>Download</string> + </property> + </widget> + </item> + </layout> + </item> + </layout> + </item> + <item> + <widget class="QGroupBox" name="groupBox"> + <property name="title"> + <string>Downloaded Dives</string> + </property> + <layout class="QHBoxLayout" name="horizontalLayout_2"> + <item> + <widget class="QTableView" name="downloadedView"/> + </item> + </layout> + </widget> + </item> + </layout> </item> - <item row="9" column="0" colspan="3"> + <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <spacer name="horizontalSpacer"> @@ -105,48 +205,13 @@ </item> </layout> </item> - <item row="10" column="0" colspan="3"> + <item> <widget class="QProgressBar" name="progressBar"> <property name="value"> <number>24</number> </property> </widget> </item> - <item row="7" column="0" colspan="2"> - <widget class="QCheckBox" name="logToFile"> - <property name="text"> - <string>Save libdivecomputer logfile</string> - </property> - </widget> - </item> - <item row="8" column="0" colspan="2"> - <widget class="QCheckBox" name="dumpToFile"> - <property name="text"> - <string>Save libdivecomputer dumpfile</string> - </property> - </widget> - </item> - <item row="7" column="2"> - <widget class="QToolButton" name="chooseLogFile"> - <property name="text"> - <string>...</string> - </property> - </widget> - </item> - <item row="8" column="2"> - <widget class="QToolButton" name="chooseDumpFile"> - <property name="text"> - <string>...</string> - </property> - </widget> - </item> - <item row="6" column="0"> - <widget class="QCheckBox" name="createNewTrip"> - <property name="text"> - <string>Download into new trip</string> - </property> - </widget> - </item> </layout> </widget> <resources/> |