layout changes to references dialog

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2639 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Edwin Leuven 2001-08-31 09:07:00 +00:00
parent f3776968ca
commit 52b171dfb1
3 changed files with 238 additions and 387 deletions

View File

@ -1,3 +1,8 @@
2001-08-31 Edwin Leuven <leuven@fee.uva.nl>
* ui/QRefDialog.ui : minor layout tweak
* Qref.C: idem
2001-08-31 John Levon <moz@compsoc.man.ac.uk>
* QTabularCreateDialog.C: fix warnings

View File

@ -100,7 +100,7 @@ void QRef::setGoBack()
void QRef::setGotoRef()
{
dialog_->gotoPB->setText(_("&Go to reference"));
dialog_->gotoPB->setText(_("&Goto"));
QToolTip::remove(dialog_->gotoPB);
QToolTip::add(dialog_->gotoPB, _("Go to reference"));
}

View File

@ -13,15 +13,15 @@
<rect>
<x>0</x>
<y>0</y>
<width>401</width>
<height>277</height>
<width>246</width>
<height>321</height>
</rect>
</property>
<property stdset="1">
<name>caption</name>
<string>Reference</string>
</property>
<hbox>
<grid>
<property stdset="1">
<name>margin</name>
<number>11</number>
@ -30,151 +30,218 @@
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<widget row="3" column="1" rowspan="1" colspan="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>Layout30</cstring>
<cstring>nameED</cstring>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QListBox</class>
<property stdset="1">
<name>name</name>
<cstring>refsLB</cstring>
</property>
<property>
<name>toolTip</name>
<string>Available references</string>
</property>
</widget>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout29</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<spacer>
<property>
<name>name</name>
<cstring>Spacer4</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</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>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>updatePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Update</string>
</property>
<property>
<name>toolTip</name>
<string>Update the reference list</string>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer5</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</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>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>sortCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Sort</string>
</property>
<property>
<name>toolTip</name>
<string>Sort references in alphabetical order</string>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer6</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</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>
</hbox>
</widget>
</vbox>
</widget>
<widget>
<widget row="4" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>typeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Type</string>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignVCenter|AlignRight</set>
</property>
<property>
<name>buddy</name>
<cstring>typeLA</cstring>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<widget row="1" column="0" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>updatePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Update</string>
</property>
<property>
<name>toolTip</name>
<string>Update the reference list</string>
</property>
</widget>
<widget row="1" column="1" >
<class>QCheckBox</class>
<property stdset="1">
<name>name</name>
<cstring>sortCB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Sort</string>
</property>
<property>
<name>toolTip</name>
<string>Sort references in alphabetical order</string>
</property>
</widget>
<spacer row="1" column="2" >
<property>
<name>name</name>
<cstring>Spacer6</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Horizontal</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 row="1" column="3" >
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>gotoPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Goto</string>
</property>
<property>
<name>toolTip</name>
<string>Move the document cursor to reference</string>
</property>
</widget>
<widget row="4" column="1" rowspan="1" colspan="3" >
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>Reference</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Page number</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Ref on page xxx</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>On page xxx</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Pretty reference</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>typeCO</cstring>
</property>
<property>
<name>toolTip</name>
<string>Reference as it appears in output</string>
</property>
</widget>
<widget row="2" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>referenceL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Reference:</string>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignVCenter|AlignRight</set>
</property>
<property>
<name>buddy</name>
<cstring>referenceED</cstring>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<widget row="3" column="0" >
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>nameL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Name:</string>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignVCenter|AlignRight</set>
</property>
<property>
<name>buddy</name>
<cstring>nameED</cstring>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<widget row="0" column="0" rowspan="1" colspan="4" >
<class>QListBox</class>
<property stdset="1">
<name>name</name>
<cstring>refsLB</cstring>
</property>
<property stdset="1">
<name>sizePolicy</name>
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>3</vsizetype>
</sizepolicy>
</property>
<property>
<name>toolTip</name>
<string>Available references</string>
</property>
</widget>
<widget row="2" column="1" rowspan="1" colspan="3" >
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>referenceED</cstring>
</property>
</widget>
<widget row="5" column="0" rowspan="1" colspan="4" >
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout35</cstring>
<cstring>Layout8</cstring>
</property>
<vbox>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
@ -183,84 +250,6 @@
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout31</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>nameL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Name:</string>
</property>
<property>
<name>buddy</name>
<cstring>nameED</cstring>
</property>
</widget>
<widget>
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>nameED</cstring>
</property>
</widget>
</hbox>
</widget>
<widget>
<class>QLayoutWidget</class>
<property stdset="1">
<name>name</name>
<cstring>Layout32</cstring>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>referenceL</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Reference:</string>
</property>
<property>
<name>buddy</name>
<cstring>referenceED</cstring>
</property>
</widget>
<widget>
<class>QLineEdit</class>
<property stdset="1">
<name>name</name>
<cstring>referenceED</cstring>
</property>
</widget>
</hbox>
</widget>
<spacer>
<property>
<name>name</name>
@ -268,108 +257,7 @@
</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>
<cstring>Layout33</cstring>
</property>
<vbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QLabel</class>
<property stdset="1">
<name>name</name>
<cstring>typeLA</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>Reference &amp;type</string>
</property>
<property>
<name>buddy</name>
<cstring>typeLA</cstring>
</property>
<property stdset="1">
<name>alignment</name>
<set>AlignCenter</set>
</property>
<property>
<name>hAlign</name>
</property>
</widget>
<widget>
<class>QComboBox</class>
<item>
<property>
<name>text</name>
<string>Reference</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Page number</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Ref on page xxx</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>On page xxx</string>
</property>
</item>
<item>
<property>
<name>text</name>
<string>Pretty reference</string>
</property>
</item>
<property stdset="1">
<name>name</name>
<cstring>typeCO</cstring>
</property>
<property>
<name>toolTip</name>
<string>Reference as it appears in output</string>
</property>
</widget>
</vbox>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer8</cstring>
</property>
<property stdset="1">
<name>orientation</name>
<enum>Vertical</enum>
<enum>Horizontal</enum>
</property>
<property stdset="1">
<name>sizeType</name>
@ -387,84 +275,31 @@
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>gotoPB</cstring>
<cstring>okPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Goto reference</string>
<string>&amp;OK</string>
</property>
<property>
<name>toolTip</name>
<string>Move the document cursor</string>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
</widget>
<spacer>
<property>
<name>name</name>
<cstring>Spacer9</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>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>Layout34</cstring>
<cstring>closePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Close</string>
</property>
<hbox>
<property stdset="1">
<name>margin</name>
<number>0</number>
</property>
<property stdset="1">
<name>spacing</name>
<number>6</number>
</property>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>okPB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;OK</string>
</property>
<property stdset="1">
<name>default</name>
<bool>true</bool>
</property>
</widget>
<widget>
<class>QPushButton</class>
<property stdset="1">
<name>name</name>
<cstring>closePB</cstring>
</property>
<property stdset="1">
<name>text</name>
<string>&amp;Close</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</hbox>
</widget>
</hbox>
</grid>
</widget>
<connections>
<connection>
@ -528,4 +363,15 @@
<slot access="public">sortToggled(bool)</slot>
<slot access="public">updateClicked()</slot>
</connections>
<tabstops>
<tabstop>refsLB</tabstop>
<tabstop>updatePB</tabstop>
<tabstop>sortCB</tabstop>
<tabstop>gotoPB</tabstop>
<tabstop>referenceED</tabstop>
<tabstop>nameED</tabstop>
<tabstop>typeCO</tabstop>
<tabstop>okPB</tabstop>
<tabstop>closePB</tabstop>
</tabstops>
</UI>