Fix layout on the Shift-Image-Time import dialog

The dialogs where hard-coded and some variations of themes
could broke the placement of the text on it.

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-05-30 13:36:00 -03:00 committed by Dirk Hohndel
parent 57d3baa410
commit 52ccb57832

View file

@ -167,25 +167,9 @@
<property name="title">
<string/>
</property>
<widget class="QDateTimeEdit" name="dcTime">
<property name="geometry">
<rect>
<x>0</x>
<y>70</y>
<width>161</width>
<height>24</height>
</rect>
</property>
</widget>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>234</width>
<height>60</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
@ -199,15 +183,9 @@
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="1" rowspan="3">
<widget class="QGraphicsView" name="DCImage">
<property name="geometry">
<rect>
<x>260</x>
<y>10</y>
<width>361</width>
<height>281</height>
</rect>
</property>
<property name="verticalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
@ -215,6 +193,24 @@
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QDateTimeEdit" name="dcTime"/>
</item>
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>193</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
</layout>