]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/FindAndReplaceUi.ui
Added scrollbar that shows up when dialog too small, so all buttons are accessible.
[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>325</width>
10     <height>523</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Minimum" vsizetype="Expanding">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>0</width>
22     <height>0</height>
23    </size>
24   </property>
25   <property name="maximumSize">
26    <size>
27     <width>16777215</width>
28     <height>16777215</height>
29    </size>
30   </property>
31   <property name="baseSize">
32    <size>
33     <width>0</width>
34     <height>0</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="QScrollArea" name="scrollArea">
46      <property name="widgetResizable">
47       <bool>true</bool>
48      </property>
49      <widget class="QWidget" name="scrollAreaWidgetContents">
50       <property name="geometry">
51        <rect>
52         <x>0</x>
53         <y>0</y>
54         <width>303</width>
55         <height>501</height>
56        </rect>
57       </property>
58       <layout class="QGridLayout" name="gridLayout">
59        <item row="0" column="0">
60         <widget class="QTabWidget" name="tabWidget">
61          <property name="sizePolicy">
62           <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
63            <horstretch>0</horstretch>
64            <verstretch>0</verstretch>
65           </sizepolicy>
66          </property>
67          <property name="toolTip">
68           <string/>
69          </property>
70          <property name="statusTip">
71           <string/>
72          </property>
73          <property name="autoFillBackground">
74           <bool>false</bool>
75          </property>
76          <property name="currentIndex">
77           <number>0</number>
78          </property>
79          <widget class="QWidget" name="tab_3">
80           <property name="sizePolicy">
81            <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
82             <horstretch>0</horstretch>
83             <verstretch>0</verstretch>
84            </sizepolicy>
85           </property>
86           <property name="toolTip">
87            <string/>
88           </property>
89           <property name="statusTip">
90            <string/>
91           </property>
92           <attribute name="title">
93            <string>&amp;Basic</string>
94           </attribute>
95           <layout class="QGridLayout" name="gridLayout_3">
96            <item row="2" column="0">
97             <widget class="QFrame" name="replace_frame">
98              <property name="sizePolicy">
99               <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
100                <horstretch>0</horstretch>
101                <verstretch>0</verstretch>
102               </sizepolicy>
103              </property>
104              <property name="accessibleName">
105               <string/>
106              </property>
107              <property name="frameShape">
108               <enum>QFrame::Box</enum>
109              </property>
110              <property name="frameShadow">
111               <enum>QFrame::Raised</enum>
112              </property>
113              <layout class="QGridLayout" name="gridLayout_7">
114               <property name="leftMargin">
115                <number>4</number>
116               </property>
117               <property name="topMargin">
118                <number>0</number>
119               </property>
120               <property name="rightMargin">
121                <number>4</number>
122               </property>
123               <property name="bottomMargin">
124                <number>4</number>
125               </property>
126               <property name="spacing">
127                <number>0</number>
128               </property>
129               <item row="1" column="0">
130                <widget class="QGroupBox" name="groupBox_3">
131                 <property name="sizePolicy">
132                  <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
133                   <horstretch>0</horstretch>
134                   <verstretch>0</verstretch>
135                  </sizepolicy>
136                 </property>
137                 <property name="minimumSize">
138                  <size>
139                   <width>0</width>
140                   <height>0</height>
141                  </size>
142                 </property>
143                 <property name="maximumSize">
144                  <size>
145                   <width>16777215</width>
146                   <height>16777215</height>
147                  </size>
148                 </property>
149                 <property name="toolTip">
150                  <string>Enter the text to replace in this full-featured LyX editing area</string>
151                 </property>
152                 <property name="title">
153                  <string>&amp;Replace with...</string>
154                 </property>
155                 <layout class="QGridLayout" name="gridLayout_6">
156                  <property name="leftMargin">
157                   <number>0</number>
158                  </property>
159                  <property name="topMargin">
160                   <number>4</number>
161                  </property>
162                  <property name="rightMargin">
163                   <number>4</number>
164                  </property>
165                  <property name="bottomMargin">
166                   <number>0</number>
167                  </property>
168                  <item row="0" column="0" colspan="2">
169                   <widget class="lyx::frontend::EmbeddedWorkArea" name="replace_work_area_">
170                    <property name="minimumSize">
171                     <size>
172                      <width>0</width>
173                      <height>0</height>
174                     </size>
175                    </property>
176                    <property name="baseSize">
177                     <size>
178                      <width>0</width>
179                      <height>0</height>
180                     </size>
181                    </property>
182                    <property name="toolTip">
183                     <string>Enter the text to replace in this full-featured LyX editing area</string>
184                    </property>
185                    <property name="widgetResizable">
186                     <bool>true</bool>
187                    </property>
188                    <widget class="QWidget" name="replace_scroll_area_">
189                     <property name="geometry">
190                      <rect>
191                       <x>0</x>
192                       <y>0</y>
193                       <width>237</width>
194                       <height>84</height>
195                      </rect>
196                     </property>
197                     <property name="sizePolicy">
198                      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
199                       <horstretch>0</horstretch>
200                       <verstretch>0</verstretch>
201                      </sizepolicy>
202                     </property>
203                    </widget>
204                   </widget>
205                  </item>
206                  <item row="2" column="0">
207                   <widget class="QPushButton" name="replaceNextPB">
208                    <property name="enabled">
209                     <bool>true</bool>
210                    </property>
211                    <property name="sizePolicy">
212                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
213                      <horstretch>1</horstretch>
214                      <verstretch>0</verstretch>
215                     </sizepolicy>
216                    </property>
217                    <property name="toolTip">
218                     <string>Find next occurrence and replace it [Enter]</string>
219                    </property>
220                    <property name="text">
221                     <string>Next</string>
222                    </property>
223                   </widget>
224                  </item>
225                  <item row="2" column="1">
226                   <widget class="QPushButton" name="replacePrevPB">
227                    <property name="enabled">
228                     <bool>true</bool>
229                    </property>
230                    <property name="sizePolicy">
231                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
232                      <horstretch>1</horstretch>
233                      <verstretch>0</verstretch>
234                     </sizepolicy>
235                    </property>
236                    <property name="toolTip">
237                     <string>Find previous occurrence and replace it [Shift+Enter]</string>
238                    </property>
239                    <property name="text">
240                     <string>Prev</string>
241                    </property>
242                   </widget>
243                  </item>
244                  <item row="3" column="0">
245                   <widget class="QPushButton" name="replaceallPB">
246                    <property name="enabled">
247                     <bool>false</bool>
248                    </property>
249                    <property name="sizePolicy">
250                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
251                      <horstretch>0</horstretch>
252                      <verstretch>0</verstretch>
253                     </sizepolicy>
254                    </property>
255                    <property name="text">
256                     <string>Replace &amp;All</string>
257                    </property>
258                   </widget>
259                  </item>
260                  <item row="1" column="0" colspan="2">
261                   <widget class="QCheckBox" name="keepCaseCB">
262                    <property name="sizePolicy">
263                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
264                      <horstretch>1</horstretch>
265                      <verstretch>0</verstretch>
266                     </sizepolicy>
267                    </property>
268                    <property name="toolTip">
269                     <string>Keep the case of the replacement's first letter as in each matching text first letter</string>
270                    </property>
271                    <property name="text">
272                     <string>&amp;Keep case</string>
273                    </property>
274                   </widget>
275                  </item>
276                  <item row="3" column="1">
277                   <widget class="QPushButton" name="closePB">
278                    <property name="sizePolicy">
279                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
280                      <horstretch>1</horstretch>
281                      <verstretch>0</verstretch>
282                     </sizepolicy>
283                    </property>
284                    <property name="toolTip">
285                     <string>Close this panel</string>
286                    </property>
287                    <property name="text">
288                     <string>&amp;Close</string>
289                    </property>
290                   </widget>
291                  </item>
292                 </layout>
293                </widget>
294               </item>
295              </layout>
296             </widget>
297            </item>
298            <item row="0" column="0">
299             <widget class="QFrame" name="find_frame">
300              <property name="sizePolicy">
301               <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
302                <horstretch>0</horstretch>
303                <verstretch>0</verstretch>
304               </sizepolicy>
305              </property>
306              <property name="frameShape">
307               <enum>QFrame::Box</enum>
308              </property>
309              <property name="frameShadow">
310               <enum>QFrame::Raised</enum>
311              </property>
312              <layout class="QGridLayout" name="gridLayout_8">
313               <property name="leftMargin">
314                <number>4</number>
315               </property>
316               <property name="topMargin">
317                <number>0</number>
318               </property>
319               <property name="rightMargin">
320                <number>4</number>
321               </property>
322               <property name="bottomMargin">
323                <number>4</number>
324               </property>
325               <item row="0" column="0">
326                <widget class="QGroupBox" name="groupBox">
327                 <property name="sizePolicy">
328                  <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
329                   <horstretch>0</horstretch>
330                   <verstretch>0</verstretch>
331                  </sizepolicy>
332                 </property>
333                 <property name="minimumSize">
334                  <size>
335                   <width>0</width>
336                   <height>0</height>
337                  </size>
338                 </property>
339                 <property name="maximumSize">
340                  <size>
341                   <width>16777215</width>
342                   <height>16777215</height>
343                  </size>
344                 </property>
345                 <property name="baseSize">
346                  <size>
347                   <width>0</width>
348                   <height>0</height>
349                  </size>
350                 </property>
351                 <property name="toolTip">
352                  <string>Enter the text to search for in this full-featured LyX editing area</string>
353                 </property>
354                 <property name="title">
355                  <string>&amp;Find...</string>
356                 </property>
357                 <layout class="QGridLayout" name="gridLayout_5">
358                  <property name="leftMargin">
359                   <number>0</number>
360                  </property>
361                  <property name="topMargin">
362                   <number>4</number>
363                  </property>
364                  <property name="rightMargin">
365                   <number>4</number>
366                  </property>
367                  <property name="bottomMargin">
368                   <number>0</number>
369                  </property>
370                  <item row="0" column="0" colspan="2">
371                   <widget class="lyx::frontend::EmbeddedWorkArea" name="find_work_area_">
372                    <property name="minimumSize">
373                     <size>
374                      <width>0</width>
375                      <height>0</height>
376                     </size>
377                    </property>
378                    <property name="baseSize">
379                     <size>
380                      <width>0</width>
381                      <height>0</height>
382                     </size>
383                    </property>
384                    <property name="toolTip">
385                     <string>Enter the text to search for in this full-featured LyX editing area</string>
386                    </property>
387                    <property name="widgetResizable">
388                     <bool>true</bool>
389                    </property>
390                    <widget class="QWidget" name="find_scroll_area_">
391                     <property name="geometry">
392                      <rect>
393                       <x>0</x>
394                       <y>0</y>
395                       <width>237</width>
396                       <height>85</height>
397                      </rect>
398                     </property>
399                     <property name="sizePolicy">
400                      <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
401                       <horstretch>0</horstretch>
402                       <verstretch>0</verstretch>
403                      </sizepolicy>
404                     </property>
405                    </widget>
406                   </widget>
407                  </item>
408                  <item row="1" column="0">
409                   <widget class="QCheckBox" name="caseCB">
410                    <property name="sizePolicy">
411                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
412                      <horstretch>0</horstretch>
413                      <verstretch>0</verstretch>
414                     </sizepolicy>
415                    </property>
416                    <property name="toolTip">
417                     <string>Perform a case-sensitive search</string>
418                    </property>
419                    <property name="text">
420                     <string>Case &amp;sensitive</string>
421                    </property>
422                   </widget>
423                  </item>
424                  <item row="2" column="0" colspan="2">
425                   <widget class="QComboBox" name="regexpInsertCombo">
426                    <property name="enabled">
427                     <bool>true</bool>
428                    </property>
429                    <property name="sizePolicy">
430                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
431                      <horstretch>0</horstretch>
432                      <verstretch>0</verstretch>
433                     </sizepolicy>
434                    </property>
435                    <property name="toolTip">
436                     <string>Choose one of the pre-arranged regular expressions.</string>
437                    </property>
438                    <item>
439                     <property name="text">
440                      <string>Match...</string>
441                     </property>
442                    </item>
443                    <item>
444                     <property name="text">
445                      <string>Anything</string>
446                     </property>
447                    </item>
448                    <item>
449                     <property name="text">
450                      <string>Any non-empty</string>
451                     </property>
452                    </item>
453                    <item>
454                     <property name="text">
455                      <string>Any word</string>
456                     </property>
457                    </item>
458                    <item>
459                     <property name="text">
460                      <string>Any number</string>
461                     </property>
462                    </item>
463                    <item>
464                     <property name="text">
465                      <string>User-defined</string>
466                     </property>
467                    </item>
468                   </widget>
469                  </item>
470                  <item row="3" column="0">
471                   <widget class="QPushButton" name="findNextPB">
472                    <property name="enabled">
473                     <bool>true</bool>
474                    </property>
475                    <property name="sizePolicy">
476                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
477                      <horstretch>0</horstretch>
478                      <verstretch>0</verstretch>
479                     </sizepolicy>
480                    </property>
481                    <property name="toolTip">
482                     <string>Find next occurrence [Enter]</string>
483                    </property>
484                    <property name="text">
485                     <string>Next</string>
486                    </property>
487                    <property name="default">
488                     <bool>true</bool>
489                    </property>
490                   </widget>
491                  </item>
492                  <item row="3" column="1">
493                   <widget class="QPushButton" name="findPrevPB">
494                    <property name="enabled">
495                     <bool>true</bool>
496                    </property>
497                    <property name="sizePolicy">
498                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
499                      <horstretch>0</horstretch>
500                      <verstretch>0</verstretch>
501                     </sizepolicy>
502                    </property>
503                    <property name="toolTip">
504                     <string>Find previous occurrence [Shift+Enter]</string>
505                    </property>
506                    <property name="text">
507                     <string>Prev</string>
508                    </property>
509                    <property name="default">
510                     <bool>true</bool>
511                    </property>
512                   </widget>
513                  </item>
514                  <item row="1" column="1">
515                   <widget class="QCheckBox" name="wordsCB">
516                    <property name="enabled">
517                     <bool>false</bool>
518                    </property>
519                    <property name="sizePolicy">
520                     <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
521                      <horstretch>0</horstretch>
522                      <verstretch>0</verstretch>
523                     </sizepolicy>
524                    </property>
525                    <property name="toolTip">
526                     <string>Restrict search to whole words only</string>
527                    </property>
528                    <property name="text">
529                     <string>Whole &amp;words</string>
530                    </property>
531                   </widget>
532                  </item>
533                 </layout>
534                </widget>
535               </item>
536              </layout>
537             </widget>
538            </item>
539           </layout>
540          </widget>
541          <widget class="QWidget" name="tab_4">
542           <property name="sizePolicy">
543            <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
544             <horstretch>0</horstretch>
545             <verstretch>0</verstretch>
546            </sizepolicy>
547           </property>
548           <property name="toolTip">
549            <string/>
550           </property>
551           <property name="statusTip">
552            <string/>
553           </property>
554           <attribute name="title">
555            <string>Ad&amp;vanced</string>
556           </attribute>
557           <layout class="QHBoxLayout" name="horizontalLayout">
558            <item>
559             <layout class="QGridLayout" name="gridLayout_2">
560              <property name="sizeConstraint">
561               <enum>QLayout::SetDefaultConstraint</enum>
562              </property>
563              <item row="0" column="0">
564               <widget class="QGroupBox" name="groupBox_2">
565                <property name="enabled">
566                 <bool>true</bool>
567                </property>
568                <property name="sizePolicy">
569                 <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
570                  <horstretch>0</horstretch>
571                  <verstretch>0</verstretch>
572                 </sizepolicy>
573                </property>
574                <property name="minimumSize">
575                 <size>
576                  <width>0</width>
577                  <height>0</height>
578                 </size>
579                </property>
580                <property name="toolTip">
581                 <string>Restrict the search horizon to:</string>
582                </property>
583                <property name="autoFillBackground">
584                 <bool>false</bool>
585                </property>
586                <property name="title">
587                 <string>Sco&amp;pe</string>
588                </property>
589                <property name="flat">
590                 <bool>false</bool>
591                </property>
592                <layout class="QGridLayout" name="gridLayout_4">
593                 <property name="margin">
594                  <number>3</number>
595                 </property>
596                 <property name="spacing">
597                  <number>0</number>
598                 </property>
599                 <item row="0" column="0">
600                  <widget class="QRadioButton" name="CurrentParagraph">
601                   <property name="enabled">
602                    <bool>false</bool>
603                   </property>
604                   <property name="sizePolicy">
605                    <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
606                     <horstretch>0</horstretch>
607                     <verstretch>0</verstretch>
608                    </sizepolicy>
609                   </property>
610                   <property name="toolTip">
611                    <string>Current paragraph</string>
612                   </property>
613                   <property name="text">
614                    <string>Current &amp;Paragraph</string>
615                   </property>
616                   <property name="checked">
617                    <bool>false</bool>
618                   </property>
619                  </widget>
620                 </item>
621                 <item row="1" column="0">
622                  <widget class="QRadioButton" name="CurrentDocument">
623                   <property name="enabled">
624                    <bool>true</bool>
625                   </property>
626                   <property name="sizePolicy">
627                    <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
628                     <horstretch>0</horstretch>
629                     <verstretch>0</verstretch>
630                    </sizepolicy>
631                   </property>
632                   <property name="toolTip">
633                    <string>Document in current file</string>
634                   </property>
635                   <property name="text">
636                    <string>Current &amp;Document</string>
637                   </property>
638                   <property name="checked">
639                    <bool>true</bool>
640                   </property>
641                  </widget>
642                 </item>
643                 <item row="2" column="0">
644                  <widget class="QRadioButton" name="MasterDocument">
645                   <property name="enabled">
646                    <bool>true</bool>
647                   </property>
648                   <property name="sizePolicy">
649                    <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
650                     <horstretch>0</horstretch>
651                     <verstretch>0</verstretch>
652                    </sizepolicy>
653                   </property>
654                   <property name="toolTip">
655                    <string>Current file and all other files belonging to the same Master Document</string>
656                   </property>
657                   <property name="text">
658                    <string>&amp;Master Document</string>
659                   </property>
660                  </widget>
661                 </item>
662                 <item row="3" column="0">
663                  <widget class="QRadioButton" name="OpenDocuments">
664                   <property name="enabled">
665                    <bool>false</bool>
666                   </property>
667                   <property name="sizePolicy">
668                    <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
669                     <horstretch>0</horstretch>
670                     <verstretch>0</verstretch>
671                    </sizepolicy>
672                   </property>
673                   <property name="toolTip">
674                    <string>All open documents</string>
675                   </property>
676                   <property name="text">
677                    <string>&amp;Open Documents</string>
678                   </property>
679                  </widget>
680                 </item>
681                 <item row="4" column="0">
682                  <widget class="QRadioButton" name="AllManualsRB">
683                   <property name="enabled">
684                    <bool>false</bool>
685                   </property>
686                   <property name="sizePolicy">
687                    <sizepolicy hsizetype="Minimum" vsizetype="Minimum">
688                     <horstretch>0</horstretch>
689                     <verstretch>0</verstretch>
690                    </sizepolicy>
691                   </property>
692                   <property name="text">
693                    <string>All Ma&amp;nuals</string>
694                   </property>
695                  </widget>
696                 </item>
697                </layout>
698               </widget>
699              </item>
700              <item row="2" column="0">
701               <widget class="QCheckBox" name="expandMacrosCB">
702                <property name="enabled">
703                 <bool>false</bool>
704                </property>
705                <property name="sizePolicy">
706                 <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
707                  <horstretch>0</horstretch>
708                  <verstretch>0</verstretch>
709                 </sizepolicy>
710                </property>
711                <property name="text">
712                 <string>&amp;Expand macros</string>
713                </property>
714               </widget>
715              </item>
716              <item row="1" column="0">
717               <widget class="QCheckBox" name="ignoreFormatCB">
718                <property name="enabled">
719                 <bool>true</bool>
720                </property>
721                <property name="sizePolicy">
722                 <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
723                  <horstretch>0</horstretch>
724                  <verstretch>0</verstretch>
725                 </sizepolicy>
726                </property>
727                <property name="text">
728                 <string>Ignore &amp;Format</string>
729                </property>
730                <property name="checked">
731                 <bool>true</bool>
732                </property>
733               </widget>
734              </item>
735              <item row="3" column="0">
736               <spacer name="verticalSpacer">
737                <property name="orientation">
738                 <enum>Qt::Vertical</enum>
739                </property>
740                <property name="sizeHint" stdset="0">
741                 <size>
742                  <width>0</width>
743                  <height>0</height>
744                 </size>
745                </property>
746               </spacer>
747              </item>
748             </layout>
749            </item>
750           </layout>
751          </widget>
752         </widget>
753        </item>
754       </layout>
755      </widget>
756     </widget>
757    </item>
758   </layout>
759  </widget>
760  <customwidgets>
761   <customwidget>
762    <class>lyx::frontend::EmbeddedWorkArea</class>
763    <extends>QScrollArea</extends>
764    <header location="global">GuiWorkArea.h</header>
765    <container>1</container>
766   </customwidget>
767  </customwidgets>
768  <includes>
769   <include location="local">qt_helpers.h</include>
770  </includes>
771  <resources/>
772  <connections/>
773 </ui>