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,54 +167,50 @@
<property name="title"> <property name="title">
<string/> <string/>
</property> </property>
<widget class="QDateTimeEdit" name="dcTime"> <layout class="QGridLayout" name="gridLayout">
<property name="geometry"> <item row="0" column="0">
<rect> <widget class="QLabel" name="label_2">
<x>0</x> <property name="maximumSize">
<y>70</y> <size>
<width>161</width> <width>16777215</width>
<height>24</height> <height>60</height>
</rect> </size>
</property> </property>
</widget> <property name="text">
<widget class="QLabel" name="label_2"> <string>Which date and time are displayed on the image?</string>
<property name="geometry"> </property>
<rect> <property name="wordWrap">
<x>0</x> <bool>true</bool>
<y>10</y> </property>
<width>234</width> </widget>
<height>60</height> </item>
</rect> <item row="0" column="1" rowspan="3">
</property> <widget class="QGraphicsView" name="DCImage">
<property name="maximumSize"> <property name="verticalScrollBarPolicy">
<size> <enum>Qt::ScrollBarAlwaysOff</enum>
<width>16777215</width> </property>
<height>60</height> <property name="horizontalScrollBarPolicy">
</size> <enum>Qt::ScrollBarAlwaysOff</enum>
</property> </property>
<property name="text"> </widget>
<string>Which date and time are displayed on the image?</string> </item>
</property> <item row="1" column="0">
<property name="wordWrap"> <widget class="QDateTimeEdit" name="dcTime"/>
<bool>true</bool> </item>
</property> <item row="2" column="0">
</widget> <spacer name="verticalSpacer">
<widget class="QGraphicsView" name="DCImage"> <property name="orientation">
<property name="geometry"> <enum>Qt::Vertical</enum>
<rect> </property>
<x>260</x> <property name="sizeHint" stdset="0">
<y>10</y> <size>
<width>361</width> <width>20</width>
<height>281</height> <height>193</height>
</rect> </size>
</property> </property>
<property name="verticalScrollBarPolicy"> </spacer>
<enum>Qt::ScrollBarAlwaysOff</enum> </item>
</property> </layout>
<property name="horizontalScrollBarPolicy">
<enum>Qt::ScrollBarAlwaysOff</enum>
</property>
</widget>
</widget> </widget>
</item> </item>
</layout> </layout>