src/eric7/Testing/TestingWidget.ui

branch
eric7
changeset 9209
b99e7fd55fd3
parent 9081
2bbbc95972bf
child 9264
18a7312cfdb3
child 9311
8e588f403fd9
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3 <class>TestingWidget</class>
4 <widget class="QWidget" name="TestingWidget">
5 <property name="geometry">
6 <rect>
7 <x>0</x>
8 <y>0</y>
9 <width>850</width>
10 <height>700</height>
11 </rect>
12 </property>
13 <property name="windowTitle">
14 <string>Testing</string>
15 </property>
16 <layout class="QVBoxLayout" name="verticalLayout_3">
17 <item>
18 <widget class="QTabWidget" name="tabWidget">
19 <property name="currentIndex">
20 <number>0</number>
21 </property>
22 <widget class="QWidget" name="parametersTab">
23 <attribute name="title">
24 <string>Parameters</string>
25 </attribute>
26 <layout class="QVBoxLayout" name="verticalLayout">
27 <item>
28 <layout class="QGridLayout" name="gridLayout_3">
29 <item row="0" column="0">
30 <widget class="QLabel" name="venvLabel">
31 <property name="text">
32 <string>Virtual Environment:</string>
33 </property>
34 <property name="buddy">
35 <cstring>venvComboBox</cstring>
36 </property>
37 </widget>
38 </item>
39 <item row="0" column="1" colspan="2">
40 <widget class="QComboBox" name="venvComboBox">
41 <property name="sizePolicy">
42 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
43 <horstretch>0</horstretch>
44 <verstretch>0</verstretch>
45 </sizepolicy>
46 </property>
47 <property name="toolTip">
48 <string>Select the virtual environment to be used</string>
49 </property>
50 <property name="whatsThis">
51 <string>&lt;b&gt;Virtual Environment&lt;/b&gt;\n&lt;p&gt;Enter the virtual environment to be used. Leave it empty to use the default environment, i.e. the one configured globally or per project.&lt;/p&gt;</string>
52 </property>
53 </widget>
54 </item>
55 <item row="1" column="0">
56 <widget class="QLabel" name="label">
57 <property name="text">
58 <string>Test Framework:</string>
59 </property>
60 </widget>
61 </item>
62 <item row="1" column="1">
63 <widget class="QComboBox" name="frameworkComboBox">
64 <property name="sizePolicy">
65 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
66 <horstretch>0</horstretch>
67 <verstretch>0</verstretch>
68 </sizepolicy>
69 </property>
70 <property name="toolTip">
71 <string>Select the test framwork to be used</string>
72 </property>
73 </widget>
74 </item>
75 <item row="1" column="2">
76 <widget class="QToolButton" name="versionsButton">
77 <property name="toolTip">
78 <string>Press to show the test framework versions</string>
79 </property>
80 </widget>
81 </item>
82 </layout>
83 </item>
84 <item>
85 <widget class="QGroupBox" name="groupBox">
86 <property name="title">
87 <string>Test Parameters</string>
88 </property>
89 <layout class="QGridLayout" name="gridLayout">
90 <item row="0" column="0" colspan="2">
91 <layout class="QHBoxLayout" name="horizontalLayout_4">
92 <item>
93 <widget class="QCheckBox" name="discoverCheckBox">
94 <property name="sizePolicy">
95 <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
96 <horstretch>0</horstretch>
97 <verstretch>0</verstretch>
98 </sizepolicy>
99 </property>
100 <property name="toolTip">
101 <string>Select to discover tests automatically</string>
102 </property>
103 <property name="text">
104 <string>Discover tests (test modules must be importable)</string>
105 </property>
106 <property name="checked">
107 <bool>true</bool>
108 </property>
109 </widget>
110 </item>
111 <item>
112 <widget class="QToolButton" name="clearHistoriesButton">
113 <property name="toolTip">
114 <string>Press to clear the various histories</string>
115 </property>
116 </widget>
117 </item>
118 </layout>
119 </item>
120 <item row="1" column="0">
121 <widget class="QLabel" name="label_3">
122 <property name="text">
123 <string>Discovery Start:</string>
124 </property>
125 <property name="buddy">
126 <cstring>discoveryPicker</cstring>
127 </property>
128 </widget>
129 </item>
130 <item row="1" column="1">
131 <widget class="EricComboPathPicker" name="discoveryPicker" native="true">
132 <property name="sizePolicy">
133 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
134 <horstretch>0</horstretch>
135 <verstretch>0</verstretch>
136 </sizepolicy>
137 </property>
138 <property name="focusPolicy">
139 <enum>Qt::WheelFocus</enum>
140 </property>
141 <property name="toolTip">
142 <string>Enter name of the directory at which to start the test file discovery</string>
143 </property>
144 <property name="whatsThis">
145 <string>&lt;b&gt;Discovery Start&lt;/b&gt;
146 &lt;p&gt;Enter name of the directory at which to start the test file discovery.
147 Note that all test modules must be importable from this directory.&lt;/p&gt;</string>
148 </property>
149 </widget>
150 </item>
151 <item row="2" column="0">
152 <widget class="QLabel" name="testsuiteLabel">
153 <property name="text">
154 <string>Test Filename:</string>
155 </property>
156 <property name="buddy">
157 <cstring>testsuitePicker</cstring>
158 </property>
159 </widget>
160 </item>
161 <item row="2" column="1">
162 <widget class="EricComboPathPicker" name="testsuitePicker" native="true">
163 <property name="enabled">
164 <bool>false</bool>
165 </property>
166 <property name="sizePolicy">
167 <sizepolicy hsizetype="Expanding" vsizetype="Preferred">
168 <horstretch>0</horstretch>
169 <verstretch>0</verstretch>
170 </sizepolicy>
171 </property>
172 <property name="focusPolicy">
173 <enum>Qt::WheelFocus</enum>
174 </property>
175 <property name="toolTip">
176 <string>Enter name of file defining the testsuite</string>
177 </property>
178 <property name="whatsThis">
179 <string>&lt;b&gt;Testsuite&lt;/b&gt;&lt;p&gt;Enter the name of the file defining the testsuite. It should contain a method with a name given below. If no name is given, the 'suite()' method will be tried. If no such method can be found, the module will be inspected for proper test cases.&lt;/p&gt;</string>
180 </property>
181 </widget>
182 </item>
183 <item row="3" column="0">
184 <widget class="QLabel" name="label_2">
185 <property name="text">
186 <string>Test Name:</string>
187 </property>
188 <property name="buddy">
189 <cstring>testComboBox</cstring>
190 </property>
191 </widget>
192 </item>
193 <item row="3" column="1">
194 <widget class="QComboBox" name="testComboBox">
195 <property name="enabled">
196 <bool>false</bool>
197 </property>
198 <property name="toolTip">
199 <string>Enter the test name. Leave empty to use the default name &quot;suite&quot;.</string>
200 </property>
201 <property name="whatsThis">
202 <string>&lt;b&gt;Testname&lt;/b&gt;&lt;p&gt;Enter the name of the test to be performed. This name must follow the rules given by selecte test framework. If this field is empty, the default name of &quot;suite&quot; will be used.&lt;/p&gt;</string>
203 </property>
204 <property name="editable">
205 <bool>true</bool>
206 </property>
207 </widget>
208 </item>
209 </layout>
210 </widget>
211 </item>
212 <item>
213 <widget class="QGroupBox" name="optionsGroup">
214 <property name="title">
215 <string>Run Parameters</string>
216 </property>
217 <layout class="QVBoxLayout" name="verticalLayout_2">
218 <item>
219 <layout class="QGridLayout" name="gridLayout_2">
220 <item row="0" column="0">
221 <widget class="QCheckBox" name="coverageCheckBox">
222 <property name="toolTip">
223 <string>Select whether coverage data should be collected</string>
224 </property>
225 <property name="text">
226 <string>Collect coverage data</string>
227 </property>
228 </widget>
229 </item>
230 <item row="0" column="1">
231 <widget class="QCheckBox" name="coverageEraseCheckBox">
232 <property name="enabled">
233 <bool>false</bool>
234 </property>
235 <property name="toolTip">
236 <string>Select whether old coverage data should be erased</string>
237 </property>
238 <property name="text">
239 <string>Erase coverage data</string>
240 </property>
241 </widget>
242 </item>
243 <item row="1" column="0">
244 <widget class="QCheckBox" name="failfastCheckBox">
245 <property name="toolTip">
246 <string>Select to stop the test run on the first error or failure</string>
247 </property>
248 <property name="text">
249 <string>Stop on First Error or Failure</string>
250 </property>
251 </widget>
252 </item>
253 </layout>
254 </item>
255 </layout>
256 </widget>
257 </item>
258 <item>
259 <spacer name="verticalSpacer">
260 <property name="orientation">
261 <enum>Qt::Vertical</enum>
262 </property>
263 <property name="sizeHint" stdset="0">
264 <size>
265 <width>20</width>
266 <height>239</height>
267 </size>
268 </property>
269 </spacer>
270 </item>
271 </layout>
272 </widget>
273 <widget class="QWidget" name="resultsTab">
274 <attribute name="title">
275 <string>Results</string>
276 </attribute>
277 <layout class="QVBoxLayout" name="verticalLayout_6">
278 <item>
279 <widget class="QGroupBox" name="progressGroupBox">
280 <property name="title">
281 <string>Progress</string>
282 </property>
283 <layout class="QVBoxLayout" name="verticalLayout_4">
284 <item>
285 <widget class="QProgressBar" name="progressProgressBar">
286 <property name="value">
287 <number>0</number>
288 </property>
289 <property name="orientation">
290 <enum>Qt::Horizontal</enum>
291 </property>
292 <property name="format">
293 <string>%v/%m Tests</string>
294 </property>
295 </widget>
296 </item>
297 <item>
298 <layout class="QHBoxLayout" name="horizontalLayout_2">
299 <item>
300 <widget class="QLabel" name="progressCounterRunLabel">
301 <property name="text">
302 <string>Run:</string>
303 </property>
304 </widget>
305 </item>
306 <item>
307 <widget class="QLabel" name="progressCounterRunCount">
308 <property name="toolTip">
309 <string>Number of tests run</string>
310 </property>
311 <property name="text">
312 <string notr="true">0</string>
313 </property>
314 </widget>
315 </item>
316 <item>
317 <widget class="QLabel" name="progressCounterRemLabel">
318 <property name="text">
319 <string>Remaining:</string>
320 </property>
321 </widget>
322 </item>
323 <item>
324 <widget class="QLabel" name="progressCounterRemCount">
325 <property name="toolTip">
326 <string>Number of tests to be run</string>
327 </property>
328 <property name="text">
329 <string notr="true">0</string>
330 </property>
331 </widget>
332 </item>
333 <item>
334 <spacer name="horizontalSpacer">
335 <property name="orientation">
336 <enum>Qt::Horizontal</enum>
337 </property>
338 <property name="sizeHint" stdset="0">
339 <size>
340 <width>40</width>
341 <height>20</height>
342 </size>
343 </property>
344 </spacer>
345 </item>
346 </layout>
347 </item>
348 </layout>
349 </widget>
350 </item>
351 <item>
352 <widget class="QGroupBox" name="resultsGroupBox">
353 <property name="sizePolicy">
354 <sizepolicy hsizetype="Preferred" vsizetype="Expanding">
355 <horstretch>0</horstretch>
356 <verstretch>0</verstretch>
357 </sizepolicy>
358 </property>
359 <property name="title">
360 <string>Results</string>
361 </property>
362 <layout class="QVBoxLayout" name="verticalLayout_5">
363 <item>
364 <widget class="QLabel" name="statusLabel">
365 <property name="text">
366 <string/>
367 </property>
368 </widget>
369 </item>
370 </layout>
371 </widget>
372 </item>
373 </layout>
374 </widget>
375 </widget>
376 </item>
377 <item>
378 <layout class="QHBoxLayout" name="_4">
379 <item>
380 <widget class="QLabel" name="sbLabel">
381 <property name="sizePolicy">
382 <sizepolicy hsizetype="Preferred" vsizetype="Preferred">
383 <horstretch>0</horstretch>
384 <verstretch>0</verstretch>
385 </sizepolicy>
386 </property>
387 <property name="text">
388 <string>Idle</string>
389 </property>
390 </widget>
391 </item>
392 <item>
393 <spacer>
394 <property name="orientation">
395 <enum>Qt::Horizontal</enum>
396 </property>
397 <property name="sizeType">
398 <enum>QSizePolicy::Expanding</enum>
399 </property>
400 <property name="sizeHint" stdset="0">
401 <size>
402 <width>20</width>
403 <height>20</height>
404 </size>
405 </property>
406 </spacer>
407 </item>
408 </layout>
409 </item>
410 <item>
411 <widget class="QDialogButtonBox" name="buttonBox">
412 <property name="orientation">
413 <enum>Qt::Horizontal</enum>
414 </property>
415 <property name="standardButtons">
416 <set>QDialogButtonBox::Close</set>
417 </property>
418 </widget>
419 </item>
420 </layout>
421 </widget>
422 <customwidgets>
423 <customwidget>
424 <class>EricComboPathPicker</class>
425 <extends>QWidget</extends>
426 <header>EricWidgets/EricPathPicker.h</header>
427 <container>1</container>
428 </customwidget>
429 </customwidgets>
430 <tabstops>
431 <tabstop>tabWidget</tabstop>
432 <tabstop>venvComboBox</tabstop>
433 <tabstop>frameworkComboBox</tabstop>
434 <tabstop>versionsButton</tabstop>
435 <tabstop>discoverCheckBox</tabstop>
436 <tabstop>clearHistoriesButton</tabstop>
437 <tabstop>discoveryPicker</tabstop>
438 <tabstop>testsuitePicker</tabstop>
439 <tabstop>testComboBox</tabstop>
440 <tabstop>coverageCheckBox</tabstop>
441 <tabstop>coverageEraseCheckBox</tabstop>
442 <tabstop>failfastCheckBox</tabstop>
443 </tabstops>
444 <resources/>
445 <connections>
446 <connection>
447 <sender>buttonBox</sender>
448 <signal>accepted()</signal>
449 <receiver>TestingWidget</receiver>
450 <slot>close()</slot>
451 <hints>
452 <hint type="sourcelabel">
453 <x>31</x>
454 <y>648</y>
455 </hint>
456 <hint type="destinationlabel">
457 <x>1</x>
458 <y>510</y>
459 </hint>
460 </hints>
461 </connection>
462 <connection>
463 <sender>buttonBox</sender>
464 <signal>rejected()</signal>
465 <receiver>TestingWidget</receiver>
466 <slot>close()</slot>
467 <hints>
468 <hint type="sourcelabel">
469 <x>80</x>
470 <y>649</y>
471 </hint>
472 <hint type="destinationlabel">
473 <x>3</x>
474 <y>580</y>
475 </hint>
476 </hints>
477 </connection>
478 <connection>
479 <sender>discoverCheckBox</sender>
480 <signal>toggled(bool)</signal>
481 <receiver>discoveryPicker</receiver>
482 <slot>setEnabled(bool)</slot>
483 <hints>
484 <hint type="sourcelabel">
485 <x>168</x>
486 <y>164</y>
487 </hint>
488 <hint type="destinationlabel">
489 <x>170</x>
490 <y>191</y>
491 </hint>
492 </hints>
493 </connection>
494 <connection>
495 <sender>discoverCheckBox</sender>
496 <signal>toggled(bool)</signal>
497 <receiver>testsuitePicker</receiver>
498 <slot>setDisabled(bool)</slot>
499 <hints>
500 <hint type="sourcelabel">
501 <x>222</x>
502 <y>162</y>
503 </hint>
504 <hint type="destinationlabel">
505 <x>222</x>
506 <y>209</y>
507 </hint>
508 </hints>
509 </connection>
510 <connection>
511 <sender>discoverCheckBox</sender>
512 <signal>toggled(bool)</signal>
513 <receiver>testComboBox</receiver>
514 <slot>setDisabled(bool)</slot>
515 <hints>
516 <hint type="sourcelabel">
517 <x>301</x>
518 <y>163</y>
519 </hint>
520 <hint type="destinationlabel">
521 <x>300</x>
522 <y>238</y>
523 </hint>
524 </hints>
525 </connection>
526 <connection>
527 <sender>coverageCheckBox</sender>
528 <signal>toggled(bool)</signal>
529 <receiver>coverageEraseCheckBox</receiver>
530 <slot>setEnabled(bool)</slot>
531 <hints>
532 <hint type="sourcelabel">
533 <x>160</x>
534 <y>320</y>
535 </hint>
536 <hint type="destinationlabel">
537 <x>369</x>
538 <y>319</y>
539 </hint>
540 </hints>
541 </connection>
542 </connections>
543 </ui>

eric ide

mercurial