Dive d/l selection UI: add select all / unselect all

This isn't hooked up, yet.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-01-08 12:40:29 -08:00
parent e6b5a00e35
commit 3ae664b6dc

View file

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>625</width> <width>747</width>
<height>535</height> <height>535</height>
</rect> </rect>
</property> </property>
@ -161,22 +161,53 @@
</layout> </layout>
</item> </item>
<item> <item>
<widget class="QGroupBox" name="groupBox"> <layout class="QVBoxLayout" name="downloadedDivesLayout">
<property name="title"> <item>
<string>Downloaded Dives</string> <layout class="QHBoxLayout" name="labelSelectAllNoneLayout">
</property> <item>
<property name="sizePolicy"> <widget class="QLabel" name="downloadedDivesLabel">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding"> <property name="sizePolicy">
<horstretch>1</horstretch> <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<verstretch>0</verstretch> <horstretch>1</horstretch>
</sizepolicy> <verstretch>0</verstretch>
</property> </sizepolicy>
<layout class="QHBoxLayout" name="downloadedViewLayout"> </property>
<item> <property name="text">
<widget class="QTableView" name="downloadedView"/> <string>Downloaded Dives</string>
</item> </property>
</layout> </widget>
</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> </item>
</layout> </layout>
</item> </item>
@ -214,7 +245,7 @@
<item> <item>
<widget class="QProgressBar" name="progressBar"> <widget class="QProgressBar" name="progressBar">
<property name="value"> <property name="value">
<number>24</number> <number>0</number>
</property> </property>
</widget> </widget>
</item> </item>