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