summaryrefslogtreecommitdiffstats
path: root/qt-ui/tableview.ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-10-17 21:22:49 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-10-18 15:18:38 -0700
commit1180b5d2d37119b39f2dccdfdd2e58955d3ee160 (patch)
tree0b783c5a459ced38776a9d144256fb243c69b39b /qt-ui/tableview.ui
parent32ab2b34d39752693697f0f2a33032ceb3f5f3b4 (diff)
downloadsubsurface-1180b5d2d37119b39f2dccdfdd2e58955d3ee160.tar.gz
Fix plus icon position based on the theme
I hope this time I got it right. basically, the old code tried to guess where the plus icon should be with a fairly bad set of defauults. This one patch asks for the Qt style where everything is and uses that knowledge to make it be in a more sane position. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Giuseppe Bilotta <giuseppe.bilota@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/tableview.ui')
-rw-r--r--qt-ui/tableview.ui46
1 files changed, 11 insertions, 35 deletions
diff --git a/qt-ui/tableview.ui b/qt-ui/tableview.ui
index baa86fdd7..73867231e 100644
--- a/qt-ui/tableview.ui
+++ b/qt-ui/tableview.ui
@@ -1,48 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>TableView</class>
- <widget class="QWidget" name="TableView">
+ <widget class="QGroupBox" name="TableView">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
- <width>410</width>
- <height>309</height>
+ <width>400</width>
+ <height>300</height>
</rect>
</property>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="margin">
- <number>0</number>
- </property>
+ <property name="windowTitle">
+ <string>GroupBox</string>
+ </property>
+ <property name="title">
+ <string>GroupBox</string>
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout">
<item>
- <widget class="QGroupBox" name="groupBox">
- <property name="title">
- <string/>
- </property>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="spacing">
- <number>0</number>
- </property>
- <property name="leftMargin">
- <number>0</number>
- </property>
- <property name="topMargin">
- <number>10</number>
- </property>
- <property name="rightMargin">
- <number>0</number>
- </property>
- <property name="bottomMargin">
- <number>0</number>
- </property>
- <item>
- <widget class="QTableView" name="tableView"/>
- </item>
- </layout>
- </widget>
+ <widget class="QTableView" name="tableView"/>
</item>
</layout>
</widget>