]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/FindAndReplaceUi.ui
- make the advanced search/replace dialog play nice with size
[lyx.git] / src / frontends / qt4 / ui / FindAndReplaceUi.ui
1 <ui version="4.0">
2  <class>FindAndReplaceUi</class>
3  <widget class="QWidget" name="FindAndReplaceUi">
4   <property name="geometry">
5    <rect>
6     <x>0</x>
7     <y>0</y>
8     <width>288</width>
9     <height>366</height>
10    </rect>
11   </property>
12   <property name="windowTitle">
13    <string>Find LyX Text</string>
14   </property>
15   <property name="toolTip">
16    <string/>
17   </property>
18   <layout class="QGridLayout" name="gridLayout_3">
19    <item row="0" column="0">
20     <widget class="QTabWidget" name="tabWidget">
21      <property name="focusPolicy">
22       <enum>Qt::NoFocus</enum>
23      </property>
24      <property name="toolTip">
25       <string/>
26      </property>
27      <property name="statusTip">
28       <string/>
29      </property>
30      <property name="autoFillBackground">
31       <bool>false</bool>
32      </property>
33      <property name="currentIndex">
34       <number>0</number>
35      </property>
36      <widget class="QWidget" name="BasicTab">
37       <property name="sizePolicy">
38        <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
39         <horstretch>0</horstretch>
40         <verstretch>0</verstretch>
41        </sizepolicy>
42       </property>
43       <property name="focusPolicy">
44        <enum>Qt::NoFocus</enum>
45       </property>
46       <property name="toolTip">
47        <string/>
48       </property>
49       <property name="statusTip">
50        <string/>
51       </property>
52       <attribute name="title">
53        <string>&amp;Basic</string>
54       </attribute>
55       <layout class="QGridLayout" name="gridLayout">
56        <item row="0" column="0">
57         <widget class="QLabel" name="label">
58          <property name="text">
59           <string>&amp;Find:</string>
60          </property>
61          <property name="buddy">
62           <cstring>find_work_area_</cstring>
63          </property>
64         </widget>
65        </item>
66        <item row="1" column="0" colspan="2">
67         <widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_">
68          <property name="toolTip">
69           <string>Enter the text to search for in this full-featured LyX editing area</string>
70          </property>
71          <widget class="QWidget" name="find_scroll_area_">
72           <property name="geometry">
73            <rect>
74             <x>0</x>
75             <y>0</y>
76             <width>192</width>
77             <height>57</height>
78            </rect>
79           </property>
80           <property name="sizePolicy">
81            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
82             <horstretch>0</horstretch>
83             <verstretch>0</verstretch>
84            </sizepolicy>
85           </property>
86          </widget>
87         </widget>
88        </item>
89        <item row="2" column="0">
90         <widget class="QCheckBox" name="caseCB">
91          <property name="toolTip">
92           <string>Perform a case-sensitive search</string>
93          </property>
94          <property name="text">
95           <string>Case &amp;sensitive</string>
96          </property>
97         </widget>
98        </item>
99        <item row="2" column="1">
100         <widget class="QCheckBox" name="wordsCB">
101          <property name="enabled">
102           <bool>true</bool>
103          </property>
104          <property name="toolTip">
105           <string>Restrict search to whole words only</string>
106          </property>
107          <property name="text">
108           <string>Whole &amp;words</string>
109          </property>
110         </widget>
111        </item>
112        <item row="3" column="0" colspan="2">
113         <widget class="QPushButton" name="regexpInsertPB">
114          <property name="toolTip">
115           <string>Choose one of the pre-arranged regular expressions.</string>
116          </property>
117          <property name="text">
118           <string>Insert Re&amp;gular Expression...</string>
119          </property>
120         </widget>
121        </item>
122        <item row="4" column="0">
123         <widget class="QLabel" name="label_2">
124          <property name="text">
125           <string>&amp;Replace with:</string>
126          </property>
127          <property name="buddy">
128           <cstring>replace_work_area_</cstring>
129          </property>
130         </widget>
131        </item>
132        <item row="5" column="0" colspan="2">
133         <widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_">
134          <property name="toolTip">
135           <string>Enter the text to replace in this full-featured LyX editing area</string>
136          </property>
137          <widget class="QWidget" name="replace_scroll_area_">
138           <property name="geometry">
139            <rect>
140             <x>0</x>
141             <y>0</y>
142             <width>202</width>
143             <height>57</height>
144            </rect>
145           </property>
146           <property name="sizePolicy">
147            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
148             <horstretch>0</horstretch>
149             <verstretch>0</verstretch>
150            </sizepolicy>
151           </property>
152          </widget>
153         </widget>
154        </item>
155        <item row="6" column="0" colspan="2">
156         <layout class="QGridLayout" name="gridLayout_2">
157          <item row="0" column="0">
158           <widget class="QPushButton" name="findPrevPB">
159            <property name="enabled">
160             <bool>true</bool>
161            </property>
162            <property name="toolTip">
163             <string>Find previous occurrence [Shift+Enter]</string>
164            </property>
165            <property name="text">
166             <string>Find &amp;Previous</string>
167            </property>
168            <property name="default">
169             <bool>true</bool>
170            </property>
171           </widget>
172          </item>
173          <item row="0" column="1">
174           <widget class="QPushButton" name="findNextPB">
175            <property name="enabled">
176             <bool>true</bool>
177            </property>
178            <property name="toolTip">
179             <string>Find next occurrence [Enter]</string>
180            </property>
181            <property name="text">
182             <string>Find &amp;Next</string>
183            </property>
184            <property name="default">
185             <bool>true</bool>
186            </property>
187           </widget>
188          </item>
189          <item row="1" column="0">
190           <widget class="QPushButton" name="replacePrevPB">
191            <property name="enabled">
192             <bool>true</bool>
193            </property>
194            <property name="toolTip">
195             <string>Replace and find previous occurrence [Shift+Enter]</string>
196            </property>
197            <property name="text">
198             <string>Replace Pre&amp;vious</string>
199            </property>
200           </widget>
201          </item>
202          <item row="1" column="1">
203           <widget class="QPushButton" name="replaceNextPB">
204            <property name="enabled">
205             <bool>true</bool>
206            </property>
207            <property name="toolTip">
208             <string>Replace and find next occurrence [Enter]</string>
209            </property>
210            <property name="text">
211             <string>Replace Ne&amp;xt</string>
212            </property>
213           </widget>
214          </item>
215          <item row="2" column="1">
216           <widget class="QPushButton" name="replaceallPB">
217            <property name="enabled">
218             <bool>false</bool>
219            </property>
220            <property name="toolTip">
221             <string>Replace all occurences at once</string>
222            </property>
223            <property name="text">
224             <string>Replace &amp;All</string>
225            </property>
226           </widget>
227          </item>
228         </layout>
229        </item>
230       </layout>
231      </widget>
232      <widget class="QWidget" name="AdvancedTab">
233       <property name="sizePolicy">
234        <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
235         <horstretch>0</horstretch>
236         <verstretch>0</verstretch>
237        </sizepolicy>
238       </property>
239       <property name="toolTip">
240        <string/>
241       </property>
242       <property name="statusTip">
243        <string/>
244       </property>
245       <attribute name="title">
246        <string>&amp;Advanced</string>
247       </attribute>
248       <layout class="QVBoxLayout" name="verticalLayout_2">
249        <item>
250         <widget class="QGroupBox" name="groupBox_2">
251          <property name="enabled">
252           <bool>true</bool>
253          </property>
254          <property name="sizePolicy">
255           <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
256            <horstretch>0</horstretch>
257            <verstretch>0</verstretch>
258           </sizepolicy>
259          </property>
260          <property name="minimumSize">
261           <size>
262            <width>0</width>
263            <height>0</height>
264           </size>
265          </property>
266          <property name="toolTip">
267           <string>The scope to which the search horizon is restricted</string>
268          </property>
269          <property name="autoFillBackground">
270           <bool>false</bool>
271          </property>
272          <property name="title">
273           <string>Sco&amp;pe</string>
274          </property>
275          <property name="flat">
276           <bool>false</bool>
277          </property>
278          <layout class="QGridLayout" name="gridLayout_4">
279           <property name="margin">
280            <number>3</number>
281           </property>
282           <property name="spacing">
283            <number>0</number>
284           </property>
285           <item row="0" column="0">
286            <widget class="QRadioButton" name="CurrentParagraph">
287             <property name="enabled">
288              <bool>false</bool>
289             </property>
290             <property name="sizePolicy">
291              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
292               <horstretch>0</horstretch>
293               <verstretch>0</verstretch>
294              </sizepolicy>
295             </property>
296             <property name="toolTip">
297              <string>Current paragraph</string>
298             </property>
299             <property name="text">
300              <string>Current &amp;paragraph</string>
301             </property>
302             <property name="checked">
303              <bool>false</bool>
304             </property>
305            </widget>
306           </item>
307           <item row="1" column="0">
308            <widget class="QRadioButton" name="CurrentDocument">
309             <property name="enabled">
310              <bool>true</bool>
311             </property>
312             <property name="sizePolicy">
313              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
314               <horstretch>0</horstretch>
315               <verstretch>0</verstretch>
316              </sizepolicy>
317             </property>
318             <property name="text">
319              <string>Current &amp;document</string>
320             </property>
321             <property name="checked">
322              <bool>true</bool>
323             </property>
324            </widget>
325           </item>
326           <item row="2" column="0">
327            <widget class="QRadioButton" name="MasterDocument">
328             <property name="enabled">
329              <bool>true</bool>
330             </property>
331             <property name="sizePolicy">
332              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
333               <horstretch>0</horstretch>
334               <verstretch>0</verstretch>
335              </sizepolicy>
336             </property>
337             <property name="toolTip">
338              <string>Current document and all related documents belonging to the same master document</string>
339             </property>
340             <property name="text">
341              <string>&amp;Master document</string>
342             </property>
343            </widget>
344           </item>
345           <item row="3" column="0">
346            <widget class="QRadioButton" name="OpenDocuments">
347             <property name="enabled">
348              <bool>true</bool>
349             </property>
350             <property name="sizePolicy">
351              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
352               <horstretch>0</horstretch>
353               <verstretch>0</verstretch>
354              </sizepolicy>
355             </property>
356             <property name="toolTip">
357              <string>All open documents</string>
358             </property>
359             <property name="text">
360              <string>&amp;Open documents</string>
361             </property>
362            </widget>
363           </item>
364           <item row="4" column="0">
365            <widget class="QRadioButton" name="AllManualsRB">
366             <property name="enabled">
367              <bool>true</bool>
368             </property>
369             <property name="sizePolicy">
370              <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
371               <horstretch>0</horstretch>
372               <verstretch>0</verstretch>
373              </sizepolicy>
374             </property>
375             <property name="text">
376              <string>All ma&amp;nuals</string>
377             </property>
378            </widget>
379           </item>
380          </layout>
381         </widget>
382        </item>
383        <item>
384         <widget class="QCheckBox" name="ignoreFormatCB">
385          <property name="enabled">
386           <bool>true</bool>
387          </property>
388          <property name="sizePolicy">
389           <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
390            <horstretch>0</horstretch>
391            <verstretch>0</verstretch>
392           </sizepolicy>
393          </property>
394          <property name="toolTip">
395           <string>If unchecked, the search will be limited to occurrences of the selected text and paragraph style</string>
396          </property>
397          <property name="text">
398           <string>Ignore &amp;format</string>
399          </property>
400          <property name="checked">
401           <bool>true</bool>
402          </property>
403         </widget>
404        </item>
405        <item>
406         <widget class="QCheckBox" name="keepCaseCB">
407          <property name="sizePolicy">
408           <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
409            <horstretch>1</horstretch>
410            <verstretch>0</verstretch>
411           </sizepolicy>
412          </property>
413          <property name="toolTip">
414           <string>Keep the case of the replacement's first letter as in each matching text first letter</string>
415          </property>
416          <property name="text">
417           <string>&amp;Preserve first case on replace</string>
418          </property>
419         </widget>
420        </item>
421        <item>
422         <widget class="QCheckBox" name="expandMacrosCB">
423          <property name="enabled">
424           <bool>false</bool>
425          </property>
426          <property name="sizePolicy">
427           <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
428            <horstretch>0</horstretch>
429            <verstretch>0</verstretch>
430           </sizepolicy>
431          </property>
432          <property name="text">
433           <string>&amp;Expand macros</string>
434          </property>
435         </widget>
436        </item>
437        <item>
438         <spacer name="verticalSpacer">
439          <property name="orientation">
440           <enum>Qt::Vertical</enum>
441          </property>
442          <property name="sizeHint" stdset="0">
443           <size>
444            <width>13</width>
445            <height>168</height>
446           </size>
447          </property>
448         </spacer>
449        </item>
450       </layout>
451      </widget>
452     </widget>
453    </item>
454   </layout>
455  </widget>
456  <customwidgets>
457   <customwidget>
458    <class>lyx::frontend::EmbeddedWorkArea</class>
459    <extends>QScrollArea</extends>
460    <header location="global">GuiWorkArea.h</header>
461    <container>1</container>
462   </customwidget>
463  </customwidgets>
464  <includes>
465   <include location="local">qt_helpers.h</include>
466  </includes>
467  <resources/>
468  <connections/>
469 </ui>