개정판 16dfc99b
validation on going
Change-Id: I1636822a0ac81c1d4cac726dcfa804e399d32341
DTI_PID/DTI_PID/UI/Validation.ui | ||
---|---|---|
7 | 7 |
<x>0</x> |
8 | 8 |
<y>0</y> |
9 | 9 |
<width>647</width> |
10 |
<height>755</height>
|
|
10 |
<height>801</height>
|
|
11 | 11 |
</rect> |
12 | 12 |
</property> |
13 | 13 |
<property name="windowTitle"> |
... | ... | |
15 | 15 |
</property> |
16 | 16 |
<layout class="QGridLayout" name="gridLayout_2"> |
17 | 17 |
<item row="2" column="0"> |
18 |
<widget class="QGroupBox" name="groupBox_2"> |
|
19 |
<property name="title"> |
|
20 |
<string>Text</string> |
|
21 |
</property> |
|
22 |
<layout class="QGridLayout" name="gridLayout_7"> |
|
23 |
<item row="0" column="0"> |
|
24 |
<layout class="QGridLayout" name="gridLayout_6"> |
|
25 |
<item row="0" column="0"> |
|
26 |
<widget class="QLabel" name="label_3"> |
|
27 |
<property name="font"> |
|
28 |
<font> |
|
29 |
<weight>50</weight> |
|
30 |
<bold>false</bold> |
|
31 |
</font> |
|
32 |
</property> |
|
33 |
<property name="text"> |
|
34 |
<string>Error</string> |
|
35 |
</property> |
|
36 |
</widget> |
|
37 |
</item> |
|
38 |
<item row="1" column="0"> |
|
39 |
<widget class="QCheckBox" name="checkBoxT_1"> |
|
40 |
<property name="text"> |
|
41 |
<string>Association error</string> |
|
42 |
</property> |
|
43 |
</widget> |
|
44 |
</item> |
|
45 |
<item row="2" column="0"> |
|
46 |
<widget class="QLabel" name="label_4"> |
|
47 |
<property name="font"> |
|
48 |
<font> |
|
49 |
<weight>50</weight> |
|
50 |
<bold>false</bold> |
|
51 |
</font> |
|
52 |
</property> |
|
53 |
<property name="text"> |
|
54 |
<string>Warning</string> |
|
55 |
</property> |
|
56 |
</widget> |
|
57 |
</item> |
|
58 |
<item row="3" column="0"> |
|
59 |
<widget class="QCheckBox" name="checkBoxT_2"> |
|
60 |
<property name="text"> |
|
61 |
<string>Text overlapping warning</string> |
|
62 |
</property> |
|
63 |
</widget> |
|
64 |
</item> |
|
65 |
</layout> |
|
66 |
</item> |
|
67 |
</layout> |
|
68 |
</widget> |
|
69 |
</item> |
|
70 |
<item row="4" column="0"> |
|
71 |
<widget class="QGroupBox" name="groupBox_4"> |
|
72 |
<property name="title"> |
|
73 |
<string>Line No</string> |
|
74 |
</property> |
|
75 |
<layout class="QGridLayout" name="gridLayout_4"> |
|
76 |
<item row="0" column="0"> |
|
77 |
<layout class="QGridLayout" name="gridLayout_3"> |
|
78 |
<item row="1" column="1"> |
|
79 |
<widget class="QCheckBox" name="checkBoxN_2"> |
|
80 |
<property name="text"> |
|
81 |
<string>Branch size error</string> |
|
82 |
</property> |
|
83 |
</widget> |
|
84 |
</item> |
|
85 |
<item row="1" column="0"> |
|
86 |
<widget class="QCheckBox" name="checkBoxN_1"> |
|
87 |
<property name="text"> |
|
88 |
<string>Size change error</string> |
|
89 |
</property> |
|
90 |
</widget> |
|
91 |
</item> |
|
92 |
<item row="0" column="0"> |
|
93 |
<widget class="QLabel" name="label_8"> |
|
94 |
<property name="font"> |
|
95 |
<font> |
|
96 |
<weight>50</weight> |
|
97 |
<bold>false</bold> |
|
98 |
</font> |
|
99 |
</property> |
|
100 |
<property name="text"> |
|
101 |
<string>Error</string> |
|
102 |
</property> |
|
103 |
</widget> |
|
104 |
</item> |
|
105 |
<item row="4" column="0"> |
|
106 |
<widget class="QCheckBox" name="checkBoxN_4"> |
|
107 |
<property name="text"> |
|
108 |
<string>Main run size warning</string> |
|
109 |
</property> |
|
110 |
</widget> |
|
111 |
</item> |
|
112 |
<item row="3" column="0"> |
|
113 |
<widget class="QLabel" name="label_7"> |
|
114 |
<property name="font"> |
|
115 |
<font> |
|
116 |
<weight>50</weight> |
|
117 |
<bold>false</bold> |
|
118 |
</font> |
|
119 |
</property> |
|
120 |
<property name="text"> |
|
121 |
<string>Warning</string> |
|
122 |
</property> |
|
123 |
</widget> |
|
124 |
</item> |
|
125 |
<item row="2" column="0"> |
|
126 |
<widget class="QCheckBox" name="checkBoxN_3"> |
|
127 |
<property name="text"> |
|
128 |
<string>From/ To error</string> |
|
129 |
</property> |
|
130 |
</widget> |
|
131 |
</item> |
|
132 |
</layout> |
|
133 |
</item> |
|
134 |
</layout> |
|
135 |
</widget> |
|
136 |
</item> |
|
137 |
<item row="6" column="0"> |
|
138 |
<widget class="QDialogButtonBox" name="buttonBox"> |
|
139 |
<property name="orientation"> |
|
140 |
<enum>Qt::Horizontal</enum> |
|
141 |
</property> |
|
142 |
<property name="standardButtons"> |
|
143 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
144 |
</property> |
|
145 |
</widget> |
|
146 |
</item> |
|
147 |
<item row="3" column="0"> |
|
18 | 148 |
<widget class="QGroupBox" name="groupBox_3"> |
19 | 149 |
<property name="title"> |
20 | 150 |
<string>Line</string> |
... | ... | |
123 | 253 |
</layout> |
124 | 254 |
</widget> |
125 | 255 |
</item> |
126 |
<item row="5" column="0"> |
|
127 |
<widget class="QDialogButtonBox" name="buttonBox"> |
|
128 |
<property name="orientation"> |
|
129 |
<enum>Qt::Horizontal</enum> |
|
130 |
</property> |
|
131 |
<property name="standardButtons"> |
|
132 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
|
133 |
</property> |
|
134 |
</widget> |
|
135 |
</item> |
|
136 |
<item row="0" column="0"> |
|
256 |
<item row="1" column="0"> |
|
137 | 257 |
<widget class="QGroupBox" name="groupBox_1"> |
138 | 258 |
<property name="title"> |
139 | 259 |
<string>Symbol</string> |
... | ... | |
287 | 407 |
</layout> |
288 | 408 |
</widget> |
289 | 409 |
</item> |
290 |
<item row="1" column="0">
|
|
291 |
<widget class="QGroupBox" name="groupBox_2">
|
|
292 |
<property name="title">
|
|
293 |
<string>Text</string>
|
|
410 |
<item row="5" column="0">
|
|
411 |
<spacer name="verticalSpacer">
|
|
412 |
<property name="orientation">
|
|
413 |
<enum>Qt::Vertical</enum>
|
|
294 | 414 |
</property> |
295 |
<layout class="QGridLayout" name="gridLayout_7"> |
|
296 |
<item row="0" column="0"> |
|
297 |
<layout class="QGridLayout" name="gridLayout_6"> |
|
298 |
<item row="0" column="0"> |
|
299 |
<widget class="QLabel" name="label_3"> |
|
300 |
<property name="font"> |
|
301 |
<font> |
|
302 |
<weight>50</weight> |
|
303 |
<bold>false</bold> |
|
304 |
</font> |
|
305 |
</property> |
|
306 |
<property name="text"> |
|
307 |
<string>Error</string> |
|
308 |
</property> |
|
309 |
</widget> |
|
310 |
</item> |
|
311 |
<item row="1" column="0"> |
|
312 |
<widget class="QCheckBox" name="checkBoxT_1"> |
|
313 |
<property name="text"> |
|
314 |
<string>Association error</string> |
|
315 |
</property> |
|
316 |
</widget> |
|
317 |
</item> |
|
318 |
<item row="2" column="0"> |
|
319 |
<widget class="QLabel" name="label_4"> |
|
320 |
<property name="font"> |
|
321 |
<font> |
|
322 |
<weight>50</weight> |
|
323 |
<bold>false</bold> |
|
324 |
</font> |
|
325 |
</property> |
|
326 |
<property name="text"> |
|
327 |
<string>Warning</string> |
|
328 |
</property> |
|
329 |
</widget> |
|
330 |
</item> |
|
331 |
<item row="3" column="0"> |
|
332 |
<widget class="QCheckBox" name="checkBoxT_2"> |
|
333 |
<property name="text"> |
|
334 |
<string>Text overlapping warning</string> |
|
335 |
</property> |
|
336 |
</widget> |
|
337 |
</item> |
|
338 |
</layout> |
|
339 |
</item> |
|
340 |
</layout> |
|
341 |
</widget> |
|
415 |
<property name="sizeHint" stdset="0"> |
|
416 |
<size> |
|
417 |
<width>20</width> |
|
418 |
<height>40</height> |
|
419 |
</size> |
|
420 |
</property> |
|
421 |
</spacer> |
|
342 | 422 |
</item> |
343 |
<item row="3" column="0">
|
|
344 |
<widget class="QGroupBox" name="groupBox_4">
|
|
423 |
<item row="0" column="0">
|
|
424 |
<widget class="QGroupBox" name="groupBox"> |
|
345 | 425 |
<property name="title"> |
346 |
<string>Line No</string>
|
|
426 |
<string>Select</string>
|
|
347 | 427 |
</property> |
348 |
<layout class="QGridLayout" name="gridLayout_4">
|
|
428 |
<layout class="QGridLayout" name="gridLayout_11">
|
|
349 | 429 |
<item row="0" column="0"> |
350 |
<layout class="QGridLayout" name="gridLayout_3"> |
|
351 |
<item row="1" column="1"> |
|
352 |
<widget class="QCheckBox" name="checkBoxN_2"> |
|
353 |
<property name="text"> |
|
354 |
<string>Branch size error</string> |
|
355 |
</property> |
|
356 |
</widget> |
|
357 |
</item> |
|
358 |
<item row="1" column="0"> |
|
359 |
<widget class="QCheckBox" name="checkBoxN_1"> |
|
430 |
<layout class="QGridLayout" name="gridLayout_10"> |
|
431 |
<item row="0" column="3"> |
|
432 |
<widget class="QCheckBox" name="checkBoxLine"> |
|
360 | 433 |
<property name="text"> |
361 |
<string>Size change error</string>
|
|
434 |
<string>Line</string>
|
|
362 | 435 |
</property> |
363 | 436 |
</widget> |
364 | 437 |
</item> |
365 |
<item row="0" column="0"> |
|
366 |
<widget class="QLabel" name="label_8"> |
|
367 |
<property name="font"> |
|
368 |
<font> |
|
369 |
<weight>50</weight> |
|
370 |
<bold>false</bold> |
|
371 |
</font> |
|
372 |
</property> |
|
438 |
<item row="0" column="4"> |
|
439 |
<widget class="QCheckBox" name="checkBoxLineNo"> |
|
373 | 440 |
<property name="text"> |
374 |
<string>Error</string>
|
|
441 |
<string>Line No</string>
|
|
375 | 442 |
</property> |
376 | 443 |
</widget> |
377 | 444 |
</item> |
378 |
<item row="4" column="0">
|
|
379 |
<widget class="QCheckBox" name="checkBoxN_4">
|
|
445 |
<item row="0" column="2">
|
|
446 |
<widget class="QCheckBox" name="checkBoxText">
|
|
380 | 447 |
<property name="text"> |
381 |
<string>Main run size warning</string>
|
|
448 |
<string>Text</string>
|
|
382 | 449 |
</property> |
383 | 450 |
</widget> |
384 | 451 |
</item> |
385 |
<item row="3" column="0"> |
|
386 |
<widget class="QLabel" name="label_7"> |
|
387 |
<property name="font"> |
|
388 |
<font> |
|
389 |
<weight>50</weight> |
|
390 |
<bold>false</bold> |
|
391 |
</font> |
|
392 |
</property> |
|
452 |
<item row="0" column="0"> |
|
453 |
<widget class="QCheckBox" name="checkBoxAll"> |
|
393 | 454 |
<property name="text"> |
394 |
<string>Warning</string>
|
|
455 |
<string>All</string>
|
|
395 | 456 |
</property> |
396 | 457 |
</widget> |
397 | 458 |
</item> |
398 |
<item row="2" column="0">
|
|
399 |
<widget class="QCheckBox" name="checkBoxN_3">
|
|
459 |
<item row="0" column="1">
|
|
460 |
<widget class="QCheckBox" name="checkBoxSymbol">
|
|
400 | 461 |
<property name="text"> |
401 |
<string>From/ To error</string>
|
|
462 |
<string>Symbol</string>
|
|
402 | 463 |
</property> |
403 | 464 |
</widget> |
404 | 465 |
</item> |
... | ... | |
407 | 468 |
</layout> |
408 | 469 |
</widget> |
409 | 470 |
</item> |
410 |
<item row="4" column="0"> |
|
411 |
<spacer name="verticalSpacer"> |
|
412 |
<property name="orientation"> |
|
413 |
<enum>Qt::Vertical</enum> |
|
414 |
</property> |
|
415 |
<property name="sizeHint" stdset="0"> |
|
416 |
<size> |
|
417 |
<width>20</width> |
|
418 |
<height>40</height> |
|
419 |
</size> |
|
420 |
</property> |
|
421 |
</spacer> |
|
422 |
</item> |
|
423 | 471 |
</layout> |
424 | 472 |
</widget> |
425 | 473 |
<tabstops> |
474 |
<tabstop>checkBoxAll</tabstop> |
|
475 |
<tabstop>checkBoxSymbol</tabstop> |
|
476 |
<tabstop>checkBoxText</tabstop> |
|
477 |
<tabstop>checkBoxLine</tabstop> |
|
478 |
<tabstop>checkBoxLineNo</tabstop> |
|
426 | 479 |
<tabstop>checkBoxS_1</tabstop> |
427 | 480 |
<tabstop>checkBoxS_2</tabstop> |
428 | 481 |
<tabstop>checkBoxS_3</tabstop> |
DTI_PID/DTI_PID/UI/Validation_UI.py | ||
---|---|---|
14 | 14 |
class Ui_ValidationDialog(object): |
15 | 15 |
def setupUi(self, ValidationDialog): |
16 | 16 |
ValidationDialog.setObjectName("ValidationDialog") |
17 |
ValidationDialog.resize(647, 755)
|
|
17 |
ValidationDialog.resize(647, 801)
|
|
18 | 18 |
self.gridLayout_2 = QtWidgets.QGridLayout(ValidationDialog) |
19 | 19 |
self.gridLayout_2.setObjectName("gridLayout_2") |
20 |
self.groupBox_2 = QtWidgets.QGroupBox(ValidationDialog) |
|
21 |
self.groupBox_2.setObjectName("groupBox_2") |
|
22 |
self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_2) |
|
23 |
self.gridLayout_7.setObjectName("gridLayout_7") |
|
24 |
self.gridLayout_6 = QtWidgets.QGridLayout() |
|
25 |
self.gridLayout_6.setObjectName("gridLayout_6") |
|
26 |
self.label_3 = QtWidgets.QLabel(self.groupBox_2) |
|
27 |
font = QtGui.QFont() |
|
28 |
font.setBold(False) |
|
29 |
font.setWeight(50) |
|
30 |
self.label_3.setFont(font) |
|
31 |
self.label_3.setObjectName("label_3") |
|
32 |
self.gridLayout_6.addWidget(self.label_3, 0, 0, 1, 1) |
|
33 |
self.checkBoxT_1 = QtWidgets.QCheckBox(self.groupBox_2) |
|
34 |
self.checkBoxT_1.setObjectName("checkBoxT_1") |
|
35 |
self.gridLayout_6.addWidget(self.checkBoxT_1, 1, 0, 1, 1) |
|
36 |
self.label_4 = QtWidgets.QLabel(self.groupBox_2) |
|
37 |
font = QtGui.QFont() |
|
38 |
font.setBold(False) |
|
39 |
font.setWeight(50) |
|
40 |
self.label_4.setFont(font) |
|
41 |
self.label_4.setObjectName("label_4") |
|
42 |
self.gridLayout_6.addWidget(self.label_4, 2, 0, 1, 1) |
|
43 |
self.checkBoxT_2 = QtWidgets.QCheckBox(self.groupBox_2) |
|
44 |
self.checkBoxT_2.setObjectName("checkBoxT_2") |
|
45 |
self.gridLayout_6.addWidget(self.checkBoxT_2, 3, 0, 1, 1) |
|
46 |
self.gridLayout_7.addLayout(self.gridLayout_6, 0, 0, 1, 1) |
|
47 |
self.gridLayout_2.addWidget(self.groupBox_2, 2, 0, 1, 1) |
|
48 |
self.groupBox_4 = QtWidgets.QGroupBox(ValidationDialog) |
|
49 |
self.groupBox_4.setObjectName("groupBox_4") |
|
50 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_4) |
|
51 |
self.gridLayout_4.setObjectName("gridLayout_4") |
|
52 |
self.gridLayout_3 = QtWidgets.QGridLayout() |
|
53 |
self.gridLayout_3.setObjectName("gridLayout_3") |
|
54 |
self.checkBoxN_2 = QtWidgets.QCheckBox(self.groupBox_4) |
|
55 |
self.checkBoxN_2.setObjectName("checkBoxN_2") |
|
56 |
self.gridLayout_3.addWidget(self.checkBoxN_2, 1, 1, 1, 1) |
|
57 |
self.checkBoxN_1 = QtWidgets.QCheckBox(self.groupBox_4) |
|
58 |
self.checkBoxN_1.setObjectName("checkBoxN_1") |
|
59 |
self.gridLayout_3.addWidget(self.checkBoxN_1, 1, 0, 1, 1) |
|
60 |
self.label_8 = QtWidgets.QLabel(self.groupBox_4) |
|
61 |
font = QtGui.QFont() |
|
62 |
font.setBold(False) |
|
63 |
font.setWeight(50) |
|
64 |
self.label_8.setFont(font) |
|
65 |
self.label_8.setObjectName("label_8") |
|
66 |
self.gridLayout_3.addWidget(self.label_8, 0, 0, 1, 1) |
|
67 |
self.checkBoxN_4 = QtWidgets.QCheckBox(self.groupBox_4) |
|
68 |
self.checkBoxN_4.setObjectName("checkBoxN_4") |
|
69 |
self.gridLayout_3.addWidget(self.checkBoxN_4, 4, 0, 1, 1) |
|
70 |
self.label_7 = QtWidgets.QLabel(self.groupBox_4) |
|
71 |
font = QtGui.QFont() |
|
72 |
font.setBold(False) |
|
73 |
font.setWeight(50) |
|
74 |
self.label_7.setFont(font) |
|
75 |
self.label_7.setObjectName("label_7") |
|
76 |
self.gridLayout_3.addWidget(self.label_7, 3, 0, 1, 1) |
|
77 |
self.checkBoxN_3 = QtWidgets.QCheckBox(self.groupBox_4) |
|
78 |
self.checkBoxN_3.setObjectName("checkBoxN_3") |
|
79 |
self.gridLayout_3.addWidget(self.checkBoxN_3, 2, 0, 1, 1) |
|
80 |
self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1) |
|
81 |
self.gridLayout_2.addWidget(self.groupBox_4, 4, 0, 1, 1) |
|
82 |
self.buttonBox = QtWidgets.QDialogButtonBox(ValidationDialog) |
|
83 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
|
84 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
|
85 |
self.buttonBox.setObjectName("buttonBox") |
|
86 |
self.gridLayout_2.addWidget(self.buttonBox, 6, 0, 1, 1) |
|
20 | 87 |
self.groupBox_3 = QtWidgets.QGroupBox(ValidationDialog) |
21 | 88 |
self.groupBox_3.setObjectName("groupBox_3") |
22 | 89 |
self.gridLayout_9 = QtWidgets.QGridLayout(self.groupBox_3) |
... | ... | |
68 | 135 |
self.checkBoxL_10.setObjectName("checkBoxL_10") |
69 | 136 |
self.gridLayout_8.addWidget(self.checkBoxL_10, 7, 0, 1, 1) |
70 | 137 |
self.gridLayout_9.addLayout(self.gridLayout_8, 0, 0, 1, 1) |
71 |
self.gridLayout_2.addWidget(self.groupBox_3, 2, 0, 1, 1) |
|
72 |
self.buttonBox = QtWidgets.QDialogButtonBox(ValidationDialog) |
|
73 |
self.buttonBox.setOrientation(QtCore.Qt.Horizontal) |
|
74 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok) |
|
75 |
self.buttonBox.setObjectName("buttonBox") |
|
76 |
self.gridLayout_2.addWidget(self.buttonBox, 5, 0, 1, 1) |
|
138 |
self.gridLayout_2.addWidget(self.groupBox_3, 3, 0, 1, 1) |
|
77 | 139 |
self.groupBox_1 = QtWidgets.QGroupBox(ValidationDialog) |
78 | 140 |
self.groupBox_1.setObjectName("groupBox_1") |
79 | 141 |
self.gridLayout = QtWidgets.QGridLayout(self.groupBox_1) |
... | ... | |
144 | 206 |
self.checkBoxS_11.setObjectName("checkBoxS_11") |
145 | 207 |
self.gridLayout_5.addWidget(self.checkBoxS_11, 6, 0, 1, 1) |
146 | 208 |
self.gridLayout.addLayout(self.gridLayout_5, 0, 0, 1, 1) |
147 |
self.gridLayout_2.addWidget(self.groupBox_1, 0, 0, 1, 1) |
|
148 |
self.groupBox_2 = QtWidgets.QGroupBox(ValidationDialog) |
|
149 |
self.groupBox_2.setObjectName("groupBox_2") |
|
150 |
self.gridLayout_7 = QtWidgets.QGridLayout(self.groupBox_2) |
|
151 |
self.gridLayout_7.setObjectName("gridLayout_7") |
|
152 |
self.gridLayout_6 = QtWidgets.QGridLayout() |
|
153 |
self.gridLayout_6.setObjectName("gridLayout_6") |
|
154 |
self.label_3 = QtWidgets.QLabel(self.groupBox_2) |
|
155 |
font = QtGui.QFont() |
|
156 |
font.setBold(False) |
|
157 |
font.setWeight(50) |
|
158 |
self.label_3.setFont(font) |
|
159 |
self.label_3.setObjectName("label_3") |
|
160 |
self.gridLayout_6.addWidget(self.label_3, 0, 0, 1, 1) |
|
161 |
self.checkBoxT_1 = QtWidgets.QCheckBox(self.groupBox_2) |
|
162 |
self.checkBoxT_1.setObjectName("checkBoxT_1") |
|
163 |
self.gridLayout_6.addWidget(self.checkBoxT_1, 1, 0, 1, 1) |
|
164 |
self.label_4 = QtWidgets.QLabel(self.groupBox_2) |
|
165 |
font = QtGui.QFont() |
|
166 |
font.setBold(False) |
|
167 |
font.setWeight(50) |
|
168 |
self.label_4.setFont(font) |
|
169 |
self.label_4.setObjectName("label_4") |
|
170 |
self.gridLayout_6.addWidget(self.label_4, 2, 0, 1, 1) |
|
171 |
self.checkBoxT_2 = QtWidgets.QCheckBox(self.groupBox_2) |
|
172 |
self.checkBoxT_2.setObjectName("checkBoxT_2") |
|
173 |
self.gridLayout_6.addWidget(self.checkBoxT_2, 3, 0, 1, 1) |
|
174 |
self.gridLayout_7.addLayout(self.gridLayout_6, 0, 0, 1, 1) |
|
175 |
self.gridLayout_2.addWidget(self.groupBox_2, 1, 0, 1, 1) |
|
176 |
self.groupBox_4 = QtWidgets.QGroupBox(ValidationDialog) |
|
177 |
self.groupBox_4.setObjectName("groupBox_4") |
|
178 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_4) |
|
179 |
self.gridLayout_4.setObjectName("gridLayout_4") |
|
180 |
self.gridLayout_3 = QtWidgets.QGridLayout() |
|
181 |
self.gridLayout_3.setObjectName("gridLayout_3") |
|
182 |
self.checkBoxN_2 = QtWidgets.QCheckBox(self.groupBox_4) |
|
183 |
self.checkBoxN_2.setObjectName("checkBoxN_2") |
|
184 |
self.gridLayout_3.addWidget(self.checkBoxN_2, 1, 1, 1, 1) |
|
185 |
self.checkBoxN_1 = QtWidgets.QCheckBox(self.groupBox_4) |
|
186 |
self.checkBoxN_1.setObjectName("checkBoxN_1") |
|
187 |
self.gridLayout_3.addWidget(self.checkBoxN_1, 1, 0, 1, 1) |
|
188 |
self.label_8 = QtWidgets.QLabel(self.groupBox_4) |
|
189 |
font = QtGui.QFont() |
|
190 |
font.setBold(False) |
|
191 |
font.setWeight(50) |
|
192 |
self.label_8.setFont(font) |
|
193 |
self.label_8.setObjectName("label_8") |
|
194 |
self.gridLayout_3.addWidget(self.label_8, 0, 0, 1, 1) |
|
195 |
self.checkBoxN_4 = QtWidgets.QCheckBox(self.groupBox_4) |
|
196 |
self.checkBoxN_4.setObjectName("checkBoxN_4") |
|
197 |
self.gridLayout_3.addWidget(self.checkBoxN_4, 4, 0, 1, 1) |
|
198 |
self.label_7 = QtWidgets.QLabel(self.groupBox_4) |
|
199 |
font = QtGui.QFont() |
|
200 |
font.setBold(False) |
|
201 |
font.setWeight(50) |
|
202 |
self.label_7.setFont(font) |
|
203 |
self.label_7.setObjectName("label_7") |
|
204 |
self.gridLayout_3.addWidget(self.label_7, 3, 0, 1, 1) |
|
205 |
self.checkBoxN_3 = QtWidgets.QCheckBox(self.groupBox_4) |
|
206 |
self.checkBoxN_3.setObjectName("checkBoxN_3") |
|
207 |
self.gridLayout_3.addWidget(self.checkBoxN_3, 2, 0, 1, 1) |
|
208 |
self.gridLayout_4.addLayout(self.gridLayout_3, 0, 0, 1, 1) |
|
209 |
self.gridLayout_2.addWidget(self.groupBox_4, 3, 0, 1, 1) |
|
209 |
self.gridLayout_2.addWidget(self.groupBox_1, 1, 0, 1, 1) |
|
210 | 210 |
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) |
211 |
self.gridLayout_2.addItem(spacerItem, 4, 0, 1, 1) |
|
211 |
self.gridLayout_2.addItem(spacerItem, 5, 0, 1, 1) |
|
212 |
self.groupBox = QtWidgets.QGroupBox(ValidationDialog) |
|
213 |
self.groupBox.setObjectName("groupBox") |
|
214 |
self.gridLayout_11 = QtWidgets.QGridLayout(self.groupBox) |
|
215 |
self.gridLayout_11.setObjectName("gridLayout_11") |
|
216 |
self.gridLayout_10 = QtWidgets.QGridLayout() |
|
217 |
self.gridLayout_10.setObjectName("gridLayout_10") |
|
218 |
self.checkBoxLine = QtWidgets.QCheckBox(self.groupBox) |
|
219 |
self.checkBoxLine.setObjectName("checkBoxLine") |
|
220 |
self.gridLayout_10.addWidget(self.checkBoxLine, 0, 3, 1, 1) |
|
221 |
self.checkBoxLineNo = QtWidgets.QCheckBox(self.groupBox) |
|
222 |
self.checkBoxLineNo.setObjectName("checkBoxLineNo") |
|
223 |
self.gridLayout_10.addWidget(self.checkBoxLineNo, 0, 4, 1, 1) |
|
224 |
self.checkBoxText = QtWidgets.QCheckBox(self.groupBox) |
|
225 |
self.checkBoxText.setObjectName("checkBoxText") |
|
226 |
self.gridLayout_10.addWidget(self.checkBoxText, 0, 2, 1, 1) |
|
227 |
self.checkBoxAll = QtWidgets.QCheckBox(self.groupBox) |
|
228 |
self.checkBoxAll.setObjectName("checkBoxAll") |
|
229 |
self.gridLayout_10.addWidget(self.checkBoxAll, 0, 0, 1, 1) |
|
230 |
self.checkBoxSymbol = QtWidgets.QCheckBox(self.groupBox) |
|
231 |
self.checkBoxSymbol.setObjectName("checkBoxSymbol") |
|
232 |
self.gridLayout_10.addWidget(self.checkBoxSymbol, 0, 1, 1, 1) |
|
233 |
self.gridLayout_11.addLayout(self.gridLayout_10, 0, 0, 1, 1) |
|
234 |
self.gridLayout_2.addWidget(self.groupBox, 0, 0, 1, 1) |
|
212 | 235 |
|
213 | 236 |
self.retranslateUi(ValidationDialog) |
214 | 237 |
self.buttonBox.accepted.connect(ValidationDialog.accept) |
215 | 238 |
self.buttonBox.rejected.connect(ValidationDialog.reject) |
216 | 239 |
QtCore.QMetaObject.connectSlotsByName(ValidationDialog) |
240 |
ValidationDialog.setTabOrder(self.checkBoxAll, self.checkBoxSymbol) |
|
241 |
ValidationDialog.setTabOrder(self.checkBoxSymbol, self.checkBoxText) |
|
242 |
ValidationDialog.setTabOrder(self.checkBoxText, self.checkBoxLine) |
|
243 |
ValidationDialog.setTabOrder(self.checkBoxLine, self.checkBoxLineNo) |
|
244 |
ValidationDialog.setTabOrder(self.checkBoxLineNo, self.checkBoxS_1) |
|
217 | 245 |
ValidationDialog.setTabOrder(self.checkBoxS_1, self.checkBoxS_2) |
218 | 246 |
ValidationDialog.setTabOrder(self.checkBoxS_2, self.checkBoxS_3) |
219 | 247 |
ValidationDialog.setTabOrder(self.checkBoxS_3, self.checkBoxS_4) |
... | ... | |
249 | 277 |
def retranslateUi(self, ValidationDialog): |
250 | 278 |
_translate = QtCore.QCoreApplication.translate |
251 | 279 |
ValidationDialog.setWindowTitle(_translate("ValidationDialog", "Validation")) |
280 |
self.groupBox_2.setTitle(_translate("ValidationDialog", "Text")) |
|
281 |
self.label_3.setText(_translate("ValidationDialog", "Error")) |
|
282 |
self.checkBoxT_1.setText(_translate("ValidationDialog", "Association error")) |
|
283 |
self.label_4.setText(_translate("ValidationDialog", "Warning")) |
|
284 |
self.checkBoxT_2.setText(_translate("ValidationDialog", "Text overlapping warning")) |
|
285 |
self.groupBox_4.setTitle(_translate("ValidationDialog", "Line No")) |
|
286 |
self.checkBoxN_2.setText(_translate("ValidationDialog", "Branch size error")) |
|
287 |
self.checkBoxN_1.setText(_translate("ValidationDialog", "Size change error")) |
|
288 |
self.label_8.setText(_translate("ValidationDialog", "Error")) |
|
289 |
self.checkBoxN_4.setText(_translate("ValidationDialog", "Main run size warning")) |
|
290 |
self.label_7.setText(_translate("ValidationDialog", "Warning")) |
|
291 |
self.checkBoxN_3.setText(_translate("ValidationDialog", "From/ To error")) |
|
252 | 292 |
self.groupBox_3.setTitle(_translate("ValidationDialog", "Line")) |
253 | 293 |
self.label_5.setText(_translate("ValidationDialog", "Error")) |
254 | 294 |
self.checkBoxL_4.setText(_translate("ValidationDialog", "Disconnected from opposite side")) |
... | ... | |
281 | 321 |
self.checkBoxS_9.setText(_translate("ValidationDialog", "UpStream or DownStream is disconnected")) |
282 | 322 |
self.checkBoxS_12.setText(_translate("ValidationDialog", "X Mismatched connection point")) |
283 | 323 |
self.checkBoxS_11.setText(_translate("ValidationDialog", "UpStream and DownStream is misconnected")) |
284 |
self.groupBox_2.setTitle(_translate("ValidationDialog", "Text")) |
|
285 |
self.label_3.setText(_translate("ValidationDialog", "Error")) |
|
286 |
self.checkBoxT_1.setText(_translate("ValidationDialog", "Association error")) |
|
287 |
self.label_4.setText(_translate("ValidationDialog", "Warning")) |
|
288 |
self.checkBoxT_2.setText(_translate("ValidationDialog", "Text overlapping warning")) |
|
289 |
self.groupBox_4.setTitle(_translate("ValidationDialog", "Line No")) |
|
290 |
self.checkBoxN_2.setText(_translate("ValidationDialog", "Branch size error")) |
|
291 |
self.checkBoxN_1.setText(_translate("ValidationDialog", "Size change error")) |
|
292 |
self.label_8.setText(_translate("ValidationDialog", "Error")) |
|
293 |
self.checkBoxN_4.setText(_translate("ValidationDialog", "Main run size warning")) |
|
294 |
self.label_7.setText(_translate("ValidationDialog", "Warning")) |
|
295 |
self.checkBoxN_3.setText(_translate("ValidationDialog", "From/ To error")) |
|
324 |
self.groupBox.setTitle(_translate("ValidationDialog", "Select")) |
|
325 |
self.checkBoxLine.setText(_translate("ValidationDialog", "Line")) |
|
326 |
self.checkBoxLineNo.setText(_translate("ValidationDialog", "Line No")) |
|
327 |
self.checkBoxText.setText(_translate("ValidationDialog", "Text")) |
|
328 |
self.checkBoxAll.setText(_translate("ValidationDialog", "All")) |
|
329 |
self.checkBoxSymbol.setText(_translate("ValidationDialog", "Symbol")) |
|
296 | 330 |
import MainWindow_rc |
297 | 331 |
|
298 | 332 |
|
minorTools/fileNameChanger.py | ||
---|---|---|
1 |
import os |
|
2 |
|
|
3 |
rootPath = "E:\\from_desktop2\\ARS\OTEKO\\설계 Inform(240523)\\01_PID" |
|
4 |
folderPath = os.path.join(rootPath, "_REV.A_name") |
|
5 |
fileList = os.listdir(folderPath) |
|
6 |
|
|
7 |
print('start') |
|
8 |
|
|
9 |
for index in range(len(fileList)): |
|
10 |
old = os.path.join(folderPath, fileList[index]) |
|
11 |
new = os.path.join(folderPath, fileList[index].replace('_Rev.A.pdf', '.pdf')) |
|
12 |
os.rename(old, new) |
내보내기 Unified diff