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