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>
<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>