fix minipage layout

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2702 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
John Levon 2001-09-06 14:24:09 +00:00
parent e297ba53fb
commit 8adbe1580e
4 changed files with 179 additions and 159 deletions

View File

@ -1,3 +1,9 @@
2001-09-06 John Levon <moz@compsoc.man.ac.uk>
* ui/QMinipageDialog.ui: fix layout, remove old slot
* QRefDialog.C: fix warning
2001-09-02 Edwin Leuven <leuven@fee.uva.nl>
* ui/QSpellcheckerDialog.ui: reworded layout

View File

@ -59,7 +59,7 @@ void QRefDialog::refHighlighted(const QString & sel)
}
void QRefDialog::refSelected(const QString & sel)
void QRefDialog::refSelected(const QString &)
{
form_->gotoRef();
}

View File

@ -15,7 +15,7 @@
<x>0</x>
<y>0</y>
<width>369</width>
<height>104</height>
<height>111</height>
</rect>
</property>
<property stdset="1">
@ -28,7 +28,7 @@
<property>
<name>layoutSpacing</name>
</property>
<grid>
<vbox>
<property stdset="1">
<name>margin</name>
<number>11</number>
@ -37,7 +37,174 @@
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="0" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>widthLA</cstring>
</property>
<property stdset="1">
<name>frameShape</name>
<enum>MShape</enum>
</property>
<property stdset="1">
<name>frameShadow</name>
<enum>MShadow</enum>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Width:</string>
</property>
<property>
<name>buddy</name>
<cstring>widthED</cstring>
</property>
</widget>
<widget row="1" column="2" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>Top</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Middle</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Bottom</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>valignCO</cstring>
</property>
<property>
<name>toolTip</name>
<string>Vertical alignment</string>
</property>
</widget>
<widget row="0" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>valignLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>A&amp;lignment:</string>
</property>
<property>
<name>buddy</name>
<cstring>valignCO</cstring>
</property>
</widget>
<widget row="1" column="1" >
<class>LengthCombo</class>
<property stdset="1">
<name>name</name>
<cstring>unitsLC</cstring>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>0</vsizetype>
</sizepolicy>
</property>
<property stdset="1">
<name>minimumSize</name>
<size>
<width>40</width>
<height>22</height>
</size>
</property>
<property stdset="1">
<name>focusPolicy</name>
<enum>StrongFocus</enum>
</property>
<property>
<name>toolTip</name>
<string>Units of width value</string>
</property>
</widget>
<widget row="1" column="0" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>widthED</cstring>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
</sizepolicy>
</property>
<property>
<name>toolTip</name>
<string>Width value</string>
</property>
</widget>
<widget row="0" column="1" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>unitsLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Units:</string>
</property>
<property>
<name>buddy</name>
<cstring>unitsLC</cstring>
</property>
</widget>
</grid>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer1_2</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
</property>
<property stdset="1">
<name>sizeType</name>
<enum>Expanding</enum>
</property>
<property>
<name>sizeHint</name>
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
@ -147,153 +314,7 @@
</widget>
</hbox>
</widget>
<widget row="0" column="0" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout3</cstring>
</property>
<grid>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget row="0" column="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>unitsLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Units:</string>
</property>
<property>
<name>buddy</name>
<cstring>unitsLC</cstring>
</property>
</widget>
<widget row="0" column="0" rowspan="1" colspan="2" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>widthLA</cstring>
</property>
<property stdset="1">
<name>frameShape</name>
<enum>MShape</enum>
</property>
<property stdset="1">
<name>frameShadow</name>
<enum>MShadow</enum>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Width:</string>
</property>
<property>
<name>buddy</name>
<cstring>widthED</cstring>
</property>
</widget>
<widget row="1" column="1" rowspan="1" colspan="2" >
<class>LengthCombo</class>
<property stdset="1">
<name>name</name>
<cstring>unitsLC</cstring>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>0</vsizetype>
</sizepolicy>
</property>
<property stdset="1">
<name>minimumSize</name>
<size>
<width>40</width>
<height>22</height>
</size>
</property>
<property stdset="1">
<name>focusPolicy</name>
<enum>StrongFocus</enum>
</property>
<property>
<name>toolTip</name>
<string>Units of width value</string>
</property>
</widget>
<widget row="0" column="3" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>valignLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>A&amp;lignment:</string>
</property>
<property>
<name>buddy</name>
<cstring>valignCO</cstring>
</property>
</widget>
<widget row="1" column="0" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>widthED</cstring>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
</sizepolicy>
</property>
<property>
<name>toolTip</name>
<string>Width value</string>
</property>
</widget>
<widget row="1" column="3" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>Top</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Middle</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Bottom</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>valignCO</cstring>
</property>
<property>
<name>toolTip</name>
<string>Vertical alignment</string>
</property>
</widget>
</grid>
</widget>
</grid>
</vbox>
</widget>
<customwidgets>
<customwidget>
@ -319,12 +340,6 @@
</image>
</images>
<connections>
<connection>
<sender>applyPB</sender>
<signal>clicked()</signal>
<receiver>QMinipageDialogBase</receiver>
<slot>updateClicked()</slot>
</connection>
<connection>
<sender>widthED</sender>
<signal>textChanged(const QString&amp;)</signal>
@ -344,7 +359,6 @@
<slot>change_adaptor()</slot>
</connection>
<slot access="public">change_adaptor()</slot>
<slot access="public">updateClicked()</slot>
</connections>
<tabstops>
<tabstop>widthED</tabstop>