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>
This commit is contained in:
Tomaz Canabrava 2014-11-11 15:24:32 -02:00 committed by Dirk Hohndel
parent 200699706e
commit fc39d53232

View file

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