Plugins/WizardPlugins/QRegularExpressionWizard/QRegularExpressionWizardRepeatDialog.ui

changeset 2736
86cd4d14b58e
child 5508
30626def80dc
equal deleted inserted replaced
2734:eddb1a77f771 2736:86cd4d14b58e
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 <layoutdefault spacing="6" margin="6"/>
200 <pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
201 <tabstops>
202 <tabstop>unlimitedButton</tabstop>
203 <tabstop>minButton</tabstop>
204 <tabstop>minSpin</tabstop>
205 <tabstop>maxButton</tabstop>
206 <tabstop>maxSpin</tabstop>
207 <tabstop>exactButton</tabstop>
208 <tabstop>exactSpin</tabstop>
209 <tabstop>betweenButton</tabstop>
210 <tabstop>lowerSpin</tabstop>
211 <tabstop>upperSpin</tabstop>
212 <tabstop>greedyButton</tabstop>
213 <tabstop>possessiveButton</tabstop>
214 <tabstop>lazyButton</tabstop>
215 <tabstop>buttonBox</tabstop>
216 </tabstops>
217 <resources/>
218 <connections>
219 <connection>
220 <sender>minButton</sender>
221 <signal>toggled(bool)</signal>
222 <receiver>minSpin</receiver>
223 <slot>setEnabled(bool)</slot>
224 <hints>
225 <hint type="sourcelabel">
226 <x>53</x>
227 <y>43</y>
228 </hint>
229 <hint type="destinationlabel">
230 <x>121</x>
231 <y>47</y>
232 </hint>
233 </hints>
234 </connection>
235 <connection>
236 <sender>maxButton</sender>
237 <signal>toggled(bool)</signal>
238 <receiver>maxSpin</receiver>
239 <slot>setEnabled(bool)</slot>
240 <hints>
241 <hint type="sourcelabel">
242 <x>58</x>
243 <y>68</y>
244 </hint>
245 <hint type="destinationlabel">
246 <x>117</x>
247 <y>67</y>
248 </hint>
249 </hints>
250 </connection>
251 <connection>
252 <sender>exactButton</sender>
253 <signal>toggled(bool)</signal>
254 <receiver>exactSpin</receiver>
255 <slot>setEnabled(bool)</slot>
256 <hints>
257 <hint type="sourcelabel">
258 <x>61</x>
259 <y>114</y>
260 </hint>
261 <hint type="destinationlabel">
262 <x>162</x>
263 <y>114</y>
264 </hint>
265 </hints>
266 </connection>
267 <connection>
268 <sender>betweenButton</sender>
269 <signal>toggled(bool)</signal>
270 <receiver>lowerSpin</receiver>
271 <slot>setEnabled(bool)</slot>
272 <hints>
273 <hint type="sourcelabel">
274 <x>60</x>
275 <y>143</y>
276 </hint>
277 <hint type="destinationlabel">
278 <x>162</x>
279 <y>143</y>
280 </hint>
281 </hints>
282 </connection>
283 <connection>
284 <sender>betweenButton</sender>
285 <signal>toggled(bool)</signal>
286 <receiver>upperSpin</receiver>
287 <slot>setEnabled(bool)</slot>
288 <hints>
289 <hint type="sourcelabel">
290 <x>61</x>
291 <y>143</y>
292 </hint>
293 <hint type="destinationlabel">
294 <x>322</x>
295 <y>143</y>
296 </hint>
297 </hints>
298 </connection>
299 <connection>
300 <sender>buttonBox</sender>
301 <signal>accepted()</signal>
302 <receiver>QRegularExpressionWizardRepeatDialog</receiver>
303 <slot>accept()</slot>
304 <hints>
305 <hint type="sourcelabel">
306 <x>19</x>
307 <y>190</y>
308 </hint>
309 <hint type="destinationlabel">
310 <x>19</x>
311 <y>211</y>
312 </hint>
313 </hints>
314 </connection>
315 <connection>
316 <sender>buttonBox</sender>
317 <signal>rejected()</signal>
318 <receiver>QRegularExpressionWizardRepeatDialog</receiver>
319 <slot>reject()</slot>
320 <hints>
321 <hint type="sourcelabel">
322 <x>61</x>
323 <y>192</y>
324 </hint>
325 <hint type="destinationlabel">
326 <x>61</x>
327 <y>210</y>
328 </hint>
329 </hints>
330 </connection>
331 </connections>
332 </ui>

eric ide

mercurial