diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-11-11 15:24:32 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-11-11 13:04:02 -0800 |
commit | fc39d5323209436a64a6b41d8a9b019070729a0f (patch) | |
tree | 1ff6fddf872e9bfaab33ac620483fbc6b99fddbf | |
parent | 200699706ea0ae45b9036a3082bff83f98329f93 (diff) | |
download | subsurface-fc39d5323209436a64a6b41d8a9b019070729a0f.tar.gz |
Better layout for the Extra Info panel
The extra info didn't had a Layout set, this makes the
design hard and not resizable. fixed by using a layout.
I also changed a ScrollArea for a GroupBox, since the
Model already has a ScrollArea.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | qt-ui/maintab.ui | 68 |
1 files changed, 18 insertions, 50 deletions
diff --git a/qt-ui/maintab.ui b/qt-ui/maintab.ui index 72c04acc3..63fde0372 100644 --- a/qt-ui/maintab.ui +++ b/qt-ui/maintab.ui @@ -37,8 +37,8 @@ <rect> <x>0</x> <y>0</y> - <width>668</width> - <height>658</height> + <width>670</width> + <height>649</height> </rect> </property> <layout class="QGridLayout" name="gridLayout_2"> @@ -416,8 +416,8 @@ <rect> <x>0</x> <y>0</y> - <width>668</width> - <height>658</height> + <width>316</width> + <height>330</height> </rect> </property> <layout class="QGridLayout" name="gridLayout_6"> @@ -745,8 +745,8 @@ <rect> <x>0</x> <y>0</y> - <width>342</width> - <height>167</height> + <width>319</width> + <height>188</height> </rect> </property> <layout class="QGridLayout" name="gridLayout_7"> @@ -957,52 +957,20 @@ <attribute name="title"> <string>Extra data</string> </attribute> - <widget class="QLabel" name="label_3"> - <property name="geometry"> - <rect> - <x>10</x> - <y>20</y> - <width>341</width> - <height>16</height> - </rect> - </property> - <property name="text"> - <string>Additional data from dive computer</string> - </property> - </widget> - <widget class="QScrollArea" name="scrollArea_5"> - <property name="geometry"> - <rect> - <x>10</x> - <y>50</y> - <width>661</width> - <height>641</height> - </rect> - </property> - <property name="widgetResizable"> - <bool>true</bool> - </property> - <widget class="QWidget" name="scrollAreaWidgetContents_5"> - <property name="geometry"> - <rect> - <x>0</x> - <y>0</y> - <width>659</width> - <height>639</height> - </rect> - </property> - <widget class="QTableView" name="extraData"> - <property name="geometry"> - <rect> - <x>10</x> - <y>10</y> - <width>641</width> - <height>621</height> - </rect> + <layout class="QVBoxLayout" name="verticalLayout_3"> + <item> + <widget class="QGroupBox" name="groupBox_16"> + <property name="title"> + <string>Aditional data from dive computer</string> </property> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QTableView" name="extraData"/> + </item> + </layout> </widget> - </widget> - </widget> + </item> + </layout> </widget> </widget> <customwidgets> |