|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <ui version="4.0"> |
|
3 <class>QRegularExpressionWizardRepeatDialog</class> |
|
4 <widget class="QDialog" name="QRegularExpressionWizardRepeatDialog"> |
|
5 <property name="geometry"> |
|
6 <rect> |
|
7 <x>0</x> |
|
8 <y>0</y> |
|
9 <width>331</width> |
|
10 <height>370</height> |
|
11 </rect> |
|
12 </property> |
|
13 <property name="windowTitle"> |
|
14 <string>Number of repetitions</string> |
|
15 </property> |
|
16 <property name="sizeGripEnabled"> |
|
17 <bool>true</bool> |
|
18 </property> |
|
19 <layout class="QVBoxLayout" name="verticalLayout"> |
|
20 <item> |
|
21 <widget class="QGroupBox" name="groupBox"> |
|
22 <property name="title"> |
|
23 <string>Quantifier</string> |
|
24 </property> |
|
25 <layout class="QGridLayout"> |
|
26 <item row="2" column="2"> |
|
27 <widget class="QLabel" name="textLabel1_6"> |
|
28 <property name="text"> |
|
29 <string>times</string> |
|
30 </property> |
|
31 </widget> |
|
32 </item> |
|
33 <item row="3" column="2"> |
|
34 <widget class="QLabel" name="textLabel1_7"> |
|
35 <property name="text"> |
|
36 <string>times</string> |
|
37 </property> |
|
38 </widget> |
|
39 </item> |
|
40 <item row="1" column="2"> |
|
41 <widget class="QLabel" name="textLabel1_5"> |
|
42 <property name="text"> |
|
43 <string>times</string> |
|
44 </property> |
|
45 </widget> |
|
46 </item> |
|
47 <item row="4" column="1"> |
|
48 <widget class="QSpinBox" name="lowerSpin"> |
|
49 <property name="enabled"> |
|
50 <bool>false</bool> |
|
51 </property> |
|
52 <property name="alignment"> |
|
53 <set>Qt::AlignRight</set> |
|
54 </property> |
|
55 <property name="value"> |
|
56 <number>1</number> |
|
57 </property> |
|
58 </widget> |
|
59 </item> |
|
60 <item row="4" column="3"> |
|
61 <widget class="QSpinBox" name="upperSpin"> |
|
62 <property name="enabled"> |
|
63 <bool>false</bool> |
|
64 </property> |
|
65 <property name="alignment"> |
|
66 <set>Qt::AlignRight</set> |
|
67 </property> |
|
68 <property name="value"> |
|
69 <number>1</number> |
|
70 </property> |
|
71 </widget> |
|
72 </item> |
|
73 <item row="4" column="2"> |
|
74 <widget class="QLabel" name="textLabel6"> |
|
75 <property name="text"> |
|
76 <string>and</string> |
|
77 </property> |
|
78 </widget> |
|
79 </item> |
|
80 <item row="4" column="0"> |
|
81 <widget class="QRadioButton" name="betweenButton"> |
|
82 <property name="text"> |
|
83 <string>Between</string> |
|
84 </property> |
|
85 </widget> |
|
86 </item> |
|
87 <item row="3" column="1"> |
|
88 <widget class="QSpinBox" name="exactSpin"> |
|
89 <property name="enabled"> |
|
90 <bool>false</bool> |
|
91 </property> |
|
92 <property name="alignment"> |
|
93 <set>Qt::AlignRight</set> |
|
94 </property> |
|
95 <property name="value"> |
|
96 <number>1</number> |
|
97 </property> |
|
98 </widget> |
|
99 </item> |
|
100 <item row="3" column="0"> |
|
101 <widget class="QRadioButton" name="exactButton"> |
|
102 <property name="text"> |
|
103 <string>Exactly</string> |
|
104 </property> |
|
105 </widget> |
|
106 </item> |
|
107 <item row="2" column="1"> |
|
108 <widget class="QSpinBox" name="maxSpin"> |
|
109 <property name="enabled"> |
|
110 <bool>false</bool> |
|
111 </property> |
|
112 <property name="alignment"> |
|
113 <set>Qt::AlignRight</set> |
|
114 </property> |
|
115 <property name="value"> |
|
116 <number>1</number> |
|
117 </property> |
|
118 </widget> |
|
119 </item> |
|
120 <item row="2" column="0"> |
|
121 <widget class="QRadioButton" name="maxButton"> |
|
122 <property name="text"> |
|
123 <string>Maximum</string> |
|
124 </property> |
|
125 </widget> |
|
126 </item> |
|
127 <item row="1" column="0"> |
|
128 <widget class="QRadioButton" name="minButton"> |
|
129 <property name="text"> |
|
130 <string>Minimum</string> |
|
131 </property> |
|
132 </widget> |
|
133 </item> |
|
134 <item row="1" column="1"> |
|
135 <widget class="QSpinBox" name="minSpin"> |
|
136 <property name="enabled"> |
|
137 <bool>false</bool> |
|
138 </property> |
|
139 <property name="alignment"> |
|
140 <set>Qt::AlignRight</set> |
|
141 </property> |
|
142 <property name="value"> |
|
143 <number>1</number> |
|
144 </property> |
|
145 </widget> |
|
146 </item> |
|
147 <item row="0" column="0" colspan="4"> |
|
148 <widget class="QRadioButton" name="unlimitedButton"> |
|
149 <property name="text"> |
|
150 <string>Unlimited (incl. zero times)</string> |
|
151 </property> |
|
152 </widget> |
|
153 </item> |
|
154 </layout> |
|
155 </widget> |
|
156 </item> |
|
157 <item> |
|
158 <widget class="QGroupBox" name="groupBox_2"> |
|
159 <property name="title"> |
|
160 <string>Greediness</string> |
|
161 </property> |
|
162 <layout class="QVBoxLayout" name="verticalLayout_2"> |
|
163 <item> |
|
164 <widget class="QRadioButton" name="greedyButton"> |
|
165 <property name="text"> |
|
166 <string>Greedy</string> |
|
167 </property> |
|
168 </widget> |
|
169 </item> |
|
170 <item> |
|
171 <widget class="QRadioButton" name="possessiveButton"> |
|
172 <property name="text"> |
|
173 <string>Possessive</string> |
|
174 </property> |
|
175 </widget> |
|
176 </item> |
|
177 <item> |
|
178 <widget class="QRadioButton" name="lazyButton"> |
|
179 <property name="text"> |
|
180 <string>Lazy</string> |
|
181 </property> |
|
182 </widget> |
|
183 </item> |
|
184 </layout> |
|
185 </widget> |
|
186 </item> |
|
187 <item> |
|
188 <widget class="QDialogButtonBox" name="buttonBox"> |
|
189 <property name="orientation"> |
|
190 <enum>Qt::Horizontal</enum> |
|
191 </property> |
|
192 <property name="standardButtons"> |
|
193 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
194 </property> |
|
195 </widget> |
|
196 </item> |
|
197 </layout> |
|
198 </widget> |
|
199 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> |
|
200 <tabstops> |
|
201 <tabstop>unlimitedButton</tabstop> |
|
202 <tabstop>minButton</tabstop> |
|
203 <tabstop>minSpin</tabstop> |
|
204 <tabstop>maxButton</tabstop> |
|
205 <tabstop>maxSpin</tabstop> |
|
206 <tabstop>exactButton</tabstop> |
|
207 <tabstop>exactSpin</tabstop> |
|
208 <tabstop>betweenButton</tabstop> |
|
209 <tabstop>lowerSpin</tabstop> |
|
210 <tabstop>upperSpin</tabstop> |
|
211 <tabstop>greedyButton</tabstop> |
|
212 <tabstop>possessiveButton</tabstop> |
|
213 <tabstop>lazyButton</tabstop> |
|
214 <tabstop>buttonBox</tabstop> |
|
215 </tabstops> |
|
216 <resources/> |
|
217 <connections> |
|
218 <connection> |
|
219 <sender>minButton</sender> |
|
220 <signal>toggled(bool)</signal> |
|
221 <receiver>minSpin</receiver> |
|
222 <slot>setEnabled(bool)</slot> |
|
223 <hints> |
|
224 <hint type="sourcelabel"> |
|
225 <x>53</x> |
|
226 <y>43</y> |
|
227 </hint> |
|
228 <hint type="destinationlabel"> |
|
229 <x>121</x> |
|
230 <y>47</y> |
|
231 </hint> |
|
232 </hints> |
|
233 </connection> |
|
234 <connection> |
|
235 <sender>maxButton</sender> |
|
236 <signal>toggled(bool)</signal> |
|
237 <receiver>maxSpin</receiver> |
|
238 <slot>setEnabled(bool)</slot> |
|
239 <hints> |
|
240 <hint type="sourcelabel"> |
|
241 <x>58</x> |
|
242 <y>68</y> |
|
243 </hint> |
|
244 <hint type="destinationlabel"> |
|
245 <x>117</x> |
|
246 <y>67</y> |
|
247 </hint> |
|
248 </hints> |
|
249 </connection> |
|
250 <connection> |
|
251 <sender>exactButton</sender> |
|
252 <signal>toggled(bool)</signal> |
|
253 <receiver>exactSpin</receiver> |
|
254 <slot>setEnabled(bool)</slot> |
|
255 <hints> |
|
256 <hint type="sourcelabel"> |
|
257 <x>61</x> |
|
258 <y>114</y> |
|
259 </hint> |
|
260 <hint type="destinationlabel"> |
|
261 <x>162</x> |
|
262 <y>114</y> |
|
263 </hint> |
|
264 </hints> |
|
265 </connection> |
|
266 <connection> |
|
267 <sender>betweenButton</sender> |
|
268 <signal>toggled(bool)</signal> |
|
269 <receiver>lowerSpin</receiver> |
|
270 <slot>setEnabled(bool)</slot> |
|
271 <hints> |
|
272 <hint type="sourcelabel"> |
|
273 <x>60</x> |
|
274 <y>143</y> |
|
275 </hint> |
|
276 <hint type="destinationlabel"> |
|
277 <x>162</x> |
|
278 <y>143</y> |
|
279 </hint> |
|
280 </hints> |
|
281 </connection> |
|
282 <connection> |
|
283 <sender>betweenButton</sender> |
|
284 <signal>toggled(bool)</signal> |
|
285 <receiver>upperSpin</receiver> |
|
286 <slot>setEnabled(bool)</slot> |
|
287 <hints> |
|
288 <hint type="sourcelabel"> |
|
289 <x>61</x> |
|
290 <y>143</y> |
|
291 </hint> |
|
292 <hint type="destinationlabel"> |
|
293 <x>322</x> |
|
294 <y>143</y> |
|
295 </hint> |
|
296 </hints> |
|
297 </connection> |
|
298 <connection> |
|
299 <sender>buttonBox</sender> |
|
300 <signal>accepted()</signal> |
|
301 <receiver>QRegularExpressionWizardRepeatDialog</receiver> |
|
302 <slot>accept()</slot> |
|
303 <hints> |
|
304 <hint type="sourcelabel"> |
|
305 <x>19</x> |
|
306 <y>190</y> |
|
307 </hint> |
|
308 <hint type="destinationlabel"> |
|
309 <x>19</x> |
|
310 <y>211</y> |
|
311 </hint> |
|
312 </hints> |
|
313 </connection> |
|
314 <connection> |
|
315 <sender>buttonBox</sender> |
|
316 <signal>rejected()</signal> |
|
317 <receiver>QRegularExpressionWizardRepeatDialog</receiver> |
|
318 <slot>reject()</slot> |
|
319 <hints> |
|
320 <hint type="sourcelabel"> |
|
321 <x>61</x> |
|
322 <y>192</y> |
|
323 </hint> |
|
324 <hint type="destinationlabel"> |
|
325 <x>61</x> |
|
326 <y>210</y> |
|
327 </hint> |
|
328 </hints> |
|
329 </connection> |
|
330 </connections> |
|
331 </ui> |