summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 12:40:29 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-08 12:41:45 -0800
commit3ae664b6dcf1adc08e49c928e293470835af04f0 (patch)
tree0a4a8654ae1e045ea3346d96d8e79022a20ef646 /qt-ui
parente6b5a00e3516b1c6e9f5fa638b984f3cf47659ba (diff)
downloadsubsurface-3ae664b6dcf1adc08e49c928e293470835af04f0.tar.gz
Dive d/l selection UI: add select all / unselect all
This isn't hooked up, yet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/downloadfromdivecomputer.ui67
1 files changed, 49 insertions, 18 deletions
diff --git a/qt-ui/downloadfromdivecomputer.ui b/qt-ui/downloadfromdivecomputer.ui
index 1b29f2128..66de6006d 100644
--- a/qt-ui/downloadfromdivecomputer.ui
+++ b/qt-ui/downloadfromdivecomputer.ui
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
- <width>625</width>
+ <width>747</width>
<height>535</height>
</rect>
</property>
@@ -161,22 +161,53 @@
</layout>
</item>
<item>
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string>Downloaded Dives</string>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
- <horstretch>1</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <layout class="QHBoxLayout" name="downloadedViewLayout">
- <item>
- <widget class="QTableView" name="downloadedView"/>
- </item>
- </layout>
- </widget>
+ <layout class="QVBoxLayout" name="downloadedDivesLayout">
+ <item>
+ <layout class="QHBoxLayout" name="labelSelectAllNoneLayout">
+ <item>
+ <widget class="QLabel" name="downloadedDivesLabel">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
+ <horstretch>1</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="text">
+ <string>Downloaded Dives</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="selectAllButton">
+ <property name="text">
+ <string>Select all</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="unselectAllButton">
+ <property name="text">
+ <string>Unselect all</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item>
+ <layout class="QHBoxLayout" name="downloadedViewLayout">
+ <item>
+ <widget class="QTableView" name="downloadedView">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
+ <horstretch>1</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ </layout>
</item>
</layout>
</item>
@@ -214,7 +245,7 @@
<item>
<widget class="QProgressBar" name="progressBar">
<property name="value">
- <number>24</number>
+ <number>0</number>
</property>
</widget>
</item>