]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/FindAndReplaceUi.ui
First implementation of feature in bug #3696
[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="QWidget" name="FindAndReplaceUi">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>269</width>
10     <height>421</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>220</width>
22     <height>360</height>
23    </size>
24   </property>
25   <property name="maximumSize">
26    <size>
27     <width>16777215</width>
28     <height>500</height>
29    </size>
30   </property>
31   <property name="baseSize">
32    <size>
33     <width>300</width>
34     <height>400</height>
35    </size>
36   </property>
37   <property name="windowTitle">
38    <string>Find LyX Text</string>
39   </property>
40   <property name="toolTip">
41    <string/>
42   </property>
43   <layout class="QVBoxLayout" name="verticalLayout">
44    <item>
45     <widget class="QTabWidget" name="tabWidget">
46      <property name="sizePolicy">
47       <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
48        <horstretch>0</horstretch>
49        <verstretch>0</verstretch>
50       </sizepolicy>
51      </property>
52      <property name="autoFillBackground">
53       <bool>false</bool>
54      </property>
55      <property name="currentIndex">
56       <number>0</number>
57      </property>
58      <widget class="QWidget" name="tab_3">
59       <property name="sizePolicy">
60        <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
61         <horstretch>0</horstretch>
62         <verstretch>0</verstretch>
63        </sizepolicy>
64       </property>
65       <attribute name="title">
66        <string>Basic</string>
67       </attribute>
68       <layout class="QGridLayout" name="gridLayout_3">
69        <item row="0" column="0">
70         <layout class="QGridLayout" name="gridLayout">
71          <property name="sizeConstraint">
72           <enum>QLayout::SetNoConstraint</enum>
73          </property>
74          <item row="0" column="0" colspan="2">
75           <widget class="QGroupBox" name="groupBox">
76            <property name="sizePolicy">
77             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
78              <horstretch>0</horstretch>
79              <verstretch>0</verstretch>
80             </sizepolicy>
81            </property>
82            <property name="minimumSize">
83             <size>
84              <width>0</width>
85              <height>60</height>
86             </size>
87            </property>
88            <property name="maximumSize">
89             <size>
90              <width>16777215</width>
91              <height>16777215</height>
92             </size>
93            </property>
94            <property name="baseSize">
95             <size>
96              <width>0</width>
97              <height>128</height>
98             </size>
99            </property>
100            <property name="toolTip">
101             <string>Enter the text to search for in this full-featured LyX editing area</string>
102            </property>
103            <property name="title">
104             <string>&amp;Find...</string>
105            </property>
106            <layout class="QGridLayout" name="gridLayout_5">
107             <property name="leftMargin">
108              <number>0</number>
109             </property>
110             <property name="topMargin">
111              <number>4</number>
112             </property>
113             <property name="rightMargin">
114              <number>4</number>
115             </property>
116             <property name="bottomMargin">
117              <number>4</number>
118             </property>
119             <item row="0" column="0" colspan="2">
120              <widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_">
121               <property name="minimumSize">
122                <size>
123                 <width>0</width>
124                 <height>0</height>
125                </size>
126               </property>
127               <property name="baseSize">
128                <size>
129                 <width>0</width>
130                 <height>48</height>
131                </size>
132               </property>
133               <property name="toolTip">
134                <string>Enter the text to search for in this full-featured LyX editing area</string>
135               </property>
136               <property name="widgetResizable">
137                <bool>true</bool>
138               </property>
139               <widget class="QWidget" name="scrollAreaWidgetContents">
140                <property name="geometry">
141                 <rect>
142                  <x>0</x>
143                  <y>0</y>
144                  <width>211</width>
145                  <height>43</height>
146                 </rect>
147                </property>
148                <property name="sizePolicy">
149                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
150                  <horstretch>0</horstretch>
151                  <verstretch>0</verstretch>
152                 </sizepolicy>
153                </property>
154               </widget>
155              </widget>
156             </item>
157             <item row="1" column="0">
158              <widget class="QCheckBox" name="caseCB">
159               <property name="sizePolicy">
160                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
161                 <horstretch>0</horstretch>
162                 <verstretch>0</verstretch>
163                </sizepolicy>
164               </property>
165               <property name="text">
166                <string>Case &amp;sensitive</string>
167               </property>
168              </widget>
169             </item>
170             <item row="2" column="0" colspan="2">
171              <widget class="QComboBox" name="regexpInsertCombo">
172               <property name="enabled">
173                <bool>true</bool>
174               </property>
175               <property name="sizePolicy">
176                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
177                 <horstretch>0</horstretch>
178                 <verstretch>0</verstretch>
179                </sizepolicy>
180               </property>
181               <item>
182                <property name="text">
183                 <string>Match...</string>
184                </property>
185               </item>
186               <item>
187                <property name="text">
188                 <string>Anything</string>
189                </property>
190               </item>
191               <item>
192                <property name="text">
193                 <string>Any non-empty</string>
194                </property>
195               </item>
196               <item>
197                <property name="text">
198                 <string>Any word</string>
199                </property>
200               </item>
201               <item>
202                <property name="text">
203                 <string>Any number</string>
204                </property>
205               </item>
206              </widget>
207             </item>
208             <item row="3" column="0">
209              <widget class="QPushButton" name="findNextPB">
210               <property name="enabled">
211                <bool>true</bool>
212               </property>
213               <property name="sizePolicy">
214                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
215                 <horstretch>0</horstretch>
216                 <verstretch>0</verstretch>
217                </sizepolicy>
218               </property>
219               <property name="text">
220                <string>&amp;Next</string>
221               </property>
222               <property name="default">
223                <bool>true</bool>
224               </property>
225              </widget>
226             </item>
227             <item row="3" column="1">
228              <widget class="QPushButton" name="findPrevPB">
229               <property name="enabled">
230                <bool>true</bool>
231               </property>
232               <property name="sizePolicy">
233                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
234                 <horstretch>0</horstretch>
235                 <verstretch>0</verstretch>
236                </sizepolicy>
237               </property>
238               <property name="text">
239                <string>&amp;Prev</string>
240               </property>
241               <property name="default">
242                <bool>true</bool>
243               </property>
244              </widget>
245             </item>
246             <item row="1" column="1">
247              <widget class="QCheckBox" name="wordsCB">
248               <property name="enabled">
249                <bool>false</bool>
250               </property>
251               <property name="sizePolicy">
252                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
253                 <horstretch>0</horstretch>
254                 <verstretch>0</verstretch>
255                </sizepolicy>
256               </property>
257               <property name="text">
258                <string>Whole &amp;words</string>
259               </property>
260              </widget>
261             </item>
262            </layout>
263           </widget>
264          </item>
265          <item row="4" column="0" colspan="2">
266           <widget class="QGroupBox" name="groupBox_3">
267            <property name="sizePolicy">
268             <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
269              <horstretch>0</horstretch>
270              <verstretch>0</verstretch>
271             </sizepolicy>
272            </property>
273            <property name="minimumSize">
274             <size>
275              <width>0</width>
276              <height>60</height>
277             </size>
278            </property>
279            <property name="maximumSize">
280             <size>
281              <width>16777215</width>
282              <height>16777215</height>
283             </size>
284            </property>
285            <property name="toolTip">
286             <string>Enter the text to replace in this full-featured LyX editing area</string>
287            </property>
288            <property name="title">
289             <string>&amp;Replace with...</string>
290            </property>
291            <layout class="QGridLayout" name="gridLayout_6">
292             <property name="leftMargin">
293              <number>0</number>
294             </property>
295             <property name="topMargin">
296              <number>4</number>
297             </property>
298             <property name="rightMargin">
299              <number>4</number>
300             </property>
301             <property name="bottomMargin">
302              <number>4</number>
303             </property>
304             <item row="0" column="0" colspan="2">
305              <widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_">
306               <property name="minimumSize">
307                <size>
308                 <width>0</width>
309                 <height>0</height>
310                </size>
311               </property>
312               <property name="baseSize">
313                <size>
314                 <width>0</width>
315                 <height>48</height>
316                </size>
317               </property>
318               <property name="toolTip">
319                <string>Enter the text to replace in this full-featured LyX editing area</string>
320               </property>
321               <property name="widgetResizable">
322                <bool>true</bool>
323               </property>
324               <widget class="QWidget" name="scrollAreaWidgetContents_2">
325                <property name="geometry">
326                 <rect>
327                  <x>0</x>
328                  <y>0</y>
329                  <width>211</width>
330                  <height>43</height>
331                 </rect>
332                </property>
333                <property name="sizePolicy">
334                 <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
335                  <horstretch>0</horstretch>
336                  <verstretch>0</verstretch>
337                 </sizepolicy>
338                </property>
339               </widget>
340              </widget>
341             </item>
342             <item row="1" column="0">
343              <widget class="QPushButton" name="replaceNextPB">
344               <property name="enabled">
345                <bool>true</bool>
346               </property>
347               <property name="sizePolicy">
348                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
349                 <horstretch>1</horstretch>
350                 <verstretch>0</verstretch>
351                </sizepolicy>
352               </property>
353               <property name="text">
354                <string>Ne&amp;xt</string>
355               </property>
356              </widget>
357             </item>
358             <item row="1" column="1">
359              <widget class="QPushButton" name="replacePrevPB">
360               <property name="enabled">
361                <bool>true</bool>
362               </property>
363               <property name="sizePolicy">
364                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
365                 <horstretch>1</horstretch>
366                 <verstretch>0</verstretch>
367                </sizepolicy>
368               </property>
369               <property name="text">
370                <string>P&amp;rev</string>
371               </property>
372              </widget>
373             </item>
374             <item row="2" column="0" colspan="2">
375              <widget class="QPushButton" name="replaceallPB">
376               <property name="enabled">
377                <bool>false</bool>
378               </property>
379               <property name="sizePolicy">
380                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
381                 <horstretch>0</horstretch>
382                 <verstretch>0</verstretch>
383                </sizepolicy>
384               </property>
385               <property name="text">
386                <string>Replace &amp;All</string>
387               </property>
388              </widget>
389             </item>
390             <item row="3" column="0">
391              <widget class="QCheckBox" name="keepCaseCB">
392               <property name="sizePolicy">
393                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
394                 <horstretch>1</horstretch>
395                 <verstretch>0</verstretch>
396                </sizepolicy>
397               </property>
398               <property name="toolTip">
399                <string>Keep the case of the replacement first letter as in each matching text first letter</string>
400               </property>
401               <property name="text">
402                <string>&amp;Keep case</string>
403               </property>
404              </widget>
405             </item>
406             <item row="3" column="1">
407              <widget class="QPushButton" name="closePB">
408               <property name="sizePolicy">
409                <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
410                 <horstretch>1</horstretch>
411                 <verstretch>0</verstretch>
412                </sizepolicy>
413               </property>
414               <property name="text">
415                <string>&amp;Close</string>
416               </property>
417              </widget>
418             </item>
419            </layout>
420           </widget>
421          </item>
422         </layout>
423        </item>
424       </layout>
425      </widget>
426      <widget class="QWidget" name="tab_4">
427       <property name="sizePolicy">
428        <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
429         <horstretch>0</horstretch>
430         <verstretch>0</verstretch>
431        </sizepolicy>
432       </property>
433       <attribute name="title">
434        <string>Advanced</string>
435       </attribute>
436       <layout class="QHBoxLayout" name="horizontalLayout">
437        <item>
438         <layout class="QGridLayout" name="gridLayout_2">
439          <property name="sizeConstraint">
440           <enum>QLayout::SetDefaultConstraint</enum>
441          </property>
442          <item row="0" column="0">
443           <widget class="QGroupBox" name="groupBox_2">
444            <property name="enabled">
445             <bool>false</bool>
446            </property>
447            <property name="sizePolicy">
448             <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
449              <horstretch>0</horstretch>
450              <verstretch>0</verstretch>
451             </sizepolicy>
452            </property>
453            <property name="minimumSize">
454             <size>
455              <width>0</width>
456              <height>112</height>
457             </size>
458            </property>
459            <property name="autoFillBackground">
460             <bool>false</bool>
461            </property>
462            <property name="title">
463             <string>Sco&amp;pe</string>
464            </property>
465            <property name="flat">
466             <bool>false</bool>
467            </property>
468            <layout class="QGridLayout" name="gridLayout_4">
469             <property name="margin">
470              <number>3</number>
471             </property>
472             <property name="spacing">
473              <number>0</number>
474             </property>
475             <item row="0" column="0">
476              <widget class="QRadioButton" name="scopeRB_2">
477               <property name="toolTip">
478                <string>Current paragraph only</string>
479               </property>
480               <property name="text">
481                <string>Current &amp;Paragraph</string>
482               </property>
483               <property name="checked">
484                <bool>false</bool>
485               </property>
486              </widget>
487             </item>
488             <item row="1" column="0">
489              <widget class="QRadioButton" name="scopeRB">
490               <property name="toolTip">
491                <string>Current buffer only</string>
492               </property>
493               <property name="text">
494                <string>Buffer</string>
495               </property>
496               <property name="checked">
497                <bool>true</bool>
498               </property>
499              </widget>
500             </item>
501             <item row="2" column="0">
502              <widget class="QRadioButton" name="scopeRB_3">
503               <property name="toolTip">
504                <string>Current file and all included files</string>
505               </property>
506               <property name="text">
507                <string>Document</string>
508               </property>
509              </widget>
510             </item>
511             <item row="3" column="0">
512              <widget class="QRadioButton" name="scopeRB_4">
513               <property name="toolTip">
514                <string>All open buffers</string>
515               </property>
516               <property name="text">
517                <string>Open buffers</string>
518               </property>
519              </widget>
520             </item>
521            </layout>
522           </widget>
523          </item>
524          <item row="2" column="0">
525           <widget class="QCheckBox" name="expandMacrosCB">
526            <property name="enabled">
527             <bool>false</bool>
528            </property>
529            <property name="sizePolicy">
530             <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
531              <horstretch>0</horstretch>
532              <verstretch>0</verstretch>
533             </sizepolicy>
534            </property>
535            <property name="text">
536             <string>&amp;Expand macros</string>
537            </property>
538           </widget>
539          </item>
540          <item row="1" column="0">
541           <widget class="QCheckBox" name="ignoreFormatCB">
542            <property name="enabled">
543             <bool>true</bool>
544            </property>
545            <property name="sizePolicy">
546             <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
547              <horstretch>0</horstretch>
548              <verstretch>0</verstretch>
549             </sizepolicy>
550            </property>
551            <property name="text">
552             <string>Ignore For&amp;mat</string>
553            </property>
554            <property name="checked">
555             <bool>true</bool>
556            </property>
557           </widget>
558          </item>
559          <item row="3" column="0">
560           <spacer name="verticalSpacer">
561            <property name="orientation">
562             <enum>Qt::Vertical</enum>
563            </property>
564            <property name="sizeHint" stdset="0">
565             <size>
566              <width>20</width>
567              <height>40</height>
568             </size>
569            </property>
570           </spacer>
571          </item>
572         </layout>
573        </item>
574       </layout>
575      </widget>
576     </widget>
577    </item>
578   </layout>
579  </widget>
580  <customwidgets>
581   <customwidget>
582    <class>lyx::frontend::EmbeddedWorkArea</class>
583    <extends>QScrollArea</extends>
584    <header location="global">GuiWorkArea.h</header>
585    <container>1</container>
586   </customwidget>
587  </customwidgets>
588  <includes>
589   <include location="local">qt_helpers.h</include>
590  </includes>
591  <resources/>
592  <connections/>
593 </ui>