#6796 add sizePolicy to get the size of pushbuttons proper in spell checker and find/replace ui

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35544 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2010-09-30 06:43:04 +00:00
parent e32396ba76
commit 4127f57e32
2 changed files with 64 additions and 8 deletions

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>FindAndReplaceUi</class>
<widget class="QTabWidget" name="FindAndReplaceUi">
@ -5,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>234</width>
<height>262</height>
<width>279</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
@ -81,6 +82,12 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Find next occurrence [Enter]</string>
</property>
@ -110,6 +117,12 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Replace and find next occurrence [Enter]</string>
</property>
@ -130,6 +143,12 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Replace all occurences at once</string>
</property>

View File

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SpellcheckerUi</class>
<widget class="QDockWidget" name="SpellcheckerUi">
@ -67,6 +68,12 @@
</item>
<item row="3" column="1">
<widget class="QPushButton" name="findNextPB">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Replace word with current choice</string>
</property>
@ -87,12 +94,6 @@
</item>
<item row="5" column="0">
<widget class="QComboBox" name="replaceCO">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::StrongFocus</enum>
</property>
@ -115,6 +116,12 @@
</item>
<item row="5" column="1">
<widget class="QPushButton" name="replacePB">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Replace word with current choice</string>
</property>
@ -135,6 +142,12 @@
</item>
<item row="6" column="1">
<widget class="QPushButton" name="replaceAllPB">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Replace word with current choice</string>
</property>
@ -148,6 +161,12 @@
</item>
<item row="7" column="1">
<widget class="QPushButton" name="ignorePB">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Ignore this word</string>
</property>
@ -158,6 +177,12 @@
</item>
<item row="8" column="1">
<widget class="QPushButton" name="ignoreAllPB">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Ignore this word throughout this session</string>
</property>
@ -168,6 +193,12 @@
</item>
<item row="9" column="1">
<widget class="QPushButton" name="addPB">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Add the word to your personal dictionary</string>
</property>
@ -204,6 +235,12 @@
</item>
<item row="11" column="1">
<widget class="QPushButton" name="closePB">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>100</horstretch>
<verstretch>32</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>&amp;Close</string>
</property>