]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/FindAndReplaceUi.ui
#6796 add sizePolicy to get the size of pushbuttons proper in spell checker and find...
[lyx.git] / src / frontends / qt4 / ui / FindAndReplaceUi.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>FindAndReplaceUi</class>
4  <widget class="QTabWidget" name="FindAndReplaceUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>279</width>
10     <height>300</height>
11    </rect>
12   </property>
13   <property name="windowTitle">
14    <string>TabWidget</string>
15   </property>
16   <property name="currentIndex">
17    <number>0</number>
18   </property>
19   <widget class="QWidget" name="basicTab">
20    <attribute name="title">
21     <string>Basi&amp;c</string>
22    </attribute>
23    <layout class="QGridLayout" name="gridLayout">
24     <item row="0" column="0">
25      <widget class="QLabel" name="label">
26       <property name="text">
27        <string>&amp;Find:</string>
28       </property>
29       <property name="buddy">
30        <cstring>find_work_area_</cstring>
31       </property>
32      </widget>
33     </item>
34     <item row="1" column="0" colspan="2">
35      <widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_" native="true">
36       <property name="sizePolicy">
37        <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
38         <horstretch>0</horstretch>
39         <verstretch>0</verstretch>
40        </sizepolicy>
41       </property>
42      </widget>
43     </item>
44     <item row="2" column="0">
45      <widget class="QLabel" name="label_2">
46       <property name="text">
47        <string>Replace &amp;with:</string>
48       </property>
49       <property name="buddy">
50        <cstring>replace_work_area_</cstring>
51       </property>
52      </widget>
53     </item>
54     <item row="3" column="0" colspan="2">
55      <widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_" native="true">
56       <property name="sizePolicy">
57        <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
58         <horstretch>0</horstretch>
59         <verstretch>0</verstretch>
60        </sizepolicy>
61       </property>
62      </widget>
63     </item>
64     <item row="4" column="0">
65      <widget class="QCheckBox" name="caseCB">
66       <property name="sizePolicy">
67        <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
68         <horstretch>0</horstretch>
69         <verstretch>0</verstretch>
70        </sizepolicy>
71       </property>
72       <property name="toolTip">
73        <string>Perform a case-sensitive search</string>
74       </property>
75       <property name="text">
76        <string>Case &amp;sensitive</string>
77       </property>
78      </widget>
79     </item>
80     <item row="4" column="1">
81      <widget class="QPushButton" name="findNextPB">
82       <property name="enabled">
83        <bool>true</bool>
84       </property>
85       <property name="sizePolicy">
86        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
87         <horstretch>100</horstretch>
88         <verstretch>32</verstretch>
89        </sizepolicy>
90       </property>
91       <property name="toolTip">
92        <string>Find next occurrence [Enter]</string>
93       </property>
94       <property name="text">
95        <string>Find &amp;Next</string>
96       </property>
97       <property name="default">
98        <bool>true</bool>
99       </property>
100      </widget>
101     </item>
102     <item row="5" column="0">
103      <widget class="QCheckBox" name="wordsCB">
104       <property name="enabled">
105        <bool>true</bool>
106       </property>
107       <property name="toolTip">
108        <string>Restrict search to whole words only</string>
109       </property>
110       <property name="text">
111        <string>W&amp;hole words</string>
112       </property>
113      </widget>
114     </item>
115     <item row="5" column="1">
116      <widget class="QPushButton" name="replacePB">
117       <property name="enabled">
118        <bool>true</bool>
119       </property>
120       <property name="sizePolicy">
121        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
122         <horstretch>100</horstretch>
123         <verstretch>32</verstretch>
124        </sizepolicy>
125       </property>
126       <property name="toolTip">
127        <string>Replace and find next occurrence [Enter]</string>
128       </property>
129       <property name="text">
130        <string>&amp;Replace</string>
131       </property>
132      </widget>
133     </item>
134     <item row="6" column="0">
135      <widget class="QCheckBox" name="searchbackCB">
136       <property name="text">
137        <string>Search &amp;backwards</string>
138       </property>
139      </widget>
140     </item>
141     <item row="6" column="1">
142      <widget class="QPushButton" name="replaceallPB">
143       <property name="enabled">
144        <bool>false</bool>
145       </property>
146       <property name="sizePolicy">
147        <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
148         <horstretch>100</horstretch>
149         <verstretch>32</verstretch>
150        </sizepolicy>
151       </property>
152       <property name="toolTip">
153        <string>Replace all occurences at once</string>
154       </property>
155       <property name="text">
156        <string>Replace &amp;All</string>
157       </property>
158      </widget>
159     </item>
160    </layout>
161   </widget>
162   <widget class="QWidget" name="advancedTab">
163    <attribute name="title">
164     <string>Ad&amp;vanced</string>
165    </attribute>
166    <layout class="QGridLayout" name="gridLayout_2">
167     <item row="0" column="0" colspan="2">
168      <widget class="QGroupBox" name="groupBox_2">
169       <property name="enabled">
170        <bool>true</bool>
171       </property>
172       <property name="minimumSize">
173        <size>
174         <width>0</width>
175         <height>0</height>
176        </size>
177       </property>
178       <property name="toolTip">
179        <string>The scope to which the search horizon is restricted</string>
180       </property>
181       <property name="autoFillBackground">
182        <bool>false</bool>
183       </property>
184       <property name="title">
185        <string>Sco&amp;pe</string>
186       </property>
187       <property name="flat">
188        <bool>false</bool>
189       </property>
190       <layout class="QVBoxLayout" name="verticalLayout">
191        <item>
192         <widget class="QRadioButton" name="CurrentParagraph">
193          <property name="enabled">
194           <bool>false</bool>
195          </property>
196          <property name="toolTip">
197           <string>Current paragraph</string>
198          </property>
199          <property name="text">
200           <string>Current &amp;paragraph</string>
201          </property>
202          <property name="checked">
203           <bool>false</bool>
204          </property>
205         </widget>
206        </item>
207        <item>
208         <widget class="QRadioButton" name="CurrentDocument">
209          <property name="enabled">
210           <bool>true</bool>
211          </property>
212          <property name="text">
213           <string>Current &amp;document</string>
214          </property>
215          <property name="checked">
216           <bool>true</bool>
217          </property>
218         </widget>
219        </item>
220        <item>
221         <widget class="QRadioButton" name="MasterDocument">
222          <property name="enabled">
223           <bool>true</bool>
224          </property>
225          <property name="sizePolicy">
226           <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
227            <horstretch>0</horstretch>
228            <verstretch>0</verstretch>
229           </sizepolicy>
230          </property>
231          <property name="toolTip">
232           <string>Current document and all related documents belonging to the same master document</string>
233          </property>
234          <property name="text">
235           <string>&amp;Master document</string>
236          </property>
237         </widget>
238        </item>
239        <item>
240         <widget class="QRadioButton" name="OpenDocuments">
241          <property name="enabled">
242           <bool>true</bool>
243          </property>
244          <property name="toolTip">
245           <string>All open documents</string>
246          </property>
247          <property name="text">
248           <string>&amp;Open documents</string>
249          </property>
250         </widget>
251        </item>
252        <item>
253         <widget class="QRadioButton" name="AllManualsRB">
254          <property name="enabled">
255           <bool>true</bool>
256          </property>
257          <property name="text">
258           <string>All ma&amp;nuals</string>
259          </property>
260         </widget>
261        </item>
262       </layout>
263      </widget>
264     </item>
265     <item row="1" column="0">
266      <widget class="QCheckBox" name="ignoreFormatCB">
267       <property name="enabled">
268        <bool>true</bool>
269       </property>
270       <property name="toolTip">
271        <string>If unchecked, the search will be limited to occurrences of the selected text and paragraph style</string>
272       </property>
273       <property name="text">
274        <string>Ignore &amp;format</string>
275       </property>
276       <property name="checked">
277        <bool>true</bool>
278       </property>
279      </widget>
280     </item>
281     <item row="2" column="0" colspan="2">
282      <widget class="QCheckBox" name="keepCaseCB">
283       <property name="toolTip">
284        <string>Keep the case of the replacement's first letter as in each matching text first letter</string>
285       </property>
286       <property name="text">
287        <string>&amp;Preserve first case on replace</string>
288       </property>
289      </widget>
290     </item>
291     <item row="3" column="0">
292      <widget class="QCheckBox" name="expandMacrosCB">
293       <property name="enabled">
294        <bool>false</bool>
295       </property>
296       <property name="text">
297        <string>&amp;Expand macros</string>
298       </property>
299      </widget>
300     </item>
301     <item row="4" column="1">
302      <spacer name="verticalSpacer">
303       <property name="orientation">
304        <enum>Qt::Vertical</enum>
305       </property>
306       <property name="sizeHint" stdset="0">
307        <size>
308         <width>105</width>
309         <height>2</height>
310        </size>
311       </property>
312      </spacer>
313     </item>
314    </layout>
315   </widget>
316  </widget>
317  <customwidgets>
318   <customwidget>
319    <class>lyx::frontend::EmbeddedWorkArea</class>
320    <extends>QWidget</extends>
321    <header>GuiWorkArea.h</header>
322    <container>1</container>
323   </customwidget>
324  </customwidgets>
325  <resources/>
326  <connections/>
327 </ui>