개정판 6362b86a
issue #663: dialog test
Change-Id: I3cdd04bf08e12d14821976ff9b5a4bc8f48c4cce
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
3347 | 3347 |
app_web_service = AppWebService() |
3348 | 3348 |
symbols = app_web_service.request_symbol_box(project.name, area.img) |
3349 | 3349 | |
3350 |
''' |
|
3350 | 3351 |
configs = app_doc_data.getConfigs('Engine', 'AI') |
3351 | 3352 |
mode = 1 |
3352 | 3353 |
if configs: |
... | ... | |
3356 | 3357 |
for index in reversed(range(len(symbols))): |
3357 | 3358 |
if index % count == 0: |
3358 | 3359 |
symbols.pop(index) |
3360 |
''' |
|
3359 | 3361 | |
3360 | 3362 |
# merge symbol box |
3361 | 3363 |
overlap_merges = [] |
DTI_PID/DTI_PID/UI/LineTypeRegistration.ui | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<ui version="4.0"> |
|
3 |
<class>Dialog</class> |
|
4 |
<widget class="QDialog" name="Dialog"> |
|
5 |
<property name="geometry"> |
|
6 |
<rect> |
|
7 |
<x>0</x> |
|
8 |
<y>0</y> |
|
9 |
<width>513</width> |
|
10 |
<height>273</height> |
|
11 |
</rect> |
|
12 |
</property> |
|
13 |
<property name="windowTitle"> |
|
14 |
<string>Line Type Registration</string> |
|
15 |
</property> |
|
16 |
<layout class="QGridLayout" name="gridLayout"> |
|
17 |
<item row="0" column="0"> |
|
18 |
<layout class="QVBoxLayout" name="verticalLayout"> |
|
19 |
<item> |
|
20 |
<widget class="QLineEdit" name="lineEdit"> |
|
21 |
<property name="enabled"> |
|
22 |
<bool>false</bool> |
|
23 |
</property> |
|
24 |
<property name="readOnly"> |
|
25 |
<bool>false</bool> |
|
26 |
</property> |
|
27 |
</widget> |
|
28 |
</item> |
|
29 |
<item> |
|
30 |
<layout class="QHBoxLayout" name="horizontalLayout"/> |
|
31 |
</item> |
|
32 |
<item> |
|
33 |
<widget class="QDialogButtonBox" name="buttonBox"> |
|
34 |
<property name="orientation"> |
|
35 |
<enum>Qt::Horizontal</enum> |
|
36 |
</property> |
|
37 |
<property name="standardButtons"> |
|
38 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set> |
|
39 |
</property> |
|
40 |
</widget> |
|
41 |
</item> |
|
42 |
</layout> |
|
43 |
</item> |
|
44 |
</layout> |
|
45 |
</widget> |
|
46 |
<resources/> |
|
47 |
<connections> |
|
48 |
<connection> |
|
49 |
<sender>buttonBox</sender> |
|
50 |
<signal>accepted()</signal> |
|
51 |
<receiver>Dialog</receiver> |
|
52 |
<slot>accept()</slot> |
|
53 |
<hints> |
|
54 |
<hint type="sourcelabel"> |
|
55 |
<x>248</x> |
|
56 |
<y>254</y> |
|
57 |
</hint> |
|
58 |
<hint type="destinationlabel"> |
|
59 |
<x>157</x> |
|
60 |
<y>274</y> |
|
61 |
</hint> |
|
62 |
</hints> |
|
63 |
</connection> |
|
64 |
<connection> |
|
65 |
<sender>buttonBox</sender> |
|
66 |
<signal>rejected()</signal> |
|
67 |
<receiver>Dialog</receiver> |
|
68 |
<slot>reject()</slot> |
|
69 |
<hints> |
|
70 |
<hint type="sourcelabel"> |
|
71 |
<x>316</x> |
|
72 |
<y>260</y> |
|
73 |
</hint> |
|
74 |
<hint type="destinationlabel"> |
|
75 |
<x>286</x> |
|
76 |
<y>274</y> |
|
77 |
</hint> |
|
78 |
</hints> |
|
79 |
</connection> |
|
80 |
</connections> |
|
81 |
</ui> |
내보내기 Unified diff