summaryrefslogtreecommitdiffstats
path: root/qt-ui/mainwindow.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-02 20:32:57 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-02 16:56:48 -0700
commit696c9ccacd24392ea63477c5ec8a25d6649aedf7 (patch)
tree372fdebe1a83f3fd5d10cd1cff94ee32ed835f31 /qt-ui/mainwindow.ui
parent82b1b04920fdd5882e0cbf28c9871c2ddd404af8 (diff)
downloadsubsurface-696c9ccacd24392ea63477c5ec8a25d6649aedf7.tar.gz
Added code to Select a dive, fixed minor annoyances.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.ui')
-rw-r--r--qt-ui/mainwindow.ui37
1 files changed, 3 insertions, 34 deletions
diff --git a/qt-ui/mainwindow.ui b/qt-ui/mainwindow.ui
index 1d31f1cd3..fe97d98b4 100644
--- a/qt-ui/mainwindow.ui
+++ b/qt-ui/mainwindow.ui
@@ -57,45 +57,14 @@
background: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 #6b9be8, stop: 1 #577fbf);
}
-
-/*
- QTreeView::branch {
- background: palette(base);
- }
-
- QTreeView::branch:has-siblings:!adjoins-item {
- background: cyan;
- }
-
- QTreeView::branch:has-siblings:adjoins-item {
- background: red;
- }
-
- QTreeView::branch:!has-children:!has-siblings:adjoins-item {
- background: blue;
- }
-
- QTreeView::branch:closed:has-children:has-siblings {
- background: pink;
- }
-
- QTreeView::branch:has-children:!has-siblings:closed {
- background: gray;
- }
-
- QTreeView::branch:open:has-children:has-siblings {
- background: magenta;
- }
-
- QTreeView::branch:open:has-children:!has-siblings {
- background: green;
- }
-*/
</string>
</property>
<property name="alternatingRowColors">
<bool>true</bool>
</property>
+ <property name="selectionMode">
+ <enum>QAbstractItemView::ExtendedSelection</enum>
+ </property>
<property name="rootIsDecorated">
<bool>true</bool>
</property>