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.
This commit is contained in:
Pavel Sanda 2012-04-24 01:54:31 +02:00
parent e56ee0b2e6
commit 8ea66efe16

View File

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