diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-05-30 13:36:00 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-06-01 15:43:43 -0700 |
commit | 52ccb5783255a5d896c2d74af0953a8dfa18a0f6 (patch) | |
tree | 6ed56292edcdcede04a8e0e1b8b9fe13c469b23b /qt-ui | |
parent | 57d3baa410743154fefa1e40d991e24bc594f17a (diff) | |
download | subsurface-52ccb5783255a5d896c2d74af0953a8dfa18a0f6.tar.gz |
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>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/shiftimagetimes.ui | 92 |
1 files changed, 44 insertions, 48 deletions
diff --git a/qt-ui/shiftimagetimes.ui b/qt-ui/shiftimagetimes.ui index ee05c6362..5b6bb4133 100644 --- a/qt-ui/shiftimagetimes.ui +++ b/qt-ui/shiftimagetimes.ui @@ -167,54 +167,50 @@ <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> - <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> - <height>60</height> - </size> - </property> - <property name="text"> - <string>Which date and time are displayed on the image?</string> - </property> - <property name="wordWrap"> - <bool>true</bool> - </property> - </widget> - <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> - <property name="horizontalScrollBarPolicy"> - <enum>Qt::ScrollBarAlwaysOff</enum> - </property> - </widget> + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="label_2"> + <property name="maximumSize"> + <size> + <width>16777215</width> + <height>60</height> + </size> + </property> + <property name="text"> + <string>Which date and time are displayed on the image?</string> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + </widget> + </item> + <item row="0" column="1" rowspan="3"> + <widget class="QGraphicsView" name="DCImage"> + <property name="verticalScrollBarPolicy"> + <enum>Qt::ScrollBarAlwaysOff</enum> + </property> + <property name="horizontalScrollBarPolicy"> + <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> |