aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2013-05-29 21:47:58 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-30 20:24:22 +0900
commitc4f06dc536392e31a477e592d30fb946f1499595 (patch)
tree93d0f9451fc329811b7475ed65ee1b3c70e1a1f5 /qt-ui/maintab.ui
parent2a4d981d0904230a0fb428b9acc77f11ddb7ad82 (diff)
downloadsubsurface-c4f06dc536392e31a477e592d30fb946f1499595.tar.gz
Puts maintab as 'DocumentMode'
This small patch enable maintab to be in 'Document Mode', this means basically that it size is smaller and there's not a line separating the widget anymore, giving the user a more smooth experience. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/maintab.ui')
-rw-r--r--qt-ui/maintab.ui17
1 files changed, 10 insertions, 7 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui
index eed6b1c2e..18014c8a0 100644
--- a/qt-ui/maintab.ui
+++ b/qt-ui/maintab.ui
@@ -16,6 +16,9 @@
<property name="currentIndex">
<number>1</number>
</property>
+ <property name="documentMode">
+ <bool>true</bool>
+ </property>
<widget class="QWidget" name="notesTab">
<attribute name="title">
<string>Dive Notes</string>
@@ -158,8 +161,8 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QTableView" name="cylinders">
- <property name="styleSheet">
- <string notr="true"> QTableView {
+ <property name="styleSheet">
+ <string notr="true"> QTableView {
show-decoration-selected: 1;
}
@@ -188,11 +191,11 @@
}
</string>
- </property>
- <property name="alternatingRowColors">
- <bool>true</bool>
- </property>
-</widget>
+ </property>
+ <property name="alternatingRowColors">
+ <bool>true</bool>
+ </property>
+ </widget>
</item>
</layout>
</widget>