12 |
12 |
def setupUi(self, Dialog):
|
13 |
13 |
Dialog.setObjectName("Dialog")
|
14 |
14 |
Dialog.resize(1280, 720)
|
15 |
|
self.horizontalLayoutWidget = QtWidgets.QWidget(Dialog)
|
16 |
|
self.horizontalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 1281, 721))
|
17 |
|
self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
|
18 |
|
self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
|
|
15 |
Dialog.setMinimumSize(QtCore.QSize(1280, 720))
|
|
16 |
self.gridLayout_3 = QtWidgets.QGridLayout(Dialog)
|
|
17 |
self.gridLayout_3.setObjectName("gridLayout_3")
|
|
18 |
self.splitter = QtWidgets.QSplitter(Dialog)
|
|
19 |
self.splitter.setMinimumSize(QtCore.QSize(0, 0))
|
|
20 |
self.splitter.setOrientation(QtCore.Qt.Horizontal)
|
|
21 |
self.splitter.setObjectName("splitter")
|
|
22 |
self.widget_3 = QtWidgets.QWidget(self.splitter)
|
|
23 |
self.widget_3.setObjectName("widget_3")
|
|
24 |
self.gridLayout = QtWidgets.QGridLayout(self.widget_3)
|
|
25 |
self.gridLayout.setContentsMargins(0, 0, 0, 0)
|
|
26 |
self.gridLayout.setObjectName("gridLayout")
|
|
27 |
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
|
|
28 |
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
29 |
self.toolWidget = QtWidgets.QWidget(self.widget_3)
|
|
30 |
self.toolWidget.setMaximumSize(QtCore.QSize(16777215, 40))
|
|
31 |
self.toolWidget.setObjectName("toolWidget")
|
|
32 |
self.horizontalLayout = QtWidgets.QHBoxLayout(self.toolWidget)
|
19 |
33 |
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
|
20 |
34 |
self.horizontalLayout.setObjectName("horizontalLayout")
|
21 |
|
self.widget_2 = QtWidgets.QWidget(self.horizontalLayoutWidget)
|
22 |
|
self.widget_2.setMaximumSize(QtCore.QSize(16777215, 1240))
|
23 |
|
self.widget_2.setObjectName("widget_2")
|
24 |
|
self.widget = QtWidgets.QWidget(self.widget_2)
|
25 |
|
self.widget.setGeometry(QtCore.QRect(890, 10, 381, 701))
|
26 |
|
self.widget.setMaximumSize(QtCore.QSize(400, 1240))
|
|
35 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
|
|
36 |
self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
|
37 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
38 |
self.handButton = QtWidgets.QPushButton(self.toolWidget)
|
|
39 |
self.handButton.setObjectName("handButton")
|
|
40 |
self.horizontalLayout_3.addWidget(self.handButton)
|
|
41 |
self.cropButton = QtWidgets.QPushButton(self.toolWidget)
|
|
42 |
self.cropButton.setObjectName("cropButton")
|
|
43 |
self.horizontalLayout_3.addWidget(self.cropButton)
|
|
44 |
self.penButton = QtWidgets.QPushButton(self.toolWidget)
|
|
45 |
self.penButton.setObjectName("penButton")
|
|
46 |
self.horizontalLayout_3.addWidget(self.penButton)
|
|
47 |
self.penWidthSpinBox = QtWidgets.QSpinBox(self.toolWidget)
|
|
48 |
self.penWidthSpinBox.setMinimum(1)
|
|
49 |
self.penWidthSpinBox.setMaximum(5)
|
|
50 |
self.penWidthSpinBox.setObjectName("penWidthSpinBox")
|
|
51 |
self.horizontalLayout_3.addWidget(self.penWidthSpinBox)
|
|
52 |
self.eraserButton = QtWidgets.QPushButton(self.toolWidget)
|
|
53 |
self.eraserButton.setObjectName("eraserButton")
|
|
54 |
self.horizontalLayout_3.addWidget(self.eraserButton)
|
|
55 |
self.eraserSpinBox = QtWidgets.QSpinBox(self.toolWidget)
|
|
56 |
self.eraserSpinBox.setMinimum(1)
|
|
57 |
self.eraserSpinBox.setMaximum(5)
|
|
58 |
self.eraserSpinBox.setObjectName("eraserSpinBox")
|
|
59 |
self.horizontalLayout_3.addWidget(self.eraserSpinBox)
|
|
60 |
self.fitImageButton = QtWidgets.QPushButton(self.toolWidget)
|
|
61 |
self.fitImageButton.setObjectName("fitImageButton")
|
|
62 |
self.horizontalLayout_3.addWidget(self.fitImageButton)
|
|
63 |
self.areaEraserButton = QtWidgets.QPushButton(self.toolWidget)
|
|
64 |
self.areaEraserButton.setObjectName("areaEraserButton")
|
|
65 |
self.horizontalLayout_3.addWidget(self.areaEraserButton)
|
|
66 |
self.zoomButton = QtWidgets.QPushButton(self.toolWidget)
|
|
67 |
self.zoomButton.setObjectName("zoomButton")
|
|
68 |
self.horizontalLayout_3.addWidget(self.zoomButton)
|
|
69 |
self.areaZoomButton = QtWidgets.QPushButton(self.toolWidget)
|
|
70 |
self.areaZoomButton.setObjectName("areaZoomButton")
|
|
71 |
self.horizontalLayout_3.addWidget(self.areaZoomButton)
|
|
72 |
self.initZoomButton = QtWidgets.QPushButton(self.toolWidget)
|
|
73 |
self.initZoomButton.setObjectName("initZoomButton")
|
|
74 |
self.horizontalLayout_3.addWidget(self.initZoomButton)
|
|
75 |
self.guidelineCheckbox = QtWidgets.QCheckBox(self.toolWidget)
|
|
76 |
self.guidelineCheckbox.setObjectName("guidelineCheckbox")
|
|
77 |
self.horizontalLayout_3.addWidget(self.guidelineCheckbox)
|
|
78 |
self.horizontalLayout.addLayout(self.horizontalLayout_3)
|
|
79 |
self.verticalLayout_2.addWidget(self.toolWidget)
|
|
80 |
self.imageViewContainer = QtWidgets.QWidget(self.widget_3)
|
|
81 |
self.imageViewContainer.setObjectName("imageViewContainer")
|
|
82 |
self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.imageViewContainer)
|
|
83 |
self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
|
|
84 |
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
85 |
self.imageViewerContainerLayout = QtWidgets.QVBoxLayout()
|
|
86 |
self.imageViewerContainerLayout.setObjectName("imageViewerContainerLayout")
|
|
87 |
self.verticalLayout_3.addLayout(self.imageViewerContainerLayout)
|
|
88 |
self.verticalLayout_2.addWidget(self.imageViewContainer)
|
|
89 |
self.gridLayout.addLayout(self.verticalLayout_2, 0, 0, 1, 1)
|
|
90 |
self.widget = QtWidgets.QWidget(self.splitter)
|
|
91 |
self.widget.setMinimumSize(QtCore.QSize(400, 0))
|
|
92 |
self.widget.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
27 |
93 |
self.widget.setObjectName("widget")
|
28 |
|
self.verticalLayoutWidget = QtWidgets.QWidget(self.widget)
|
29 |
|
self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, 0, 381, 701))
|
30 |
|
self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
|
31 |
|
self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
|
32 |
|
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
|
|
94 |
self.gridLayout_2 = QtWidgets.QGridLayout(self.widget)
|
|
95 |
self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
|
|
96 |
self.gridLayout_2.setObjectName("gridLayout_2")
|
|
97 |
self.verticalLayout = QtWidgets.QVBoxLayout()
|
33 |
98 |
self.verticalLayout.setObjectName("verticalLayout")
|
34 |
|
self.scrollArea = QtWidgets.QScrollArea(self.verticalLayoutWidget)
|
|
99 |
self.scrollArea = QtWidgets.QScrollArea(self.widget)
|
|
100 |
self.scrollArea.setMinimumSize(QtCore.QSize(0, 0))
|
|
101 |
self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
|
102 |
self.scrollArea.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
|
35 |
103 |
self.scrollArea.setWidgetResizable(True)
|
36 |
104 |
self.scrollArea.setObjectName("scrollArea")
|
37 |
105 |
self.scrollAreaWidgetContents = QtWidgets.QWidget()
|
38 |
|
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 377, 668))
|
|
106 |
self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 378, 651))
|
|
107 |
self.scrollAreaWidgetContents.setMinimumSize(QtCore.QSize(378, 0))
|
|
108 |
self.scrollAreaWidgetContents.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
39 |
109 |
self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
|
40 |
|
self.widget_6 = QtWidgets.QWidget(self.scrollAreaWidgetContents)
|
41 |
|
self.widget_6.setGeometry(QtCore.QRect(0, 0, 381, 671))
|
42 |
|
self.widget_6.setObjectName("widget_6")
|
43 |
|
self.formLayoutWidget = QtWidgets.QWidget(self.widget_6)
|
44 |
|
self.formLayoutWidget.setGeometry(QtCore.QRect(0, 0, 381, 671))
|
45 |
|
self.formLayoutWidget.setObjectName("formLayoutWidget")
|
46 |
|
self.formLayout = QtWidgets.QFormLayout(self.formLayoutWidget)
|
|
110 |
self.gridLayout_4 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
|
|
111 |
self.gridLayout_4.setContentsMargins(0, 0, 0, 0)
|
|
112 |
self.gridLayout_4.setObjectName("gridLayout_4")
|
|
113 |
self.formLayout = QtWidgets.QFormLayout()
|
|
114 |
self.formLayout.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
|
115 |
self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.AllNonFixedFieldsGrow)
|
47 |
116 |
self.formLayout.setLabelAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
|
48 |
117 |
self.formLayout.setFormAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
|
49 |
118 |
self.formLayout.setContentsMargins(6, 6, 6, 6)
|
50 |
119 |
self.formLayout.setObjectName("formLayout")
|
51 |
|
self.targetDBLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
120 |
self.targetDBLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
52 |
121 |
font = QtGui.QFont()
|
53 |
122 |
font.setBold(True)
|
54 |
123 |
font.setWeight(75)
|
55 |
124 |
self.targetDBLabel.setFont(font)
|
56 |
125 |
self.targetDBLabel.setObjectName("targetDBLabel")
|
57 |
126 |
self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.targetDBLabel)
|
58 |
|
self.targetDBLineEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
|
|
127 |
self.targetDBLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
|
|
128 |
self.targetDBLineEdit.setMaximumSize(QtCore.QSize(16777215, 16777215))
|
59 |
129 |
self.targetDBLineEdit.setReadOnly(True)
|
60 |
130 |
self.targetDBLineEdit.setObjectName("targetDBLineEdit")
|
61 |
131 |
self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.targetDBLineEdit)
|
62 |
|
self.idLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
132 |
self.idLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
63 |
133 |
font = QtGui.QFont()
|
64 |
134 |
font.setBold(True)
|
65 |
135 |
font.setWeight(75)
|
66 |
136 |
self.idLabel.setFont(font)
|
67 |
137 |
self.idLabel.setObjectName("idLabel")
|
68 |
138 |
self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.idLabel)
|
69 |
|
self.idLineEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
|
|
139 |
self.idLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
|
70 |
140 |
self.idLineEdit.setObjectName("idLineEdit")
|
71 |
141 |
self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.idLineEdit)
|
72 |
|
self.nameLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
142 |
self.nameLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
73 |
143 |
font = QtGui.QFont()
|
74 |
144 |
font.setBold(True)
|
75 |
145 |
font.setWeight(75)
|
76 |
146 |
self.nameLabel.setFont(font)
|
77 |
147 |
self.nameLabel.setObjectName("nameLabel")
|
78 |
148 |
self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.nameLabel)
|
79 |
|
self.nameLineEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
|
|
149 |
self.nameLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
|
80 |
150 |
self.nameLineEdit.setObjectName("nameLineEdit")
|
81 |
151 |
self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.nameLineEdit)
|
82 |
|
self.thresholdLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
152 |
self.thresholdLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
83 |
153 |
font = QtGui.QFont()
|
84 |
154 |
font.setBold(True)
|
85 |
155 |
font.setWeight(75)
|
86 |
156 |
self.thresholdLabel.setFont(font)
|
87 |
157 |
self.thresholdLabel.setObjectName("thresholdLabel")
|
88 |
158 |
self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.thresholdLabel)
|
89 |
|
self.thresholdLineEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
|
|
159 |
self.thresholdLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
|
90 |
160 |
self.thresholdLineEdit.setObjectName("thresholdLineEdit")
|
91 |
161 |
self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.thresholdLineEdit)
|
92 |
|
self.minMatchPointLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
162 |
self.minMatchPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
93 |
163 |
font = QtGui.QFont()
|
94 |
164 |
font.setBold(True)
|
95 |
165 |
font.setWeight(75)
|
96 |
166 |
self.minMatchPointLabel.setFont(font)
|
97 |
167 |
self.minMatchPointLabel.setObjectName("minMatchPointLabel")
|
98 |
168 |
self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.minMatchPointLabel)
|
99 |
|
self.minMatchPointLineEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
|
|
169 |
self.minMatchPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
|
100 |
170 |
self.minMatchPointLineEdit.setObjectName("minMatchPointLineEdit")
|
101 |
171 |
self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.minMatchPointLineEdit)
|
102 |
|
self.isOriginDetectLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
172 |
self.isOriginDetectLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
103 |
173 |
font = QtGui.QFont()
|
104 |
174 |
font.setBold(True)
|
105 |
175 |
font.setWeight(75)
|
106 |
176 |
self.isOriginDetectLabel.setFont(font)
|
107 |
177 |
self.isOriginDetectLabel.setObjectName("isOriginDetectLabel")
|
108 |
178 |
self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.isOriginDetectLabel)
|
109 |
|
self.isOriginDetectComboBox = QtWidgets.QComboBox(self.formLayoutWidget)
|
|
179 |
self.isOriginDetectComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
|
110 |
180 |
self.isOriginDetectComboBox.setObjectName("isOriginDetectComboBox")
|
111 |
181 |
self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.isOriginDetectComboBox)
|
112 |
|
self.rotationCountLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
182 |
self.rotationCountLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
113 |
183 |
font = QtGui.QFont()
|
114 |
184 |
font.setBold(True)
|
115 |
185 |
font.setWeight(75)
|
116 |
186 |
self.rotationCountLabel.setFont(font)
|
117 |
187 |
self.rotationCountLabel.setObjectName("rotationCountLabel")
|
118 |
188 |
self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.rotationCountLabel)
|
119 |
|
self.rotationCountSpinBox = QtWidgets.QSpinBox(self.formLayoutWidget)
|
|
189 |
self.rotationCountSpinBox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents)
|
120 |
190 |
self.rotationCountSpinBox.setMinimum(0)
|
121 |
191 |
self.rotationCountSpinBox.setMaximum(3)
|
122 |
192 |
self.rotationCountSpinBox.setProperty("value", 0)
|
123 |
193 |
self.rotationCountSpinBox.setObjectName("rotationCountSpinBox")
|
124 |
194 |
self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.rotationCountSpinBox)
|
125 |
|
self.ocrOptionLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
195 |
self.ocrOptionLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
126 |
196 |
font = QtGui.QFont()
|
127 |
197 |
font.setBold(True)
|
128 |
198 |
font.setWeight(75)
|
129 |
199 |
self.ocrOptionLabel.setFont(font)
|
130 |
200 |
self.ocrOptionLabel.setObjectName("ocrOptionLabel")
|
131 |
201 |
self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.ocrOptionLabel)
|
132 |
|
self.ocrOptionComboBox = QtWidgets.QComboBox(self.formLayoutWidget)
|
|
202 |
self.ocrOptionComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
|
133 |
203 |
self.ocrOptionComboBox.setObjectName("ocrOptionComboBox")
|
134 |
204 |
self.formLayout.setWidget(7, QtWidgets.QFormLayout.FieldRole, self.ocrOptionComboBox)
|
135 |
|
self.isContainChildLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
205 |
self.isContainChildLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
136 |
206 |
font = QtGui.QFont()
|
137 |
207 |
font.setBold(True)
|
138 |
208 |
font.setWeight(75)
|
139 |
209 |
self.isContainChildLabel.setFont(font)
|
140 |
210 |
self.isContainChildLabel.setObjectName("isContainChildLabel")
|
141 |
211 |
self.formLayout.setWidget(8, QtWidgets.QFormLayout.LabelRole, self.isContainChildLabel)
|
142 |
|
self.isContainChildCheckBox = QtWidgets.QCheckBox(self.formLayoutWidget)
|
|
212 |
self.isContainChildCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents)
|
143 |
213 |
self.isContainChildCheckBox.setText("")
|
144 |
214 |
self.isContainChildCheckBox.setCheckable(True)
|
145 |
215 |
self.isContainChildCheckBox.setObjectName("isContainChildCheckBox")
|
146 |
216 |
self.formLayout.setWidget(8, QtWidgets.QFormLayout.FieldRole, self.isContainChildCheckBox)
|
147 |
|
self.baseSymbolLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
217 |
self.baseSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
148 |
218 |
font = QtGui.QFont()
|
149 |
219 |
font.setBold(True)
|
150 |
220 |
font.setWeight(75)
|
151 |
221 |
self.baseSymbolLabel.setFont(font)
|
152 |
222 |
self.baseSymbolLabel.setObjectName("baseSymbolLabel")
|
153 |
223 |
self.formLayout.setWidget(10, QtWidgets.QFormLayout.LabelRole, self.baseSymbolLabel)
|
154 |
|
self.baseSymbolComboBox = QtWidgets.QComboBox(self.formLayoutWidget)
|
|
224 |
self.baseSymbolComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
|
155 |
225 |
self.baseSymbolComboBox.setObjectName("baseSymbolComboBox")
|
156 |
226 |
self.formLayout.setWidget(10, QtWidgets.QFormLayout.FieldRole, self.baseSymbolComboBox)
|
157 |
|
self.additionalSymbolLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
227 |
self.additionalSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
158 |
228 |
font = QtGui.QFont()
|
159 |
229 |
font.setBold(True)
|
160 |
230 |
font.setWeight(75)
|
... | ... | |
163 |
233 |
self.formLayout.setWidget(11, QtWidgets.QFormLayout.LabelRole, self.additionalSymbolLabel)
|
164 |
234 |
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
165 |
235 |
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
166 |
|
self.defaultSymbolDirectionComboBox = QtWidgets.QComboBox(self.formLayoutWidget)
|
|
236 |
self.defaultSymbolDirectionComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
|
167 |
237 |
self.defaultSymbolDirectionComboBox.setMaximumSize(QtCore.QSize(50, 16777215))
|
168 |
238 |
self.defaultSymbolDirectionComboBox.setObjectName("defaultSymbolDirectionComboBox")
|
169 |
239 |
self.horizontalLayout_2.addWidget(self.defaultSymbolDirectionComboBox)
|
170 |
|
self.additionalSymbolComboBox = QtWidgets.QComboBox(self.formLayoutWidget)
|
|
240 |
self.additionalSymbolComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
|
171 |
241 |
self.additionalSymbolComboBox.setObjectName("additionalSymbolComboBox")
|
172 |
242 |
self.horizontalLayout_2.addWidget(self.additionalSymbolComboBox)
|
173 |
|
self.addAdditionalSymbolButton = QtWidgets.QPushButton(self.formLayoutWidget)
|
|
243 |
self.addAdditionalSymbolButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
|
174 |
244 |
self.addAdditionalSymbolButton.setMaximumSize(QtCore.QSize(40, 16777215))
|
175 |
245 |
self.addAdditionalSymbolButton.setObjectName("addAdditionalSymbolButton")
|
176 |
246 |
self.horizontalLayout_2.addWidget(self.addAdditionalSymbolButton)
|
177 |
247 |
self.formLayout.setLayout(11, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2)
|
178 |
|
self.originalPointLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
248 |
self.originalPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
179 |
249 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
|
180 |
250 |
sizePolicy.setHorizontalStretch(0)
|
181 |
251 |
sizePolicy.setVerticalStretch(0)
|
... | ... | |
190 |
260 |
self.formLayout.setWidget(13, QtWidgets.QFormLayout.LabelRole, self.originalPointLabel)
|
191 |
261 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
|
192 |
262 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4")
|
193 |
|
self.originalPointLineEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
|
|
263 |
self.originalPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
|
194 |
264 |
self.originalPointLineEdit.setReadOnly(True)
|
195 |
265 |
self.originalPointLineEdit.setObjectName("originalPointLineEdit")
|
196 |
266 |
self.horizontalLayout_4.addWidget(self.originalPointLineEdit)
|
197 |
|
self.addOriginalPointButton = QtWidgets.QPushButton(self.formLayoutWidget)
|
|
267 |
self.addOriginalPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
|
198 |
268 |
self.addOriginalPointButton.setMaximumSize(QtCore.QSize(40, 16777215))
|
199 |
269 |
self.addOriginalPointButton.setObjectName("addOriginalPointButton")
|
200 |
270 |
self.horizontalLayout_4.addWidget(self.addOriginalPointButton)
|
201 |
271 |
self.formLayout.setLayout(13, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_4)
|
202 |
|
self.connectionPointLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
272 |
self.connectionPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
203 |
273 |
font = QtGui.QFont()
|
204 |
274 |
font.setBold(True)
|
205 |
275 |
font.setWeight(75)
|
... | ... | |
209 |
279 |
self.formLayout.setWidget(16, QtWidgets.QFormLayout.LabelRole, self.connectionPointLabel)
|
210 |
280 |
self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
|
211 |
281 |
self.horizontalLayout_6.setObjectName("horizontalLayout_6")
|
212 |
|
self.connectionPointLineEdit = QtWidgets.QLineEdit(self.formLayoutWidget)
|
|
282 |
self.connectionPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
|
213 |
283 |
self.connectionPointLineEdit.setReadOnly(True)
|
214 |
284 |
self.connectionPointLineEdit.setObjectName("connectionPointLineEdit")
|
215 |
285 |
self.horizontalLayout_6.addWidget(self.connectionPointLineEdit)
|
216 |
|
self.addConnectionPointButton = QtWidgets.QPushButton(self.formLayoutWidget)
|
|
286 |
self.addConnectionPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
|
217 |
287 |
self.addConnectionPointButton.setMaximumSize(QtCore.QSize(40, 16777215))
|
218 |
288 |
self.addConnectionPointButton.setObjectName("addConnectionPointButton")
|
219 |
289 |
self.horizontalLayout_6.addWidget(self.addConnectionPointButton)
|
220 |
290 |
self.formLayout.setLayout(16, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_6)
|
221 |
|
self.connectionPointList = QtWidgets.QListWidget(self.formLayoutWidget)
|
|
291 |
self.connectionPointList = QtWidgets.QListWidget(self.scrollAreaWidgetContents)
|
222 |
292 |
self.connectionPointList.setObjectName("connectionPointList")
|
223 |
293 |
self.formLayout.setWidget(17, QtWidgets.QFormLayout.FieldRole, self.connectionPointList)
|
224 |
|
self.additionalSymbolListWidget = QtWidgets.QListWidget(self.formLayoutWidget)
|
|
294 |
self.additionalSymbolListWidget = QtWidgets.QListWidget(self.scrollAreaWidgetContents)
|
225 |
295 |
self.additionalSymbolListWidget.setObjectName("additionalSymbolListWidget")
|
226 |
296 |
self.formLayout.setWidget(12, QtWidgets.QFormLayout.FieldRole, self.additionalSymbolListWidget)
|
227 |
|
self.typeLabel = QtWidgets.QLabel(self.formLayoutWidget)
|
|
297 |
self.typeLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
228 |
298 |
font = QtGui.QFont()
|
229 |
299 |
font.setBold(True)
|
230 |
300 |
font.setWeight(75)
|
231 |
301 |
self.typeLabel.setFont(font)
|
232 |
302 |
self.typeLabel.setObjectName("typeLabel")
|
233 |
303 |
self.formLayout.setWidget(9, QtWidgets.QFormLayout.LabelRole, self.typeLabel)
|
234 |
|
self.typeComboBox = QtWidgets.QComboBox(self.formLayoutWidget)
|
|
304 |
self.typeComboBox = QtWidgets.QComboBox(self.scrollAreaWidgetContents)
|
235 |
305 |
self.typeComboBox.setObjectName("typeComboBox")
|
236 |
306 |
self.formLayout.setWidget(9, QtWidgets.QFormLayout.FieldRole, self.typeComboBox)
|
|
307 |
self.gridLayout_4.addLayout(self.formLayout, 0, 0, 1, 1)
|
237 |
308 |
self.scrollArea.setWidget(self.scrollAreaWidgetContents)
|
238 |
309 |
self.verticalLayout.addWidget(self.scrollArea)
|
239 |
|
self.buttonBox = QtWidgets.QDialogButtonBox(self.verticalLayoutWidget)
|
|
310 |
self.buttonBox = QtWidgets.QDialogButtonBox(self.widget)
|
240 |
311 |
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Close|QtWidgets.QDialogButtonBox.Save)
|
241 |
312 |
self.buttonBox.setObjectName("buttonBox")
|
242 |
313 |
self.verticalLayout.addWidget(self.buttonBox)
|
243 |
|
self.widget_3 = QtWidgets.QWidget(self.widget_2)
|
244 |
|
self.widget_3.setGeometry(QtCore.QRect(10, 10, 871, 701))
|
245 |
|
self.widget_3.setObjectName("widget_3")
|
246 |
|
self.verticalLayoutWidget_2 = QtWidgets.QWidget(self.widget_3)
|
247 |
|
self.verticalLayoutWidget_2.setGeometry(QtCore.QRect(0, 0, 871, 701))
|
248 |
|
self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2")
|
249 |
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_2)
|
250 |
|
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
|
251 |
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
252 |
|
self.toolWidget = QtWidgets.QWidget(self.verticalLayoutWidget_2)
|
253 |
|
self.toolWidget.setMaximumSize(QtCore.QSize(869, 40))
|
254 |
|
self.toolWidget.setObjectName("toolWidget")
|
255 |
|
self.horizontalLayoutWidget_3 = QtWidgets.QWidget(self.toolWidget)
|
256 |
|
self.horizontalLayoutWidget_3.setGeometry(QtCore.QRect(0, 0, 919, 41))
|
257 |
|
self.horizontalLayoutWidget_3.setObjectName("horizontalLayoutWidget_3")
|
258 |
|
self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget_3)
|
259 |
|
self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetDefaultConstraint)
|
260 |
|
self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
|
261 |
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
262 |
|
self.handButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
263 |
|
self.handButton.setObjectName("handButton")
|
264 |
|
self.horizontalLayout_3.addWidget(self.handButton)
|
265 |
|
self.cropButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
266 |
|
self.cropButton.setObjectName("cropButton")
|
267 |
|
self.horizontalLayout_3.addWidget(self.cropButton)
|
268 |
|
self.penButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
269 |
|
self.penButton.setObjectName("penButton")
|
270 |
|
self.horizontalLayout_3.addWidget(self.penButton)
|
271 |
|
self.penWidthSpinBox = QtWidgets.QSpinBox(self.horizontalLayoutWidget_3)
|
272 |
|
self.penWidthSpinBox.setMinimum(1)
|
273 |
|
self.penWidthSpinBox.setMaximum(5)
|
274 |
|
self.penWidthSpinBox.setObjectName("penWidthSpinBox")
|
275 |
|
self.horizontalLayout_3.addWidget(self.penWidthSpinBox)
|
276 |
|
self.eraserButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
277 |
|
self.eraserButton.setObjectName("eraserButton")
|
278 |
|
self.horizontalLayout_3.addWidget(self.eraserButton)
|
279 |
|
self.eraserSpinBox = QtWidgets.QSpinBox(self.horizontalLayoutWidget_3)
|
280 |
|
self.eraserSpinBox.setMinimum(1)
|
281 |
|
self.eraserSpinBox.setMaximum(5)
|
282 |
|
self.eraserSpinBox.setObjectName("eraserSpinBox")
|
283 |
|
self.horizontalLayout_3.addWidget(self.eraserSpinBox)
|
284 |
|
self.fitImageButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
285 |
|
self.fitImageButton.setObjectName("fitImageButton")
|
286 |
|
self.horizontalLayout_3.addWidget(self.fitImageButton)
|
287 |
|
self.areaEraserButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
288 |
|
self.areaEraserButton.setObjectName("areaEraserButton")
|
289 |
|
self.horizontalLayout_3.addWidget(self.areaEraserButton)
|
290 |
|
self.zoomButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
291 |
|
self.zoomButton.setObjectName("zoomButton")
|
292 |
|
self.horizontalLayout_3.addWidget(self.zoomButton)
|
293 |
|
self.areaZoomButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
294 |
|
self.areaZoomButton.setObjectName("areaZoomButton")
|
295 |
|
self.horizontalLayout_3.addWidget(self.areaZoomButton)
|
296 |
|
self.initZoomButton = QtWidgets.QPushButton(self.horizontalLayoutWidget_3)
|
297 |
|
self.initZoomButton.setObjectName("initZoomButton")
|
298 |
|
self.horizontalLayout_3.addWidget(self.initZoomButton)
|
299 |
|
self.guidelineCheckbox = QtWidgets.QCheckBox(self.horizontalLayoutWidget_3)
|
300 |
|
self.guidelineCheckbox.setObjectName("guidelineCheckbox")
|
301 |
|
self.horizontalLayout_3.addWidget(self.guidelineCheckbox)
|
302 |
|
self.verticalLayout_2.addWidget(self.toolWidget)
|
303 |
|
self.imageViewContainer = QtWidgets.QWidget(self.verticalLayoutWidget_2)
|
304 |
|
self.imageViewContainer.setObjectName("imageViewContainer")
|
305 |
|
self.verticalLayoutWidget_3 = QtWidgets.QWidget(self.imageViewContainer)
|
306 |
|
self.verticalLayoutWidget_3.setGeometry(QtCore.QRect(0, 0, 871, 651))
|
307 |
|
self.verticalLayoutWidget_3.setObjectName("verticalLayoutWidget_3")
|
308 |
|
self.imageViewerContainerLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget_3)
|
309 |
|
self.imageViewerContainerLayout.setContentsMargins(0, 0, 0, 0)
|
310 |
|
self.imageViewerContainerLayout.setObjectName("imageViewerContainerLayout")
|
311 |
|
self.verticalLayout_2.addWidget(self.imageViewContainer)
|
312 |
|
self.horizontalLayout.addWidget(self.widget_2)
|
|
314 |
self.gridLayout_2.addLayout(self.verticalLayout, 0, 0, 1, 1)
|
|
315 |
self.gridLayout_3.addWidget(self.splitter, 0, 0, 1, 1)
|
|
316 |
self.widget.raise_()
|
|
317 |
self.widget_3.raise_()
|
313 |
318 |
|
314 |
319 |
self.retranslateUi(Dialog)
|
315 |
320 |
self.buttonBox.accepted.connect(Dialog.accept)
|
... | ... | |
319 |
324 |
def retranslateUi(self, Dialog):
|
320 |
325 |
_translate = QtCore.QCoreApplication.translate
|
321 |
326 |
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|
|
327 |
self.handButton.setText(_translate("Dialog", "Hand"))
|
|
328 |
self.cropButton.setText(_translate("Dialog", "Crop"))
|
|
329 |
self.penButton.setText(_translate("Dialog", "Pen"))
|
|
330 |
self.eraserButton.setText(_translate("Dialog", "Eraser"))
|
|
331 |
self.fitImageButton.setText(_translate("Dialog", "Fit Image"))
|
|
332 |
self.areaEraserButton.setText(_translate("Dialog", "Area Eraser"))
|
|
333 |
self.zoomButton.setText(_translate("Dialog", "Zoom"))
|
|
334 |
self.areaZoomButton.setText(_translate("Dialog", "Area Zoom"))
|
|
335 |
self.initZoomButton.setText(_translate("Dialog", "Init Zoom"))
|
|
336 |
self.guidelineCheckbox.setText(_translate("Dialog", "Show Guideline"))
|
322 |
337 |
self.targetDBLabel.setText(_translate("Dialog", "대상 DB"))
|
323 |
338 |
self.idLabel.setText(_translate("Dialog", "ID"))
|
324 |
339 |
self.nameLabel.setText(_translate("Dialog", "심볼명"))
|
... | ... | |
336 |
351 |
self.connectionPointLabel.setText(_translate("Dialog", "Connection Point"))
|
337 |
352 |
self.addConnectionPointButton.setText(_translate("Dialog", "추가"))
|
338 |
353 |
self.typeLabel.setText(_translate("Dialog", "심볼 타입"))
|
339 |
|
self.handButton.setText(_translate("Dialog", "Hand"))
|
340 |
|
self.cropButton.setText(_translate("Dialog", "Crop"))
|
341 |
|
self.penButton.setText(_translate("Dialog", "Pen"))
|
342 |
|
self.eraserButton.setText(_translate("Dialog", "Eraser"))
|
343 |
|
self.fitImageButton.setText(_translate("Dialog", "Fit Image"))
|
344 |
|
self.areaEraserButton.setText(_translate("Dialog", "Area Eraser"))
|
345 |
|
self.zoomButton.setText(_translate("Dialog", "Zoom"))
|
346 |
|
self.areaZoomButton.setText(_translate("Dialog", "Area Zoom"))
|
347 |
|
self.initZoomButton.setText(_translate("Dialog", "Init Zoom"))
|
348 |
|
self.guidelineCheckbox.setText(_translate("Dialog", "Show Guideline"))
|
349 |
354 |
|
350 |
355 |
|
351 |
356 |
if __name__ == "__main__":
|