Better visualization of the maintab in the designer

The layout of the maintab differed a bit between the application and the
designer because the designer didn't take into account that the
divemaster, buddy and tags were one line widgets.

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-06-26 14:20:04 -03:00 committed by Dirk Hohndel
parent 89816f64c2
commit f01fdc48bc

View file

@ -123,6 +123,12 @@
</item> </item>
<item row="8" column="0"> <item row="8" column="0">
<widget class="TagWidget" name="divemaster"> <widget class="TagWidget" name="divemaster">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="readOnly"> <property name="readOnly">
<bool>false</bool> <bool>false</bool>
</property> </property>
@ -144,6 +150,12 @@
</item> </item>
<item row="8" column="1"> <item row="8" column="1">
<widget class="TagWidget" name="buddy"> <widget class="TagWidget" name="buddy">
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="readOnly"> <property name="readOnly">
<bool>false</bool> <bool>false</bool>
</property> </property>
@ -220,6 +232,13 @@
</item> </item>
</layout> </layout>
</item> </item>
<item row="1" column="0" rowspan="2">
<widget class="DateWidget" name="dateEdit" native="true">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
</widget>
</item>
<item row="12" column="0" colspan="2"> <item row="12" column="0" colspan="2">
<widget class="TagWidget" name="tagWidget"> <widget class="TagWidget" name="tagWidget">
<property name="sizePolicy"> <property name="sizePolicy">
@ -234,6 +253,12 @@
<height>0</height> <height>0</height>
</size> </size>
</property> </property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>30</height>
</size>
</property>
<property name="verticalScrollBarPolicy"> <property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum> <enum>Qt::ScrollBarAlwaysOff</enum>
</property> </property>
@ -245,13 +270,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="0" rowspan="2">
<widget class="DateWidget" name="dateEdit" native="true">
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
</widget>
</item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
@ -282,8 +300,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>100</width> <width>662</width>
<height>30</height> <height>642</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout_5"> <layout class="QGridLayout" name="gridLayout_5">
@ -362,8 +380,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>548</width> <width>662</width>
<height>395</height> <height>642</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout_6"> <layout class="QGridLayout" name="gridLayout_6">
@ -672,8 +690,8 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>468</width> <width>662</width>
<height>229</height> <height>642</height>
</rect> </rect>
</property> </property>
<layout class="QGridLayout" name="gridLayout_7"> <layout class="QGridLayout" name="gridLayout_7">