1 |
1 |
# -*- coding: utf-8 -*-
|
2 |
2 |
|
3 |
|
# Form implementation generated from reading ui file './UI/Configuration.ui'
|
|
3 |
# Form implementation generated from reading ui file '.\UI\Configuration.ui'
|
4 |
4 |
#
|
5 |
|
# Created by: PyQt5 UI code generator 5.11.3
|
|
5 |
# Created by: PyQt5 UI code generator 5.13.0
|
6 |
6 |
#
|
7 |
7 |
# WARNING! All changes made in this file will be lost!
|
8 |
8 |
|
|
9 |
|
9 |
10 |
from PyQt5 import QtCore, QtGui, QtWidgets
|
10 |
11 |
|
|
12 |
|
11 |
13 |
class Ui_ConfigurationDialog(object):
|
12 |
14 |
def setupUi(self, ConfigurationDialog):
|
13 |
15 |
ConfigurationDialog.setObjectName("ConfigurationDialog")
|
14 |
|
ConfigurationDialog.resize(704, 871)
|
|
16 |
ConfigurationDialog.resize(617, 577)
|
15 |
17 |
font = QtGui.QFont()
|
16 |
18 |
font.setFamily("맑은 고딕")
|
17 |
19 |
ConfigurationDialog.setFont(font)
|
... | ... | |
31 |
33 |
self.groupBoxFilter.setObjectName("groupBoxFilter")
|
32 |
34 |
self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBoxFilter)
|
33 |
35 |
self.gridLayout_8.setObjectName("gridLayout_8")
|
34 |
|
self.verticalLayout_9 = QtWidgets.QVBoxLayout()
|
35 |
|
self.verticalLayout_9.setObjectName("verticalLayout_9")
|
36 |
|
self.horizontalLayout_16 = QtWidgets.QHBoxLayout()
|
37 |
|
self.horizontalLayout_16.setObjectName("horizontalLayout_16")
|
|
36 |
self.gridLayout_27 = QtWidgets.QGridLayout()
|
|
37 |
self.gridLayout_27.setObjectName("gridLayout_27")
|
38 |
38 |
self.label_10 = QtWidgets.QLabel(self.groupBoxFilter)
|
39 |
39 |
self.label_10.setMaximumSize(QtCore.QSize(230, 16777215))
|
40 |
40 |
self.label_10.setObjectName("label_10")
|
41 |
|
self.horizontalLayout_16.addWidget(self.label_10, 0, QtCore.Qt.AlignVCenter)
|
|
41 |
self.gridLayout_27.addWidget(self.label_10, 0, 0, 1, 1)
|
42 |
42 |
self.spinBoxMinimumSize = QtWidgets.QSpinBox(self.groupBoxFilter)
|
43 |
43 |
self.spinBoxMinimumSize.setObjectName("spinBoxMinimumSize")
|
44 |
|
self.horizontalLayout_16.addWidget(self.spinBoxMinimumSize)
|
45 |
|
self.verticalLayout_9.addLayout(self.horizontalLayout_16)
|
46 |
|
self.horizontalLayout_20 = QtWidgets.QHBoxLayout()
|
47 |
|
self.horizontalLayout_20.setObjectName("horizontalLayout_20")
|
48 |
|
self.label_33 = QtWidgets.QLabel(self.groupBoxFilter)
|
49 |
|
self.label_33.setMinimumSize(QtCore.QSize(230, 0))
|
50 |
|
self.label_33.setMaximumSize(QtCore.QSize(230, 16777215))
|
51 |
|
self.label_33.setObjectName("label_33")
|
52 |
|
self.horizontalLayout_20.addWidget(self.label_33)
|
|
44 |
self.gridLayout_27.addWidget(self.spinBoxMinimumSize, 0, 1, 1, 1)
|
53 |
45 |
self.spinBoxUnrecognitionIgnoreStep = QtWidgets.QSpinBox(self.groupBoxFilter)
|
54 |
46 |
self.spinBoxUnrecognitionIgnoreStep.setMaximum(10)
|
55 |
47 |
self.spinBoxUnrecognitionIgnoreStep.setObjectName("spinBoxUnrecognitionIgnoreStep")
|
56 |
|
self.horizontalLayout_20.addWidget(self.spinBoxUnrecognitionIgnoreStep)
|
57 |
|
self.verticalLayout_9.addLayout(self.horizontalLayout_20)
|
58 |
|
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
|
59 |
|
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
|
48 |
self.gridLayout_27.addWidget(self.spinBoxUnrecognitionIgnoreStep, 1, 1, 1, 1)
|
60 |
49 |
self.label_29 = QtWidgets.QLabel(self.groupBoxFilter)
|
61 |
50 |
self.label_29.setMaximumSize(QtCore.QSize(230, 16777215))
|
62 |
51 |
self.label_29.setObjectName("label_29")
|
63 |
|
self.horizontalLayout_6.addWidget(self.label_29)
|
|
52 |
self.gridLayout_27.addWidget(self.label_29, 2, 0, 1, 1)
|
64 |
53 |
self.spinBoxDilateSize = QtWidgets.QSpinBox(self.groupBoxFilter)
|
65 |
54 |
self.spinBoxDilateSize.setMaximum(10)
|
66 |
55 |
self.spinBoxDilateSize.setObjectName("spinBoxDilateSize")
|
67 |
|
self.horizontalLayout_6.addWidget(self.spinBoxDilateSize)
|
68 |
|
self.verticalLayout_9.addLayout(self.horizontalLayout_6)
|
69 |
|
self.horizontalLayout_10 = QtWidgets.QHBoxLayout()
|
70 |
|
self.horizontalLayout_10.setObjectName("horizontalLayout_10")
|
|
56 |
self.gridLayout_27.addWidget(self.spinBoxDilateSize, 2, 1, 1, 1)
|
|
57 |
self.label_33 = QtWidgets.QLabel(self.groupBoxFilter)
|
|
58 |
self.label_33.setMinimumSize(QtCore.QSize(230, 0))
|
|
59 |
self.label_33.setMaximumSize(QtCore.QSize(230, 16777215))
|
|
60 |
self.label_33.setObjectName("label_33")
|
|
61 |
self.gridLayout_27.addWidget(self.label_33, 1, 0, 1, 1)
|
71 |
62 |
self.label_32 = QtWidgets.QLabel(self.groupBoxFilter)
|
72 |
63 |
self.label_32.setMaximumSize(QtCore.QSize(230, 16777215))
|
73 |
64 |
self.label_32.setObjectName("label_32")
|
74 |
|
self.horizontalLayout_10.addWidget(self.label_32)
|
|
65 |
self.gridLayout_27.addWidget(self.label_32, 3, 0, 1, 1)
|
75 |
66 |
self.spinBoxFlatSize = QtWidgets.QSpinBox(self.groupBoxFilter)
|
76 |
67 |
self.spinBoxFlatSize.setObjectName("spinBoxFlatSize")
|
77 |
|
self.horizontalLayout_10.addWidget(self.spinBoxFlatSize)
|
78 |
|
self.verticalLayout_9.addLayout(self.horizontalLayout_10)
|
79 |
|
self.gridLayout_8.addLayout(self.verticalLayout_9, 0, 0, 1, 1)
|
|
68 |
self.gridLayout_27.addWidget(self.spinBoxFlatSize, 3, 1, 1, 1)
|
|
69 |
self.gridLayout_8.addLayout(self.gridLayout_27, 0, 0, 1, 1)
|
80 |
70 |
self.gridLayout_2.addWidget(self.groupBoxFilter, 2, 1, 1, 1)
|
81 |
71 |
self.groupBoxText = QtWidgets.QGroupBox(self.Recognition)
|
82 |
72 |
self.groupBoxText.setObjectName("groupBoxText")
|
83 |
73 |
self.gridLayout_14 = QtWidgets.QGridLayout(self.groupBoxText)
|
84 |
74 |
self.gridLayout_14.setObjectName("gridLayout_14")
|
85 |
|
self.verticalLayout_5 = QtWidgets.QVBoxLayout()
|
86 |
|
self.verticalLayout_5.setObjectName("verticalLayout_5")
|
87 |
|
self.horizontalLayout_14 = QtWidgets.QHBoxLayout()
|
88 |
|
self.horizontalLayout_14.setObjectName("horizontalLayout_14")
|
89 |
|
self.label_19 = QtWidgets.QLabel(self.groupBoxText)
|
90 |
|
self.label_19.setObjectName("label_19")
|
91 |
|
self.horizontalLayout_14.addWidget(self.label_19)
|
92 |
|
self.comboBoxOCRData = QtWidgets.QComboBox(self.groupBoxText)
|
93 |
|
self.comboBoxOCRData.setMinimumSize(QtCore.QSize(200, 0))
|
94 |
|
self.comboBoxOCRData.setMaximumSize(QtCore.QSize(200, 16777215))
|
95 |
|
self.comboBoxOCRData.setObjectName("comboBoxOCRData")
|
96 |
|
self.horizontalLayout_14.addWidget(self.comboBoxOCRData)
|
97 |
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
98 |
|
self.horizontalLayout_14.addItem(spacerItem)
|
99 |
|
self.verticalLayout_5.addLayout(self.horizontalLayout_14)
|
100 |
|
self.horizontalLayout_11 = QtWidgets.QHBoxLayout()
|
101 |
|
self.horizontalLayout_11.setObjectName("horizontalLayout_11")
|
102 |
|
self.label_7 = QtWidgets.QLabel(self.groupBoxText)
|
103 |
|
self.label_7.setObjectName("label_7")
|
104 |
|
self.horizontalLayout_11.addWidget(self.label_7)
|
105 |
|
self.lineEditWhiteCharList = QtWidgets.QLineEdit(self.groupBoxText)
|
106 |
|
self.lineEditWhiteCharList.setObjectName("lineEditWhiteCharList")
|
107 |
|
self.horizontalLayout_11.addWidget(self.lineEditWhiteCharList)
|
108 |
|
self.verticalLayout_5.addLayout(self.horizontalLayout_11)
|
109 |
|
self.horizontalLayout_26 = QtWidgets.QHBoxLayout()
|
110 |
|
self.horizontalLayout_26.setObjectName("horizontalLayout_26")
|
111 |
|
self.label_37 = QtWidgets.QLabel(self.groupBoxText)
|
112 |
|
self.label_37.setObjectName("label_37")
|
113 |
|
self.horizontalLayout_26.addWidget(self.label_37)
|
114 |
|
self.lineEditSingleText = QtWidgets.QLineEdit(self.groupBoxText)
|
115 |
|
self.lineEditSingleText.setObjectName("lineEditSingleText")
|
116 |
|
self.horizontalLayout_26.addWidget(self.lineEditSingleText)
|
117 |
|
self.verticalLayout_5.addLayout(self.horizontalLayout_26)
|
118 |
|
self.horizontalLayout_15 = QtWidgets.QHBoxLayout()
|
119 |
|
self.horizontalLayout_15.setObjectName("horizontalLayout_15")
|
120 |
|
self.label_20 = QtWidgets.QLabel(self.groupBoxText)
|
121 |
|
self.label_20.setObjectName("label_20")
|
122 |
|
self.horizontalLayout_15.addWidget(self.label_20)
|
123 |
|
self.spinBoxExpandSize = QtWidgets.QSpinBox(self.groupBoxText)
|
124 |
|
self.spinBoxExpandSize.setMinimumSize(QtCore.QSize(100, 0))
|
125 |
|
self.spinBoxExpandSize.setObjectName("spinBoxExpandSize")
|
126 |
|
self.horizontalLayout_15.addWidget(self.spinBoxExpandSize)
|
127 |
|
self.label_21 = QtWidgets.QLabel(self.groupBoxText)
|
128 |
|
self.label_21.setObjectName("label_21")
|
129 |
|
self.horizontalLayout_15.addWidget(self.label_21)
|
130 |
|
self.spinBoxShrinkSize = QtWidgets.QSpinBox(self.groupBoxText)
|
131 |
|
self.spinBoxShrinkSize.setMinimumSize(QtCore.QSize(100, 0))
|
132 |
|
self.spinBoxShrinkSize.setObjectName("spinBoxShrinkSize")
|
133 |
|
self.horizontalLayout_15.addWidget(self.spinBoxShrinkSize)
|
134 |
|
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
135 |
|
self.horizontalLayout_15.addItem(spacerItem1)
|
136 |
|
self.verticalLayout_5.addLayout(self.horizontalLayout_15)
|
137 |
|
self.horizontalLayout_13 = QtWidgets.QHBoxLayout()
|
138 |
|
self.horizontalLayout_13.setObjectName("horizontalLayout_13")
|
139 |
|
self.label_17 = QtWidgets.QLabel(self.groupBoxText)
|
140 |
|
self.label_17.setObjectName("label_17")
|
141 |
|
self.horizontalLayout_13.addWidget(self.label_17, 0, QtCore.Qt.AlignLeft)
|
|
75 |
self.gridLayout_25 = QtWidgets.QGridLayout()
|
|
76 |
self.gridLayout_25.setObjectName("gridLayout_25")
|
|
77 |
self.maxTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText)
|
|
78 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
|
|
79 |
sizePolicy.setHorizontalStretch(0)
|
|
80 |
sizePolicy.setVerticalStretch(0)
|
|
81 |
sizePolicy.setHeightForWidth(self.maxTextSizeSpinBox.sizePolicy().hasHeightForWidth())
|
|
82 |
self.maxTextSizeSpinBox.setSizePolicy(sizePolicy)
|
|
83 |
self.maxTextSizeSpinBox.setProperty("value", 60)
|
|
84 |
self.maxTextSizeSpinBox.setObjectName("maxTextSizeSpinBox")
|
|
85 |
self.gridLayout_25.addWidget(self.maxTextSizeSpinBox, 4, 3, 1, 1)
|
142 |
86 |
self.minTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText)
|
143 |
87 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
|
144 |
88 |
sizePolicy.setHorizontalStretch(0)
|
... | ... | |
148 |
92 |
self.minTextSizeSpinBox.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
149 |
93 |
self.minTextSizeSpinBox.setProperty("value", 30)
|
150 |
94 |
self.minTextSizeSpinBox.setObjectName("minTextSizeSpinBox")
|
151 |
|
self.horizontalLayout_13.addWidget(self.minTextSizeSpinBox)
|
|
95 |
self.gridLayout_25.addWidget(self.minTextSizeSpinBox, 4, 1, 1, 1)
|
152 |
96 |
self.label_18 = QtWidgets.QLabel(self.groupBoxText)
|
153 |
97 |
self.label_18.setObjectName("label_18")
|
154 |
|
self.horizontalLayout_13.addWidget(self.label_18)
|
155 |
|
self.maxTextSizeSpinBox = QtWidgets.QSpinBox(self.groupBoxText)
|
156 |
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
|
157 |
|
sizePolicy.setHorizontalStretch(0)
|
158 |
|
sizePolicy.setVerticalStretch(0)
|
159 |
|
sizePolicy.setHeightForWidth(self.maxTextSizeSpinBox.sizePolicy().hasHeightForWidth())
|
160 |
|
self.maxTextSizeSpinBox.setSizePolicy(sizePolicy)
|
161 |
|
self.maxTextSizeSpinBox.setProperty("value", 60)
|
162 |
|
self.maxTextSizeSpinBox.setObjectName("maxTextSizeSpinBox")
|
163 |
|
self.horizontalLayout_13.addWidget(self.maxTextSizeSpinBox)
|
164 |
|
spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
165 |
|
self.horizontalLayout_13.addItem(spacerItem2)
|
166 |
|
self.verticalLayout_5.addLayout(self.horizontalLayout_13)
|
167 |
|
self.horizontalLayout_17 = QtWidgets.QHBoxLayout()
|
168 |
|
self.horizontalLayout_17.setObjectName("horizontalLayout_17")
|
|
98 |
self.gridLayout_25.addWidget(self.label_18, 4, 2, 1, 1)
|
|
99 |
self.label_17 = QtWidgets.QLabel(self.groupBoxText)
|
|
100 |
self.label_17.setObjectName("label_17")
|
|
101 |
self.gridLayout_25.addWidget(self.label_17, 4, 0, 1, 1)
|
|
102 |
self.label_21 = QtWidgets.QLabel(self.groupBoxText)
|
|
103 |
self.label_21.setObjectName("label_21")
|
|
104 |
self.gridLayout_25.addWidget(self.label_21, 3, 2, 1, 1)
|
|
105 |
self.spinBoxShrinkSize = QtWidgets.QSpinBox(self.groupBoxText)
|
|
106 |
self.spinBoxShrinkSize.setMinimumSize(QtCore.QSize(100, 0))
|
|
107 |
self.spinBoxShrinkSize.setObjectName("spinBoxShrinkSize")
|
|
108 |
self.gridLayout_25.addWidget(self.spinBoxShrinkSize, 3, 3, 1, 1)
|
|
109 |
self.spinBoxExpandSize = QtWidgets.QSpinBox(self.groupBoxText)
|
|
110 |
self.spinBoxExpandSize.setMinimumSize(QtCore.QSize(100, 0))
|
|
111 |
self.spinBoxExpandSize.setObjectName("spinBoxExpandSize")
|
|
112 |
self.gridLayout_25.addWidget(self.spinBoxExpandSize, 3, 1, 1, 1)
|
|
113 |
self.label_19 = QtWidgets.QLabel(self.groupBoxText)
|
|
114 |
self.label_19.setObjectName("label_19")
|
|
115 |
self.gridLayout_25.addWidget(self.label_19, 0, 0, 1, 1)
|
|
116 |
self.label_7 = QtWidgets.QLabel(self.groupBoxText)
|
|
117 |
self.label_7.setObjectName("label_7")
|
|
118 |
self.gridLayout_25.addWidget(self.label_7, 1, 0, 1, 1)
|
|
119 |
self.label_20 = QtWidgets.QLabel(self.groupBoxText)
|
|
120 |
self.label_20.setObjectName("label_20")
|
|
121 |
self.gridLayout_25.addWidget(self.label_20, 3, 0, 1, 1)
|
|
122 |
self.label_37 = QtWidgets.QLabel(self.groupBoxText)
|
|
123 |
self.label_37.setObjectName("label_37")
|
|
124 |
self.gridLayout_25.addWidget(self.label_37, 2, 0, 1, 1)
|
169 |
125 |
self.label_22 = QtWidgets.QLabel(self.groupBoxText)
|
170 |
126 |
self.label_22.setObjectName("label_22")
|
171 |
|
self.horizontalLayout_17.addWidget(self.label_22)
|
|
127 |
self.gridLayout_25.addWidget(self.label_22, 5, 0, 1, 1)
|
172 |
128 |
self.spinBoxMergeSize = QtWidgets.QSpinBox(self.groupBoxText)
|
173 |
129 |
self.spinBoxMergeSize.setMinimumSize(QtCore.QSize(100, 0))
|
174 |
130 |
self.spinBoxMergeSize.setObjectName("spinBoxMergeSize")
|
175 |
|
self.horizontalLayout_17.addWidget(self.spinBoxMergeSize)
|
176 |
|
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
177 |
|
self.horizontalLayout_17.addItem(spacerItem3)
|
178 |
|
self.verticalLayout_5.addLayout(self.horizontalLayout_17)
|
179 |
|
self.gridLayout_14.addLayout(self.verticalLayout_5, 0, 0, 1, 1)
|
|
131 |
self.gridLayout_25.addWidget(self.spinBoxMergeSize, 5, 1, 1, 1)
|
|
132 |
self.comboBoxOCRData = QtWidgets.QComboBox(self.groupBoxText)
|
|
133 |
self.comboBoxOCRData.setMinimumSize(QtCore.QSize(200, 0))
|
|
134 |
self.comboBoxOCRData.setMaximumSize(QtCore.QSize(200, 16777215))
|
|
135 |
self.comboBoxOCRData.setObjectName("comboBoxOCRData")
|
|
136 |
self.gridLayout_25.addWidget(self.comboBoxOCRData, 0, 1, 1, 1)
|
|
137 |
self.lineEditWhiteCharList = QtWidgets.QLineEdit(self.groupBoxText)
|
|
138 |
self.lineEditWhiteCharList.setObjectName("lineEditWhiteCharList")
|
|
139 |
self.gridLayout_25.addWidget(self.lineEditWhiteCharList, 1, 1, 1, 1)
|
|
140 |
self.lineEditSingleText = QtWidgets.QLineEdit(self.groupBoxText)
|
|
141 |
self.lineEditSingleText.setObjectName("lineEditSingleText")
|
|
142 |
self.gridLayout_25.addWidget(self.lineEditSingleText, 2, 1, 1, 1)
|
|
143 |
self.gridLayout_14.addLayout(self.gridLayout_25, 0, 0, 1, 1)
|
180 |
144 |
self.gridLayout_2.addWidget(self.groupBoxText, 0, 1, 1, 1)
|
181 |
145 |
self.groupBoxAttribute = QtWidgets.QGroupBox(self.Recognition)
|
182 |
146 |
self.groupBoxAttribute.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
183 |
147 |
self.groupBoxAttribute.setObjectName("groupBoxAttribute")
|
184 |
148 |
self.gridLayout_6 = QtWidgets.QGridLayout(self.groupBoxAttribute)
|
185 |
149 |
self.gridLayout_6.setObjectName("gridLayout_6")
|
186 |
|
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
|
187 |
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
188 |
|
self.horizontalLayout_8 = QtWidgets.QHBoxLayout()
|
189 |
|
self.horizontalLayout_8.setObjectName("horizontalLayout_8")
|
190 |
|
self.label_6 = QtWidgets.QLabel(self.groupBoxAttribute)
|
191 |
|
self.label_6.setObjectName("label_6")
|
192 |
|
self.horizontalLayout_8.addWidget(self.label_6, 0, QtCore.Qt.AlignVCenter)
|
|
150 |
self.gridLayout_26 = QtWidgets.QGridLayout()
|
|
151 |
self.gridLayout_26.setObjectName("gridLayout_26")
|
|
152 |
self.spinBoxFlowMarkPosition = QtWidgets.QSpinBox(self.groupBoxAttribute)
|
|
153 |
self.spinBoxFlowMarkPosition.setMaximum(100)
|
|
154 |
self.spinBoxFlowMarkPosition.setObjectName("spinBoxFlowMarkPosition")
|
|
155 |
self.gridLayout_26.addWidget(self.spinBoxFlowMarkPosition, 2, 1, 1, 1)
|
193 |
156 |
self.lineEditSizeDelimiter = QtWidgets.QLineEdit(self.groupBoxAttribute)
|
194 |
157 |
self.lineEditSizeDelimiter.setObjectName("lineEditSizeDelimiter")
|
195 |
|
self.horizontalLayout_8.addWidget(self.lineEditSizeDelimiter, 0, QtCore.Qt.AlignVCenter)
|
196 |
|
self.verticalLayout_3.addLayout(self.horizontalLayout_8)
|
197 |
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
198 |
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
199 |
|
self.label_15 = QtWidgets.QLabel(self.groupBoxAttribute)
|
200 |
|
self.label_15.setMaximumSize(QtCore.QSize(190, 16777215))
|
201 |
|
self.label_15.setObjectName("label_15")
|
202 |
|
self.horizontalLayout.addWidget(self.label_15)
|
|
158 |
self.gridLayout_26.addWidget(self.lineEditSizeDelimiter, 0, 1, 1, 1)
|
203 |
159 |
self.doubleSpinBoxDetectionRange = QtWidgets.QDoubleSpinBox(self.groupBoxAttribute)
|
204 |
160 |
self.doubleSpinBoxDetectionRange.setSingleStep(0.1)
|
205 |
161 |
self.doubleSpinBoxDetectionRange.setProperty("value", 1.0)
|
206 |
162 |
self.doubleSpinBoxDetectionRange.setObjectName("doubleSpinBoxDetectionRange")
|
207 |
|
self.horizontalLayout.addWidget(self.doubleSpinBoxDetectionRange)
|
208 |
|
self.verticalLayout_3.addLayout(self.horizontalLayout)
|
209 |
|
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
|
210 |
|
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
|
163 |
self.gridLayout_26.addWidget(self.doubleSpinBoxDetectionRange, 1, 1, 1, 1)
|
|
164 |
self.label_6 = QtWidgets.QLabel(self.groupBoxAttribute)
|
|
165 |
self.label_6.setObjectName("label_6")
|
|
166 |
self.gridLayout_26.addWidget(self.label_6, 0, 0, 1, 1)
|
211 |
167 |
self.label_24 = QtWidgets.QLabel(self.groupBoxAttribute)
|
212 |
168 |
self.label_24.setMaximumSize(QtCore.QSize(190, 16777215))
|
213 |
169 |
self.label_24.setObjectName("label_24")
|
214 |
|
self.horizontalLayout_5.addWidget(self.label_24)
|
215 |
|
self.spinBoxFlowMarkPosition = QtWidgets.QSpinBox(self.groupBoxAttribute)
|
216 |
|
self.spinBoxFlowMarkPosition.setMaximum(100)
|
217 |
|
self.spinBoxFlowMarkPosition.setObjectName("spinBoxFlowMarkPosition")
|
218 |
|
self.horizontalLayout_5.addWidget(self.spinBoxFlowMarkPosition)
|
219 |
|
self.verticalLayout_3.addLayout(self.horizontalLayout_5)
|
220 |
|
self.horizontalLayout_12 = QtWidgets.QHBoxLayout()
|
221 |
|
self.horizontalLayout_12.setObjectName("horizontalLayout_12")
|
|
170 |
self.gridLayout_26.addWidget(self.label_24, 2, 0, 1, 1)
|
|
171 |
self.label_15 = QtWidgets.QLabel(self.groupBoxAttribute)
|
|
172 |
self.label_15.setMaximumSize(QtCore.QSize(190, 16777215))
|
|
173 |
self.label_15.setObjectName("label_15")
|
|
174 |
self.gridLayout_26.addWidget(self.label_15, 1, 0, 1, 1)
|
222 |
175 |
self.label_26 = QtWidgets.QLabel(self.groupBoxAttribute)
|
223 |
176 |
self.label_26.setMaximumSize(QtCore.QSize(220, 16777215))
|
224 |
177 |
self.label_26.setObjectName("label_26")
|
225 |
|
self.horizontalLayout_12.addWidget(self.label_26)
|
|
178 |
self.gridLayout_26.addWidget(self.label_26, 3, 0, 1, 1)
|
226 |
179 |
self.spinBoxFlowMarkLength = QtWidgets.QSpinBox(self.groupBoxAttribute)
|
227 |
180 |
self.spinBoxFlowMarkLength.setMinimum(1)
|
228 |
181 |
self.spinBoxFlowMarkLength.setMaximum(99999)
|
229 |
182 |
self.spinBoxFlowMarkLength.setObjectName("spinBoxFlowMarkLength")
|
230 |
|
self.horizontalLayout_12.addWidget(self.spinBoxFlowMarkLength)
|
231 |
|
self.verticalLayout_3.addLayout(self.horizontalLayout_12)
|
232 |
|
self.gridLayout_6.addLayout(self.verticalLayout_3, 0, 0, 1, 1)
|
|
183 |
self.gridLayout_26.addWidget(self.spinBoxFlowMarkLength, 3, 1, 1, 1)
|
|
184 |
self.gridLayout_6.addLayout(self.gridLayout_26, 0, 0, 1, 1)
|
233 |
185 |
self.gridLayout_2.addWidget(self.groupBoxAttribute, 1, 1, 1, 1)
|
234 |
186 |
self.tabWidget.addTab(self.Recognition, "")
|
235 |
187 |
self.Recognition2 = QtWidgets.QWidget()
|
... | ... | |
240 |
192 |
self.groupBoxLineNo.setObjectName("groupBoxLineNo")
|
241 |
193 |
self.gridLayout_3 = QtWidgets.QGridLayout(self.groupBoxLineNo)
|
242 |
194 |
self.gridLayout_3.setObjectName("gridLayout_3")
|
243 |
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
|
244 |
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
245 |
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
246 |
|
self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
247 |
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
248 |
|
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
249 |
|
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
250 |
|
self.horizontalLayout_2.addLayout(self.horizontalLayout_4)
|
251 |
|
self.pushButtonLineNoAttribute = QtWidgets.QPushButton(self.groupBoxLineNo)
|
252 |
|
self.pushButtonLineNoAttribute.setMinimumSize(QtCore.QSize(50, 24))
|
253 |
|
self.pushButtonLineNoAttribute.setMaximumSize(QtCore.QSize(16777215, 24))
|
254 |
|
self.pushButtonLineNoAttribute.setObjectName("pushButtonLineNoAttribute")
|
255 |
|
self.horizontalLayout_2.addWidget(self.pushButtonLineNoAttribute)
|
256 |
|
spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
257 |
|
self.horizontalLayout_2.addItem(spacerItem4)
|
|
195 |
self.gridLayout_28 = QtWidgets.QGridLayout()
|
|
196 |
self.gridLayout_28.setObjectName("gridLayout_28")
|
258 |
197 |
self.pushButtonAddProperty = QtWidgets.QPushButton(self.groupBoxLineNo)
|
259 |
198 |
self.pushButtonAddProperty.setMinimumSize(QtCore.QSize(50, 0))
|
260 |
199 |
self.pushButtonAddProperty.setMaximumSize(QtCore.QSize(50, 16777215))
|
261 |
200 |
self.pushButtonAddProperty.setDefault(False)
|
262 |
201 |
self.pushButtonAddProperty.setObjectName("pushButtonAddProperty")
|
263 |
|
self.horizontalLayout_2.addWidget(self.pushButtonAddProperty)
|
|
202 |
self.gridLayout_28.addWidget(self.pushButtonAddProperty, 0, 2, 1, 1)
|
|
203 |
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
204 |
self.gridLayout_28.addItem(spacerItem, 0, 1, 1, 1)
|
|
205 |
self.pushButtonLineNoAttribute = QtWidgets.QPushButton(self.groupBoxLineNo)
|
|
206 |
self.pushButtonLineNoAttribute.setMinimumSize(QtCore.QSize(50, 24))
|
|
207 |
self.pushButtonLineNoAttribute.setMaximumSize(QtCore.QSize(16777215, 24))
|
|
208 |
self.pushButtonLineNoAttribute.setObjectName("pushButtonLineNoAttribute")
|
|
209 |
self.gridLayout_28.addWidget(self.pushButtonLineNoAttribute, 0, 0, 1, 1)
|
264 |
210 |
self.pushButtonDeleteProperty = QtWidgets.QPushButton(self.groupBoxLineNo)
|
265 |
211 |
self.pushButtonDeleteProperty.setMinimumSize(QtCore.QSize(50, 0))
|
266 |
212 |
self.pushButtonDeleteProperty.setMaximumSize(QtCore.QSize(50, 16777215))
|
267 |
213 |
self.pushButtonDeleteProperty.setObjectName("pushButtonDeleteProperty")
|
268 |
|
self.horizontalLayout_2.addWidget(self.pushButtonDeleteProperty)
|
269 |
|
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
|
270 |
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
271 |
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
214 |
self.gridLayout_28.addWidget(self.pushButtonDeleteProperty, 0, 3, 1, 1)
|
272 |
215 |
self.listWidgetLineNo = QtWidgets.QListWidget(self.groupBoxLineNo)
|
273 |
216 |
self.listWidgetLineNo.setObjectName("listWidgetLineNo")
|
274 |
|
self.horizontalLayout_3.addWidget(self.listWidgetLineNo)
|
275 |
|
self.verticalLayout_2.addLayout(self.horizontalLayout_3)
|
276 |
|
self.gridLayout_3.addLayout(self.verticalLayout_2, 6, 0, 1, 1)
|
|
217 |
self.gridLayout_28.addWidget(self.listWidgetLineNo, 1, 0, 1, 4)
|
|
218 |
self.gridLayout_3.addLayout(self.gridLayout_28, 0, 0, 1, 1)
|
277 |
219 |
self.gridLayout_21.addWidget(self.groupBoxLineNo, 1, 1, 1, 1)
|
278 |
220 |
self.groupBox = QtWidgets.QGroupBox(self.Recognition2)
|
279 |
221 |
self.groupBox.setObjectName("groupBox")
|
... | ... | |
324 |
266 |
self.label_28 = QtWidgets.QLabel(self.groupBox)
|
325 |
267 |
self.label_28.setObjectName("label_28")
|
326 |
268 |
self.gridLayout_11.addWidget(self.label_28, 4, 0, 1, 1)
|
327 |
|
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
328 |
|
self.gridLayout_11.addItem(spacerItem5, 0, 4, 1, 1)
|
|
269 |
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
270 |
self.gridLayout_11.addItem(spacerItem1, 0, 4, 1, 1)
|
329 |
271 |
self.spinBoxMaxArea = QtWidgets.QSpinBox(self.groupBox)
|
330 |
272 |
self.spinBoxMaxArea.setMinimumSize(QtCore.QSize(100, 0))
|
331 |
273 |
self.spinBoxMaxArea.setObjectName("spinBoxMaxArea")
|
... | ... | |
446 |
388 |
self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEditOPCToPrefix)
|
447 |
389 |
self.gridLayout_20.addLayout(self.formLayout_5, 0, 0, 1, 1)
|
448 |
390 |
self.gridLayout_7.addWidget(self.groupBox_10, 1, 0, 1, 1)
|
449 |
|
spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
450 |
|
self.gridLayout_7.addItem(spacerItem6, 5, 0, 1, 1)
|
|
391 |
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
392 |
self.gridLayout_7.addItem(spacerItem2, 5, 0, 1, 1)
|
451 |
393 |
self.tabWidget.addTab(self.tabTagNoRule, "")
|
452 |
394 |
self.tabDisplayOption = QtWidgets.QWidget()
|
453 |
395 |
self.tabDisplayOption.setObjectName("tabDisplayOption")
|
... | ... | |
499 |
441 |
self.groupBox_5.setObjectName("groupBox_5")
|
500 |
442 |
self.gridLayout_15 = QtWidgets.QGridLayout(self.groupBox_5)
|
501 |
443 |
self.gridLayout_15.setObjectName("gridLayout_15")
|
502 |
|
self.horizontalLayout_19 = QtWidgets.QHBoxLayout()
|
503 |
|
self.horizontalLayout_19.setObjectName("horizontalLayout_19")
|
|
444 |
self.gridLayout_29 = QtWidgets.QGridLayout()
|
|
445 |
self.gridLayout_29.setObjectName("gridLayout_29")
|
504 |
446 |
self.labelFontSize = QtWidgets.QLabel(self.groupBox_5)
|
505 |
447 |
self.labelFontSize.setObjectName("labelFontSize")
|
506 |
|
self.horizontalLayout_19.addWidget(self.labelFontSize, 0, QtCore.Qt.AlignLeft)
|
|
448 |
self.gridLayout_29.addWidget(self.labelFontSize, 1, 0, 1, 1)
|
|
449 |
self.labelFontName = QtWidgets.QLabel(self.groupBox_5)
|
|
450 |
self.labelFontName.setObjectName("labelFontName")
|
|
451 |
self.gridLayout_29.addWidget(self.labelFontName, 0, 0, 1, 1)
|
|
452 |
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
453 |
self.horizontalLayout.setObjectName("horizontalLayout")
|
507 |
454 |
self.radioButtonAutoSize = QtWidgets.QRadioButton(self.groupBox_5)
|
508 |
455 |
self.radioButtonAutoSize.setObjectName("radioButtonAutoSize")
|
509 |
|
self.horizontalLayout_19.addWidget(self.radioButtonAutoSize)
|
|
456 |
self.horizontalLayout.addWidget(self.radioButtonAutoSize)
|
510 |
457 |
self.radioButtonFixedSize = QtWidgets.QRadioButton(self.groupBox_5)
|
511 |
458 |
self.radioButtonFixedSize.setMaximumSize(QtCore.QSize(50, 16777215))
|
512 |
459 |
self.radioButtonFixedSize.setObjectName("radioButtonFixedSize")
|
513 |
|
self.horizontalLayout_19.addWidget(self.radioButtonFixedSize)
|
|
460 |
self.horizontalLayout.addWidget(self.radioButtonFixedSize)
|
|
461 |
self.gridLayout_29.addLayout(self.horizontalLayout, 1, 1, 1, 1)
|
514 |
462 |
self.spinBoxFontSize = QtWidgets.QSpinBox(self.groupBox_5)
|
515 |
463 |
self.spinBoxFontSize.setObjectName("spinBoxFontSize")
|
516 |
|
self.horizontalLayout_19.addWidget(self.spinBoxFontSize)
|
517 |
|
self.gridLayout_15.addLayout(self.horizontalLayout_19, 2, 0, 1, 1)
|
518 |
|
self.verticalLayout_6 = QtWidgets.QVBoxLayout()
|
519 |
|
self.verticalLayout_6.setObjectName("verticalLayout_6")
|
520 |
|
self.horizontalLayout_18 = QtWidgets.QHBoxLayout()
|
521 |
|
self.horizontalLayout_18.setObjectName("horizontalLayout_18")
|
522 |
|
self.labelFontName = QtWidgets.QLabel(self.groupBox_5)
|
523 |
|
self.labelFontName.setObjectName("labelFontName")
|
524 |
|
self.horizontalLayout_18.addWidget(self.labelFontName)
|
|
464 |
self.gridLayout_29.addWidget(self.spinBoxFontSize, 1, 2, 1, 1)
|
525 |
465 |
self.fontComboBox = QtWidgets.QFontComboBox(self.groupBox_5)
|
526 |
466 |
self.fontComboBox.setObjectName("fontComboBox")
|
527 |
|
self.horizontalLayout_18.addWidget(self.fontComboBox)
|
528 |
|
self.verticalLayout_6.addLayout(self.horizontalLayout_18)
|
529 |
|
self.gridLayout_15.addLayout(self.verticalLayout_6, 0, 0, 1, 1)
|
|
467 |
self.gridLayout_29.addWidget(self.fontComboBox, 0, 1, 1, 2)
|
|
468 |
spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
469 |
self.gridLayout_29.addItem(spacerItem3, 0, 3, 1, 1)
|
|
470 |
self.gridLayout_15.addLayout(self.gridLayout_29, 0, 0, 1, 1)
|
530 |
471 |
self.verticalLayout.addWidget(self.groupBox_5)
|
531 |
472 |
self.gridLayout_4.addLayout(self.verticalLayout, 0, 0, 1, 1)
|
532 |
473 |
self.tabWidget.addTab(self.tabDisplayOption, "")
|
... | ... | |
538 |
479 |
self.groupBox_7.setObjectName("groupBox_7")
|
539 |
480 |
self.gridLayout_19 = QtWidgets.QGridLayout(self.groupBox_7)
|
540 |
481 |
self.gridLayout_19.setObjectName("gridLayout_19")
|
541 |
|
self.verticalLayout_8 = QtWidgets.QVBoxLayout()
|
542 |
|
self.verticalLayout_8.setObjectName("verticalLayout_8")
|
543 |
|
self.horizontalLayout_21 = QtWidgets.QHBoxLayout()
|
544 |
|
self.horizontalLayout_21.setObjectName("horizontalLayout_21")
|
545 |
|
self.label_25 = QtWidgets.QLabel(self.groupBox_7)
|
546 |
|
self.label_25.setObjectName("label_25")
|
547 |
|
self.horizontalLayout_21.addWidget(self.label_25)
|
|
482 |
self.gridLayout_30 = QtWidgets.QGridLayout()
|
|
483 |
self.gridLayout_30.setObjectName("gridLayout_30")
|
|
484 |
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
485 |
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
548 |
486 |
self.radioButtonRandom = QtWidgets.QRadioButton(self.groupBox_7)
|
549 |
487 |
self.radioButtonRandom.setObjectName("radioButtonRandom")
|
550 |
|
self.horizontalLayout_21.addWidget(self.radioButtonRandom)
|
|
488 |
self.horizontalLayout_2.addWidget(self.radioButtonRandom)
|
551 |
489 |
self.radioButtonProperty = QtWidgets.QRadioButton(self.groupBox_7)
|
552 |
490 |
self.radioButtonProperty.setObjectName("radioButtonProperty")
|
553 |
|
self.horizontalLayout_21.addWidget(self.radioButtonProperty)
|
|
491 |
self.horizontalLayout_2.addWidget(self.radioButtonProperty)
|
|
492 |
self.gridLayout_30.addLayout(self.horizontalLayout_2, 1, 1, 1, 1)
|
|
493 |
self.label_25 = QtWidgets.QLabel(self.groupBox_7)
|
|
494 |
self.label_25.setObjectName("label_25")
|
|
495 |
self.gridLayout_30.addWidget(self.label_25, 1, 0, 1, 1)
|
554 |
496 |
self.comboBoxColorOption = QtWidgets.QComboBox(self.groupBox_7)
|
555 |
497 |
self.comboBoxColorOption.setObjectName("comboBoxColorOption")
|
556 |
|
self.horizontalLayout_21.addWidget(self.comboBoxColorOption)
|
557 |
|
self.verticalLayout_8.addLayout(self.horizontalLayout_21)
|
558 |
|
self.horizontalLayout_22 = QtWidgets.QHBoxLayout()
|
559 |
|
self.horizontalLayout_22.setObjectName("horizontalLayout_22")
|
|
498 |
self.gridLayout_30.addWidget(self.comboBoxColorOption, 1, 2, 1, 1)
|
560 |
499 |
self.tableWidgetColorProperty = QtWidgets.QTableWidget(self.groupBox_7)
|
561 |
500 |
self.tableWidgetColorProperty.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
562 |
501 |
self.tableWidgetColorProperty.setSelectionMode(QtWidgets.QAbstractItemView.NoSelection)
|
... | ... | |
564 |
503 |
self.tableWidgetColorProperty.setObjectName("tableWidgetColorProperty")
|
565 |
504 |
self.tableWidgetColorProperty.setRowCount(0)
|
566 |
505 |
self.tableWidgetColorProperty.verticalHeader().setVisible(False)
|
567 |
|
self.horizontalLayout_22.addWidget(self.tableWidgetColorProperty)
|
568 |
|
self.verticalLayout_8.addLayout(self.horizontalLayout_22)
|
569 |
|
self.gridLayout_19.addLayout(self.verticalLayout_8, 0, 0, 1, 1)
|
|
506 |
self.gridLayout_30.addWidget(self.tableWidgetColorProperty, 2, 0, 1, 3)
|
|
507 |
self.gridLayout_19.addLayout(self.gridLayout_30, 0, 0, 1, 1)
|
570 |
508 |
self.gridLayout_18.addWidget(self.groupBox_7, 0, 0, 1, 1)
|
571 |
509 |
self.tabWidget.addTab(self.tabLineColor, "")
|
572 |
510 |
self.tabETC = QtWidgets.QWidget()
|
573 |
511 |
self.tabETC.setObjectName("tabETC")
|
574 |
512 |
self.gridLayout_22 = QtWidgets.QGridLayout(self.tabETC)
|
575 |
513 |
self.gridLayout_22.setObjectName("gridLayout_22")
|
|
514 |
spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
|
515 |
self.gridLayout_22.addItem(spacerItem4, 3, 0, 1, 1)
|
576 |
516 |
self.gridLayout_21 = QtWidgets.QGridLayout()
|
577 |
517 |
self.gridLayout_21.setObjectName("gridLayout_21")
|
578 |
518 |
self.groupBox_12 = QtWidgets.QGroupBox(self.tabETC)
|
579 |
519 |
self.groupBox_12.setObjectName("groupBox_12")
|
580 |
520 |
self.gridLayout_24 = QtWidgets.QGridLayout(self.groupBox_12)
|
581 |
521 |
self.gridLayout_24.setObjectName("gridLayout_24")
|
582 |
|
self.verticalLayout_7 = QtWidgets.QVBoxLayout()
|
583 |
|
self.verticalLayout_7.setObjectName("verticalLayout_7")
|
584 |
|
self.horizontalLayout_25 = QtWidgets.QHBoxLayout()
|
585 |
|
self.horizontalLayout_25.setObjectName("horizontalLayout_25")
|
|
522 |
self.gridLayout_32 = QtWidgets.QGridLayout()
|
|
523 |
self.gridLayout_32.setObjectName("gridLayout_32")
|
|
524 |
spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
525 |
self.gridLayout_32.addItem(spacerItem5, 0, 2, 1, 1)
|
586 |
526 |
self.label_36 = QtWidgets.QLabel(self.groupBox_12)
|
587 |
527 |
self.label_36.setObjectName("label_36")
|
588 |
|
self.horizontalLayout_25.addWidget(self.label_36)
|
|
528 |
self.gridLayout_32.addWidget(self.label_36, 0, 0, 1, 1)
|
|
529 |
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
|
|
530 |
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
|
589 |
531 |
self.radioButtonBackTextYes = QtWidgets.QRadioButton(self.groupBox_12)
|
590 |
532 |
self.radioButtonBackTextYes.setObjectName("radioButtonBackTextYes")
|
591 |
533 |
self.buttonGroup_4 = QtWidgets.QButtonGroup(ConfigurationDialog)
|
592 |
534 |
self.buttonGroup_4.setObjectName("buttonGroup_4")
|
593 |
535 |
self.buttonGroup_4.addButton(self.radioButtonBackTextYes)
|
594 |
|
self.horizontalLayout_25.addWidget(self.radioButtonBackTextYes)
|
|
536 |
self.horizontalLayout_5.addWidget(self.radioButtonBackTextYes)
|
595 |
537 |
self.radioButtonBackTextNo = QtWidgets.QRadioButton(self.groupBox_12)
|
596 |
538 |
self.radioButtonBackTextNo.setObjectName("radioButtonBackTextNo")
|
597 |
539 |
self.buttonGroup_4.addButton(self.radioButtonBackTextNo)
|
598 |
|
self.horizontalLayout_25.addWidget(self.radioButtonBackTextNo)
|
599 |
|
self.verticalLayout_7.addLayout(self.horizontalLayout_25)
|
600 |
|
self.gridLayout_24.addLayout(self.verticalLayout_7, 0, 0, 1, 1)
|
|
540 |
self.horizontalLayout_5.addWidget(self.radioButtonBackTextNo)
|
|
541 |
self.gridLayout_32.addLayout(self.horizontalLayout_5, 0, 1, 1, 1)
|
|
542 |
self.gridLayout_24.addLayout(self.gridLayout_32, 0, 0, 1, 1)
|
601 |
543 |
self.gridLayout_21.addWidget(self.groupBox_12, 1, 0, 1, 1)
|
602 |
544 |
self.groupBox_11 = QtWidgets.QGroupBox(self.tabETC)
|
603 |
545 |
self.groupBox_11.setObjectName("groupBox_11")
|
604 |
546 |
self.gridLayout_23 = QtWidgets.QGridLayout(self.groupBox_11)
|
605 |
547 |
self.gridLayout_23.setObjectName("gridLayout_23")
|
606 |
|
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
|
607 |
|
self.verticalLayout_4.setObjectName("verticalLayout_4")
|
608 |
|
self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
|
609 |
|
self.horizontalLayout_7.setObjectName("horizontalLayout_7")
|
|
548 |
self.gridLayout_31 = QtWidgets.QGridLayout()
|
|
549 |
self.gridLayout_31.setObjectName("gridLayout_31")
|
610 |
550 |
self.label_30 = QtWidgets.QLabel(self.groupBox_11)
|
611 |
551 |
self.label_30.setObjectName("label_30")
|
612 |
|
self.horizontalLayout_7.addWidget(self.label_30)
|
|
552 |
self.gridLayout_31.addWidget(self.label_30, 0, 0, 1, 1)
|
|
553 |
self.label_34 = QtWidgets.QLabel(self.groupBox_11)
|
|
554 |
self.label_34.setObjectName("label_34")
|
|
555 |
self.gridLayout_31.addWidget(self.label_34, 1, 0, 1, 1)
|
|
556 |
self.label_31 = QtWidgets.QLabel(self.groupBox_11)
|
|
557 |
self.label_31.setObjectName("label_31")
|
|
558 |
self.gridLayout_31.addWidget(self.label_31, 2, 0, 1, 1)
|
|
559 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
|
560 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
613 |
561 |
self.radioButtonLoadXmlYes = QtWidgets.QRadioButton(self.groupBox_11)
|
614 |
562 |
self.radioButtonLoadXmlYes.setAutoExclusive(True)
|
615 |
563 |
self.radioButtonLoadXmlYes.setObjectName("radioButtonLoadXmlYes")
|
616 |
564 |
self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog)
|
617 |
565 |
self.buttonGroup.setObjectName("buttonGroup")
|
618 |
566 |
self.buttonGroup.addButton(self.radioButtonLoadXmlYes)
|
619 |
|
self.horizontalLayout_7.addWidget(self.radioButtonLoadXmlYes)
|
|
567 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlYes)
|
620 |
568 |
self.radioButtonLoadXmlNo = QtWidgets.QRadioButton(self.groupBox_11)
|
621 |
569 |
self.radioButtonLoadXmlNo.setAutoExclusive(True)
|
622 |
570 |
self.radioButtonLoadXmlNo.setObjectName("radioButtonLoadXmlNo")
|
623 |
571 |
self.buttonGroup.addButton(self.radioButtonLoadXmlNo)
|
624 |
|
self.horizontalLayout_7.addWidget(self.radioButtonLoadXmlNo)
|
625 |
|
self.verticalLayout_4.addLayout(self.horizontalLayout_7)
|
626 |
|
self.horizontalLayout_24 = QtWidgets.QHBoxLayout()
|
627 |
|
self.horizontalLayout_24.setObjectName("horizontalLayout_24")
|
628 |
|
self.label_34 = QtWidgets.QLabel(self.groupBox_11)
|
629 |
|
self.label_34.setObjectName("label_34")
|
630 |
|
self.horizontalLayout_24.addWidget(self.label_34)
|
|
572 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlNo)
|
|
573 |
self.gridLayout_31.addLayout(self.horizontalLayout_3, 0, 1, 1, 1)
|
|
574 |
spacerItem6 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
|
575 |
self.gridLayout_31.addItem(spacerItem6, 0, 2, 1, 1)
|
|
576 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
|
577 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
631 |
578 |
self.radioButtonSaveUnknownYes = QtWidgets.QRadioButton(self.groupBox_11)
|
632 |
579 |
self.radioButtonSaveUnknownYes.setAutoExclusive(True)
|
633 |
580 |
self.radioButtonSaveUnknownYes.setObjectName("radioButtonSaveUnknownYes")
|
634 |
581 |
self.buttonGroup_2 = QtWidgets.QButtonGroup(ConfigurationDialog)
|
635 |
582 |
self.buttonGroup_2.setObjectName("buttonGroup_2")
|
636 |
583 |
self.buttonGroup_2.addButton(self.radioButtonSaveUnknownYes)
|
637 |
|
self.horizontalLayout_24.addWidget(self.radioButtonSaveUnknownYes)
|
|
584 |
self.horizontalLayout_4.addWidget(self.radioButtonSaveUnknownYes)
|
638 |
585 |
self.radioButtonSaveUnknownNo = QtWidgets.QRadioButton(self.groupBox_11)
|
639 |
586 |
self.radioButtonSaveUnknownNo.setAutoExclusive(True)
|
640 |
587 |
self.radioButtonSaveUnknownNo.setObjectName("radioButtonSaveUnknownNo")
|
641 |
588 |
self.buttonGroup_2.addButton(self.radioButtonSaveUnknownNo)
|
642 |
|
self.horizontalLayout_24.addWidget(self.radioButtonSaveUnknownNo)
|
643 |
|
self.verticalLayout_4.addLayout(self.horizontalLayout_24)
|
644 |
|
self.horizontalLayout_9 = QtWidgets.QHBoxLayout()
|
645 |
|
self.horizontalLayout_9.setObjectName("horizontalLayout_9")
|
646 |
|
self.label_31 = QtWidgets.QLabel(self.groupBox_11)
|
647 |
|
self.label_31.setObjectName("label_31")
|
648 |
|
self.horizontalLayout_9.addWidget(self.label_31)
|
649 |
|
spacerItem7 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
|
650 |
|
self.horizontalLayout_9.addItem(spacerItem7)
|
|
589 |
self.horizontalLayout_4.addWidget(self.radioButtonSaveUnknownNo)
|
|
590 |
self.gridLayout_31.addLayout(self.horizontalLayout_4, 1, 1, 1, 1)
|
651 |
591 |
self.pushButtonClearAccessInfo = QtWidgets.QPushButton(self.groupBox_11)
|
652 |
592 |
self.pushButtonClearAccessInfo.setObjectName("pushButtonClearAccessInfo")
|
653 |
|
self.horizontalLayout_9.addWidget(self.pushButtonClearAccessInfo)
|
654 |
|
self.verticalLayout_4.addLayout(self.horizontalLayout_9)
|
655 |
|
self.gridLayout_23.addLayout(self.verticalLayout_4, 0, 0, 1, 1)
|
|
593 |
self.gridLayout_31.addWidget(self.pushButtonClearAccessInfo, 2, 1, 1, 1)
|
|
594 |
self.gridLayout_23.addLayout(self.gridLayout_31, 0, 0, 1, 1)
|
656 |
595 |
self.gridLayout_21.addWidget(self.groupBox_11, 0, 0, 1, 1)
|
657 |
596 |
self.gridLayout_22.addLayout(self.gridLayout_21, 0, 0, 1, 1)
|
658 |
|
spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
|
659 |
|
self.gridLayout_22.addItem(spacerItem8, 2, 0, 1, 1)
|
660 |
597 |
self.tabWidget.addTab(self.tabETC, "")
|
661 |
598 |
self.gridLayout.addWidget(self.tabWidget, 0, 0, 1, 1)
|
662 |
599 |
self.buttonBox = QtWidgets.QDialogButtonBox(ConfigurationDialog)
|
... | ... | |
670 |
607 |
self.buttonBox.accepted.connect(ConfigurationDialog.accept)
|
671 |
608 |
self.buttonBox.rejected.connect(ConfigurationDialog.reject)
|
672 |
609 |
QtCore.QMetaObject.connectSlotsByName(ConfigurationDialog)
|
673 |
|
ConfigurationDialog.setTabOrder(self.pushButtonAddProperty, self.lineEdit_2)
|
674 |
610 |
ConfigurationDialog.setTabOrder(self.lineEdit_2, self.tableWidgetLineTypes)
|
675 |
|
ConfigurationDialog.setTabOrder(self.tableWidgetLineTypes, self.fontComboBox)
|
676 |
|
ConfigurationDialog.setTabOrder(self.fontComboBox, self.radioButtonAutoSize)
|
677 |
|
ConfigurationDialog.setTabOrder(self.radioButtonAutoSize, self.radioButtonFixedSize)
|
678 |
|
ConfigurationDialog.setTabOrder(self.radioButtonFixedSize, self.spinBoxFontSize)
|
679 |
|
ConfigurationDialog.setTabOrder(self.spinBoxFontSize, self.radioButtonRandom)
|
680 |
|
ConfigurationDialog.setTabOrder(self.radioButtonRandom, self.radioButtonProperty)
|
681 |
|
ConfigurationDialog.setTabOrder(self.radioButtonProperty, self.comboBoxColorOption)
|
682 |
|
ConfigurationDialog.setTabOrder(self.comboBoxColorOption, self.tableWidgetColorProperty)
|
683 |
|
ConfigurationDialog.setTabOrder(self.tableWidgetColorProperty, self.tabWidget)
|
|
611 |
ConfigurationDialog.setTabOrder(self.tableWidgetLineTypes, self.tabWidget)
|
684 |
612 |
|
685 |
613 |
def retranslateUi(self, ConfigurationDialog):
|
686 |
614 |
_translate = QtCore.QCoreApplication.translate
|
687 |
615 |
ConfigurationDialog.setWindowTitle(_translate("ConfigurationDialog", "Configuration"))
|
688 |
616 |
self.groupBoxFilter.setTitle(_translate("ConfigurationDialog", "Filter"))
|
689 |
617 |
self.label_10.setText(_translate("ConfigurationDialog", "Minimum Detection Size : "))
|
690 |
|
self.label_33.setText(_translate("ConfigurationDialog", "Unrecognition Ignore Step : "))
|
691 |
618 |
self.label_29.setText(_translate("ConfigurationDialog", "Drawing Thickness Reinforcement Step : "))
|
|
619 |
self.label_33.setText(_translate("ConfigurationDialog", "Unrecognition Ignore Step : "))
|
692 |
620 |
self.label_32.setText(_translate("ConfigurationDialog", "Drawing Flattening Step : "))
|
693 |
621 |
self.groupBoxText.setTitle(_translate("ConfigurationDialog", "Text Detection"))
|
|
622 |
self.label_18.setText(_translate("ConfigurationDialog", "Maximum Text Size : "))
|
|
623 |
self.label_17.setText(_translate("ConfigurationDialog", "Minimum Text Size : "))
|
|
624 |
self.label_21.setText(_translate("ConfigurationDialog", "Erosion Size : "))
|
694 |
625 |
self.label_19.setText(_translate("ConfigurationDialog", "OCR Source : "))
|
695 |
626 |
self.label_7.setText(_translate("ConfigurationDialog", "Detected string : "))
|
696 |
|
self.label_37.setText(_translate("ConfigurationDialog", "Allowed Single Text : "))
|
697 |
627 |
self.label_20.setText(_translate("ConfigurationDialog", "Expansion Size : "))
|
698 |
|
self.label_21.setText(_translate("ConfigurationDialog", "Erosion Size : "))
|
699 |
|
self.label_17.setText(_translate("ConfigurationDialog", "Minimum Text Size : "))
|
700 |
|
self.label_18.setText(_translate("ConfigurationDialog", "Maximum Text Size : "))
|
|
628 |
self.label_37.setText(_translate("ConfigurationDialog", "Allowed Single Text : "))
|
701 |
629 |
self.label_22.setText(_translate("ConfigurationDialog", "Merge Size : "))
|
702 |
630 |
self.groupBoxAttribute.setTitle(_translate("ConfigurationDialog", "Attribute"))
|
703 |
631 |
self.label_6.setText(_translate("ConfigurationDialog", "Size Delimiter : "))
|
704 |
|
self.label_15.setText(_translate("ConfigurationDialog", "Attribute Detection Range(Ratio) : "))
|
705 |
632 |
self.label_24.setText(_translate("ConfigurationDialog", "Line Flow Mark Position(Percent) : "))
|
|
633 |
self.label_15.setText(_translate("ConfigurationDialog", "Attribute Detection Range(Ratio) : "))
|
706 |
634 |
self.label_26.setText(_translate("ConfigurationDialog", "Line Flow Mark Minimum Line Length : "))
|
707 |
635 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.Recognition), _translate("ConfigurationDialog", "Recognition"))
|
708 |
636 |
self.groupBoxLineNo.setTitle(_translate("ConfigurationDialog", "Line No"))
|
709 |
|
self.pushButtonLineNoAttribute.setText(_translate("ConfigurationDialog", "Line No Attribute"))
|
710 |
637 |
self.pushButtonAddProperty.setText(_translate("ConfigurationDialog", "Add"))
|
|
638 |
self.pushButtonLineNoAttribute.setText(_translate("ConfigurationDialog", "Line No Attribute"))
|
711 |
639 |
self.pushButtonDeleteProperty.setText(_translate("ConfigurationDialog", "Delete"))
|
712 |
640 |
self.groupBox.setTitle(_translate("ConfigurationDialog", "Line Detection"))
|
713 |
641 |
self.label_4.setText(_translate("ConfigurationDialog", "Ignore Small Object Size : "))
|
... | ... | |
742 |
670 |
self.label_2.setText(_translate("ConfigurationDialog", "Symbol Opacity : "))
|
743 |
671 |
self.groupBox_5.setTitle(_translate("ConfigurationDialog", "Text Style"))
|
744 |
672 |
self.labelFontSize.setText(_translate("ConfigurationDialog", "Font Size : "))
|
|
673 |
self.labelFontName.setText(_translate("ConfigurationDialog", "Font Name : "))
|
745 |
674 |
self.radioButtonAutoSize.setText(_translate("ConfigurationDialog", "Auto"))
|
746 |
675 |
self.radioButtonFixedSize.setText(_translate("ConfigurationDialog", "Fixed"))
|
747 |
|
self.labelFontName.setText(_translate("ConfigurationDialog", "Font Name : "))
|
748 |
676 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabDisplayOption), _translate("ConfigurationDialog", "Style"))
|
749 |
677 |
self.groupBox_7.setTitle(_translate("ConfigurationDialog", "Line No Color"))
|
750 |
|
self.label_25.setText(_translate("ConfigurationDialog", "Color Representation"))
|
751 |
678 |
self.radioButtonRandom.setText(_translate("ConfigurationDialog", "Random"))
|
752 |
679 |
self.radioButtonProperty.setText(_translate("ConfigurationDialog", "Property"))
|
|
680 |
self.label_25.setText(_translate("ConfigurationDialog", "Color Representation"))
|
753 |
681 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLineColor), _translate("ConfigurationDialog", "Line No Color"))
|
754 |
682 |
self.groupBox_12.setTitle(_translate("ConfigurationDialog", "Visual"))
|
755 |
683 |
self.label_36.setText(_translate("ConfigurationDialog", "Background Text Transparency"))
|
... | ... | |
757 |
685 |
self.radioButtonBackTextNo.setText(_translate("ConfigurationDialog", "No"))
|
758 |
686 |
self.groupBox_11.setTitle(_translate("ConfigurationDialog", "Program Data"))
|
759 |
687 |
self.label_30.setText(_translate("ConfigurationDialog", "Load Data From XML First"))
|
|
688 |
self.label_34.setText(_translate("ConfigurationDialog", "Save Unknown Item to XML Only"))
|
|
689 |
self.label_31.setText(_translate("ConfigurationDialog", "Clear Drawing Access Information"))
|
760 |
690 |
self.radioButtonLoadXmlYes.setText(_translate("ConfigurationDialog", "Yes"))
|
761 |
691 |
self.radioButtonLoadXmlNo.setText(_translate("ConfigurationDialog", "No"))
|
762 |
|
self.label_34.setText(_translate("ConfigurationDialog", "Save Unknown Item to XML Only"))
|
763 |
692 |
self.radioButtonSaveUnknownYes.setText(_translate("ConfigurationDialog", "Yes"))
|
764 |
693 |
self.radioButtonSaveUnknownNo.setText(_translate("ConfigurationDialog", "No"))
|
765 |
|
self.label_31.setText(_translate("ConfigurationDialog", "Clear Drawing Access Information"))
|
766 |
694 |
self.pushButtonClearAccessInfo.setText(_translate("ConfigurationDialog", "Clear"))
|
767 |
695 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabETC), _translate("ConfigurationDialog", "etc"))
|
768 |
|
|
769 |
696 |
import MainWindow_rc
|
770 |
|
|
771 |
|
if __name__ == "__main__":
|
772 |
|
import sys
|
773 |
|
app = QtWidgets.QApplication(sys.argv)
|
774 |
|
ConfigurationDialog = QtWidgets.QDialog()
|
775 |
|
ui = Ui_ConfigurationDialog()
|
776 |
|
ui.setupUi(ConfigurationDialog)
|
777 |
|
ConfigurationDialog.show()
|
778 |
|
sys.exit(app.exec_())
|
779 |
|
|