Attempt to fix #8137 (arrived at r40862).

1) Revert to designer compilable by older Qt's
2) Remove spacer in right part of dialog
3) Decrease height.
Richard, please check.
This commit is contained in:
Pavel Sanda 2012-04-24 01:32:45 +02:00
parent 88dfafdfe5
commit ca0434c0df

View File

@ -1,113 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0" >
<ui version="4.0">
<class>ViewSourceUi</class> <class>ViewSourceUi</class>
<widget class="QWidget" name="ViewSourceUi"> <widget class="QWidget" name="ViewSourceUi" >
<property name="geometry"> <property name="geometry" >
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>528</width> <width>528</width>
<height>205</height> <height>139</height>
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle" >
<string/> <string/>
</property> </property>
<layout class="QGridLayout" name="gridLayout"> <layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" rowspan="5"> <item rowspan="5" row="0" column="0" >
<widget class="QTextEdit" name="viewSourceTV"> <widget class="QTextEdit" name="viewSourceTV" >
<property name="sizePolicy"> <property name="sizePolicy" >
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Ignored"> <sizepolicy vsizetype="Ignored" hsizetype="MinimumExpanding" >
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="whatsThis"> <property name="whatsThis" >
<string/> <string/>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="1"> <item row="0" column="1" >
<widget class="QLabel" name="outputFormatLA"> <widget class="QLabel" name="outputFormatLA" >
<property name="text"> <property name="text" >
<string>F&amp;ormat:</string> <string>F&amp;ormat:</string>
</property> </property>
<property name="buddy"> <property name="buddy" >
<cstring>outputFormatCO</cstring> <cstring>outputFormatCO</cstring>
</property> </property>
</widget> </widget>
</item> </item>
<item row="0" column="2"> <item row="0" column="2" >
<widget class="QComboBox" name="outputFormatCO"> <widget class="QComboBox" name="outputFormatCO" >
<property name="enabled"> <property name="enabled" >
<bool>true</bool> <bool>true</bool>
</property> </property>
<property name="toolTip"> <property name="toolTip" >
<string>Select the output format</string> <string>Select the output format</string>
</property> </property>
<property name="sizeAdjustPolicy"> <property name="sizeAdjustPolicy" >
<enum>QComboBox::AdjustToContents</enum> <enum>QComboBox::AdjustToContents</enum>
</property> </property>
</widget> </widget>
</item> </item>
<item row="1" column="1" colspan="2"> <item row="1" column="1" colspan="2" >
<widget class="QComboBox" name="contentsCO"> <widget class="QComboBox" name="contentsCO" >
<item> <item>
<property name="text"> <property name="text" >
<string>Current Paragraph</string> <string>Current Paragraph</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text" >
<string>Complete Source</string> <string>Complete Source</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text" >
<string>Preamble Only</string> <string>Preamble Only</string>
</property> </property>
</item> </item>
<item> <item>
<property name="text"> <property name="text" >
<string>Body Only</string> <string>Body Only</string>
</property> </property>
</item> </item>
</widget> </widget>
</item> </item>
<item row="2" column="1" colspan="2"> <item row="3" column="1" colspan="2" >
<widget class="QCheckBox" name="autoUpdateCB"> <widget class="QPushButton" name="updatePB" >
<property name="text"> <property name="enabled" >
<string>Automatic update</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="1" colspan="2">
<widget class="QPushButton" name="updatePB">
<property name="enabled">
<bool>false</bool> <bool>false</bool>
</property> </property>
<property name="text"> <property name="text" >
<string>&amp;Update</string> <string>&amp;Update</string>
</property> </property>
</widget> </widget>
</item> </item>
<item row="4" column="1" colspan="2"> <item row="2" column="1" colspan="2" >
<spacer> <widget class="QCheckBox" name="autoUpdateCB" >
<property name="orientation"> <property name="text" >
<enum>Qt::Vertical</enum> <string>Automatic update</string>
</property> </property>
<property name="sizeHint" stdset="0"> <property name="checked" >
<size> <bool>true</bool>
<width>20</width>
<height>85</height>
</size>
</property> </property>
</spacer> </widget>
</item> </item>
</layout> </layout>
<zorder>viewSourceTV</zorder>
<zorder>outputFormatLA</zorder>
<zorder>outputFormatCO</zorder>
<zorder>contentsCO</zorder>
<zorder>updatePB</zorder>
<zorder>autoUpdateCB</zorder>
</widget> </widget>
<tabstops> <tabstops>
<tabstop>viewSourceTV</tabstop> <tabstop>viewSourceTV</tabstop>
@ -115,7 +107,7 @@
<tabstop>updatePB</tabstop> <tabstop>updatePB</tabstop>
</tabstops> </tabstops>
<includes> <includes>
<include location="local">qt_i18n.h</include> <include location="local" >qt_i18n.h</include>
</includes> </includes>
<resources/> <resources/>
<connections/> <connections/>