개정판 da642f1f
add symbol info
Change-Id: Iba8cc8e883e8890464c755fd43cdec1a7fa170fe
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
568 | 568 |
, symbol.getOriginalConvertingPoint(), symbol.getConnectionPoint() |
569 | 569 |
, symbol.getBaseSymbol(), symbol.getAdditionalSymbol(), symbol.getIsExceptDetect(), |
570 | 570 |
symbol.getHasInstrumentLabel() |
571 |
, symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, symbol.getDesc()) |
|
571 |
, symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, symbol.getDescAndInfo())
|
|
572 | 572 |
cursor.execute(sql, query) |
573 | 573 |
conn.commit() |
574 | 574 |
isAdded = True |
... | ... | |
609 | 609 |
, symbol.getOcrOption(), symbol.getIsContainChild() |
610 | 610 |
, symbol.getOriginalConvertingPoint(), symbol.getConnectionPoint() |
611 | 611 |
, symbol.getBaseSymbol(), symbol.getAdditionalSymbol(), symbol.getIsExceptDetect(), |
612 |
symbol.getHasInstrumentLabel(), symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, symbol.getDesc(), |
|
612 |
symbol.getHasInstrumentLabel(), symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, symbol.getDescAndInfo(),
|
|
613 | 613 |
symbol.getUid()) |
614 | 614 |
cursor.execute(sql, query) |
615 | 615 |
conn.commit() |
DTI_PID/DTI_PID/SymbolBase.py | ||
---|---|---|
31 | 31 |
self._owner = None |
32 | 32 |
self.width = width |
33 | 33 |
self.height = height |
34 |
self.desc = desc if desc else '' |
|
34 |
self.desc = '' |
|
35 |
self.info = '' |
|
36 |
|
|
37 |
self.delimiter = '!-!' |
|
38 |
|
|
39 |
if desc: |
|
40 |
if self.delimiter in desc: |
|
41 |
self.desc = desc.split(self.delimiter)[0] |
|
42 |
self.info = desc.split(self.delimiter)[1] |
|
43 |
else: |
|
44 |
self.desc = desc |
|
45 |
|
|
35 | 46 |
|
36 | 47 |
self.text_area = None |
37 | 48 |
if type(text_area) is str and text_area: |
... | ... | |
75 | 86 |
def getDesc(self): |
76 | 87 |
return self.desc |
77 | 88 |
|
89 |
def getInfo(self): |
|
90 |
return self.info |
|
91 |
|
|
92 |
def getDescAndInfo(self): |
|
93 |
return self.desc + self.delimiter + self.info |
|
94 |
|
|
78 | 95 |
''' |
79 | 96 |
@brief getter of owner |
80 | 97 |
@author humkyung |
DTI_PID/DTI_PID/SymbolEditorDialog.py | ||
---|---|---|
446 | 446 |
|
447 | 447 |
def initContents(self): |
448 | 448 |
try: |
449 |
app_doc_data = AppDocData.instance() |
|
450 |
|
|
449 | 451 |
if self.selectedSymbol is not None: |
450 | 452 |
self.ui.immediateInsertCheckBox.setDisabled(True) |
451 | 453 |
|
452 | 454 |
self.ui.nameLineEdit.setText(self.selectedSymbol.getName()) |
453 | 455 |
self.ui.spinBoxThreshold.setValue(round(self.selectedSymbol.getThreshold() * 100)) |
454 | 456 |
self.ui.lineEditDesc.setText(self.selectedSymbol.getDesc()) |
457 |
self.ui.lineEditInfo.setText(self.selectedSymbol.getInfo()) |
|
455 | 458 |
self.ui.minMatchPointLineEdit.setText(str(self.selectedSymbol.getMinMatchCount())) |
456 | 459 |
self.ui.rotationCountSpinBox.setValue(self.selectedSymbol.getRotationCount() * 90) |
457 | 460 |
self.ui.isContainChildCheckBox.setChecked(True if self.selectedSymbol.getIsContainChild() else False) |
... | ... | |
514 | 517 |
symbol_idx = '0' |
515 | 518 |
in_out = 'None' |
516 | 519 |
break_or_not = 'X' |
517 |
configs = AppDocData.instance().getConfigs('Line', 'Default Type')
|
|
520 |
configs = app_doc_data.getConfigs('Line', 'Default Type')
|
|
518 | 521 |
conn_type = configs[0].value if 1 == len(configs) else 'Secondary' |
519 | 522 |
tokens = conString.split(',') |
520 | 523 |
if len(tokens) == 2: |
... | ... | |
597 | 600 |
self.ui.isExceptDetectCheckBox.setChecked(True) |
598 | 601 |
self.ui.immediateInsertCheckBox.setChecked(True) |
599 | 602 |
|
603 |
self.ui.lineEditInfo.setText(app_doc_data.activeDrawing.name.replace('.png', '')) |
|
604 |
|
|
600 | 605 |
# no used |
601 | 606 |
self.ui.minMatchPointLineEdit.setText('0') |
602 | 607 |
else: |
608 |
self.ui.lineEditInfo.setText(app_doc_data.activeDrawing.name.replace('.png', '')) |
|
609 |
|
|
603 | 610 |
# no used |
604 | 611 |
self.ui.minMatchPointLineEdit.setText('0') |
605 | 612 |
except Exception as ex: |
... | ... | |
714 | 721 |
else: |
715 | 722 |
fileName = self.makeFileName(category, name, name) |
716 | 723 |
threshold = str(self.ui.spinBoxThreshold.value()) |
717 |
desc = self.ui.lineEditDesc.text() |
|
724 |
desc = self.ui.lineEditDesc.text() + '!-!' + self.ui.lineEditInfo.text()
|
|
718 | 725 |
minMatchPoint = self.ui.minMatchPointLineEdit.text() |
719 | 726 |
rotationCount = int(self.ui.rotationCountSpinBox.value() / 90) |
720 | 727 |
ocrOption = 0 |
DTI_PID/DTI_PID/SymbolEditor_UI.py | ||
---|---|---|
272 | 272 |
self.gridLayout_4.setObjectName("gridLayout_4") |
273 | 273 |
self.gridLayout_7 = QtWidgets.QGridLayout() |
274 | 274 |
self.gridLayout_7.setObjectName("gridLayout_7") |
275 |
self.makeFlipCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
276 |
self.makeFlipCheckBox.setText("") |
|
277 |
self.makeFlipCheckBox.setObjectName("makeFlipCheckBox") |
|
278 |
self.gridLayout_7.addWidget(self.makeFlipCheckBox, 18, 1, 1, 3) |
|
279 |
self.isExceptDetectLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
275 |
self.isContainChildLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
280 | 276 |
font = QtGui.QFont() |
281 | 277 |
font.setBold(True) |
282 | 278 |
font.setWeight(75) |
283 |
self.isExceptDetectLabel.setFont(font) |
|
284 |
self.isExceptDetectLabel.setObjectName("isExceptDetectLabel") |
|
285 |
self.gridLayout_7.addWidget(self.isExceptDetectLabel, 16, 0, 1, 1) |
|
286 |
self.isExceptDetectCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
287 |
self.isExceptDetectCheckBox.setText("") |
|
288 |
self.isExceptDetectCheckBox.setObjectName("isExceptDetectCheckBox") |
|
289 |
self.gridLayout_7.addWidget(self.isExceptDetectCheckBox, 16, 1, 1, 3) |
|
290 |
self.spinBoxhasInstrumentLabel = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
291 |
self.spinBoxhasInstrumentLabel.setMaximum(1) |
|
292 |
self.spinBoxhasInstrumentLabel.setObjectName("spinBoxhasInstrumentLabel") |
|
293 |
self.gridLayout_7.addWidget(self.spinBoxhasInstrumentLabel, 15, 1, 1, 3) |
|
294 |
self.immediateInsertCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
295 |
self.immediateInsertCheckBox.setText("") |
|
296 |
self.immediateInsertCheckBox.setObjectName("immediateInsertCheckBox") |
|
297 |
self.gridLayout_7.addWidget(self.immediateInsertCheckBox, 17, 1, 1, 3) |
|
298 |
self.rotationCountSpinBox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
299 |
self.rotationCountSpinBox.setMinimum(0) |
|
300 |
self.rotationCountSpinBox.setMaximum(270) |
|
301 |
self.rotationCountSpinBox.setSingleStep(90) |
|
302 |
self.rotationCountSpinBox.setProperty("value", 0) |
|
303 |
self.rotationCountSpinBox.setObjectName("rotationCountSpinBox") |
|
304 |
self.gridLayout_7.addWidget(self.rotationCountSpinBox, 4, 1, 1, 3) |
|
305 |
self.delTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
306 |
self.delTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
307 |
self.delTextAreaButton.setText("") |
|
279 |
self.isContainChildLabel.setFont(font) |
|
280 |
self.isContainChildLabel.setObjectName("isContainChildLabel") |
|
281 |
self.gridLayout_7.addWidget(self.isContainChildLabel, 6, 0, 1, 1) |
|
282 |
self.tableWidgetConnList = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
|
283 |
self.tableWidgetConnList.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
284 |
self.tableWidgetConnList.setObjectName("tableWidgetConnList") |
|
285 |
self.tableWidgetConnList.setColumnCount(0) |
|
286 |
self.tableWidgetConnList.setRowCount(0) |
|
287 |
self.tableWidgetConnList.verticalHeader().setVisible(False) |
|
288 |
self.gridLayout_7.addWidget(self.tableWidgetConnList, 15, 1, 1, 3) |
|
289 |
self.pushButtonDelConnPt = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
290 |
self.pushButtonDelConnPt.setMinimumSize(QtCore.QSize(40, 0)) |
|
291 |
self.pushButtonDelConnPt.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
292 |
self.pushButtonDelConnPt.setText("") |
|
308 | 293 |
icon18 = QtGui.QIcon() |
309 | 294 |
icon18.addPixmap(QtGui.QPixmap(":/newPrefix/Remove.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
310 |
self.delTextAreaButton.setIcon(icon18) |
|
311 |
self.delTextAreaButton.setObjectName("delTextAreaButton") |
|
312 |
self.gridLayout_7.addWidget(self.delTextAreaButton, 7, 3, 1, 1) |
|
313 |
self.rotationCountLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
314 |
font = QtGui.QFont() |
|
315 |
font.setBold(True) |
|
316 |
font.setWeight(75) |
|
317 |
self.rotationCountLabel.setFont(font) |
|
318 |
self.rotationCountLabel.setObjectName("rotationCountLabel") |
|
319 |
self.gridLayout_7.addWidget(self.rotationCountLabel, 4, 0, 1, 1) |
|
320 |
self.label_5 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
321 |
font = QtGui.QFont() |
|
322 |
font.setBold(True) |
|
323 |
font.setWeight(75) |
|
324 |
self.label_5.setFont(font) |
|
325 |
self.label_5.setObjectName("label_5") |
|
326 |
self.gridLayout_7.addWidget(self.label_5, 7, 0, 1, 1) |
|
327 |
self.spinBoxThreshold = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
328 |
self.spinBoxThreshold.setMinimum(1) |
|
329 |
self.spinBoxThreshold.setMaximum(100) |
|
330 |
self.spinBoxThreshold.setProperty("value", 75) |
|
331 |
self.spinBoxThreshold.setObjectName("spinBoxThreshold") |
|
332 |
self.gridLayout_7.addWidget(self.spinBoxThreshold, 1, 1, 1, 3) |
|
333 |
self.originalPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
334 |
self.originalPointLineEdit.setReadOnly(True) |
|
335 |
self.originalPointLineEdit.setObjectName("originalPointLineEdit") |
|
336 |
self.gridLayout_7.addWidget(self.originalPointLineEdit, 11, 1, 1, 1) |
|
337 |
self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
295 |
self.pushButtonDelConnPt.setIcon(icon18) |
|
296 |
self.pushButtonDelConnPt.setObjectName("pushButtonDelConnPt") |
|
297 |
self.gridLayout_7.addWidget(self.pushButtonDelConnPt, 14, 3, 1, 1) |
|
298 |
self.thresholdLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
338 | 299 |
font = QtGui.QFont() |
339 | 300 |
font.setBold(True) |
340 | 301 |
font.setWeight(75) |
341 |
self.label_3.setFont(font) |
|
342 |
self.label_3.setObjectName("label_3") |
|
343 |
self.gridLayout_7.addWidget(self.label_3, 19, 0, 1, 1) |
|
302 |
self.thresholdLabel.setFont(font) |
|
303 |
self.thresholdLabel.setObjectName("thresholdLabel") |
|
304 |
self.gridLayout_7.addWidget(self.thresholdLabel, 1, 0, 1, 1) |
|
305 |
self.additionalSymbolListWidget = QtWidgets.QListWidget(self.scrollAreaWidgetContents) |
|
306 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) |
|
307 |
sizePolicy.setHorizontalStretch(0) |
|
308 |
sizePolicy.setVerticalStretch(0) |
|
309 |
sizePolicy.setHeightForWidth(self.additionalSymbolListWidget.sizePolicy().hasHeightForWidth()) |
|
310 |
self.additionalSymbolListWidget.setSizePolicy(sizePolicy) |
|
311 |
self.additionalSymbolListWidget.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
312 |
self.additionalSymbolListWidget.setObjectName("additionalSymbolListWidget") |
|
313 |
self.gridLayout_7.addWidget(self.additionalSymbolListWidget, 11, 1, 1, 3) |
|
344 | 314 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
345 | 315 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
346 | 316 |
self.spinBoxParent = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
... | ... | |
363 | 333 |
self.addAdditionalSymbolButton.setIcon(icon19) |
364 | 334 |
self.addAdditionalSymbolButton.setObjectName("addAdditionalSymbolButton") |
365 | 335 |
self.horizontalLayout_3.addWidget(self.addAdditionalSymbolButton) |
366 |
self.gridLayout_7.addLayout(self.horizontalLayout_3, 9, 1, 1, 3)
|
|
336 |
self.gridLayout_7.addLayout(self.horizontalLayout_3, 10, 1, 1, 3)
|
|
367 | 337 |
self.isContainChildCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
368 | 338 |
self.isContainChildCheckBox.setText("") |
369 | 339 |
self.isContainChildCheckBox.setCheckable(True) |
370 | 340 |
self.isContainChildCheckBox.setObjectName("isContainChildCheckBox") |
371 |
self.gridLayout_7.addWidget(self.isContainChildCheckBox, 5, 1, 1, 3) |
|
372 |
self.additionalSymbolListWidget = QtWidgets.QListWidget(self.scrollAreaWidgetContents) |
|
373 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) |
|
374 |
sizePolicy.setHorizontalStretch(0) |
|
375 |
sizePolicy.setVerticalStretch(0) |
|
376 |
sizePolicy.setHeightForWidth(self.additionalSymbolListWidget.sizePolicy().hasHeightForWidth()) |
|
377 |
self.additionalSymbolListWidget.setSizePolicy(sizePolicy) |
|
378 |
self.additionalSymbolListWidget.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
379 |
self.additionalSymbolListWidget.setObjectName("additionalSymbolListWidget") |
|
380 |
self.gridLayout_7.addWidget(self.additionalSymbolListWidget, 10, 1, 1, 3) |
|
381 |
self.tableWidgetConnList = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
|
382 |
self.tableWidgetConnList.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
383 |
self.tableWidgetConnList.setObjectName("tableWidgetConnList") |
|
384 |
self.tableWidgetConnList.setColumnCount(0) |
|
385 |
self.tableWidgetConnList.setRowCount(0) |
|
386 |
self.tableWidgetConnList.verticalHeader().setVisible(False) |
|
387 |
self.gridLayout_7.addWidget(self.tableWidgetConnList, 14, 1, 1, 3) |
|
341 |
self.gridLayout_7.addWidget(self.isContainChildCheckBox, 6, 1, 1, 3) |
|
388 | 342 |
self.checkBoxChange = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
389 | 343 |
self.checkBoxChange.setText("") |
390 | 344 |
self.checkBoxChange.setObjectName("checkBoxChange") |
391 |
self.gridLayout_7.addWidget(self.checkBoxChange, 19, 1, 1, 3) |
|
392 |
self.isContainChildLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
393 |
font = QtGui.QFont() |
|
394 |
font.setBold(True) |
|
395 |
font.setWeight(75) |
|
396 |
self.isContainChildLabel.setFont(font) |
|
397 |
self.isContainChildLabel.setObjectName("isContainChildLabel") |
|
398 |
self.gridLayout_7.addWidget(self.isContainChildLabel, 5, 0, 1, 1) |
|
345 |
self.gridLayout_7.addWidget(self.checkBoxChange, 20, 1, 1, 3) |
|
399 | 346 |
self.originalPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
400 | 347 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) |
401 | 348 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
408 | 355 |
self.originalPointLabel.setFont(font) |
409 | 356 |
self.originalPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
410 | 357 |
self.originalPointLabel.setObjectName("originalPointLabel") |
411 |
self.gridLayout_7.addWidget(self.originalPointLabel, 11, 0, 1, 1) |
|
412 |
self.pushButtonDelConnPt = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
413 |
self.pushButtonDelConnPt.setMinimumSize(QtCore.QSize(40, 0)) |
|
414 |
self.pushButtonDelConnPt.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
415 |
self.pushButtonDelConnPt.setText("") |
|
416 |
self.pushButtonDelConnPt.setIcon(icon18) |
|
417 |
self.pushButtonDelConnPt.setObjectName("pushButtonDelConnPt") |
|
418 |
self.gridLayout_7.addWidget(self.pushButtonDelConnPt, 13, 3, 1, 1) |
|
419 |
self.thresholdLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
358 |
self.gridLayout_7.addWidget(self.originalPointLabel, 12, 0, 1, 1) |
|
359 |
self.isExceptDetectLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
420 | 360 |
font = QtGui.QFont() |
421 | 361 |
font.setBold(True) |
422 | 362 |
font.setWeight(75) |
423 |
self.thresholdLabel.setFont(font) |
|
424 |
self.thresholdLabel.setObjectName("thresholdLabel") |
|
425 |
self.gridLayout_7.addWidget(self.thresholdLabel, 1, 0, 1, 1) |
|
426 |
self.makeFlipLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
363 |
self.isExceptDetectLabel.setFont(font) |
|
364 |
self.isExceptDetectLabel.setObjectName("isExceptDetectLabel") |
|
365 |
self.gridLayout_7.addWidget(self.isExceptDetectLabel, 17, 0, 1, 1) |
|
366 |
self.isExceptDetectCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
367 |
self.isExceptDetectCheckBox.setText("") |
|
368 |
self.isExceptDetectCheckBox.setObjectName("isExceptDetectCheckBox") |
|
369 |
self.gridLayout_7.addWidget(self.isExceptDetectCheckBox, 17, 1, 1, 3) |
|
370 |
self.spinBoxThreshold = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
371 |
self.spinBoxThreshold.setMinimum(1) |
|
372 |
self.spinBoxThreshold.setMaximum(100) |
|
373 |
self.spinBoxThreshold.setProperty("value", 75) |
|
374 |
self.spinBoxThreshold.setObjectName("spinBoxThreshold") |
|
375 |
self.gridLayout_7.addWidget(self.spinBoxThreshold, 1, 1, 1, 3) |
|
376 |
self.label_5 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
427 | 377 |
font = QtGui.QFont() |
428 | 378 |
font.setBold(True) |
429 | 379 |
font.setWeight(75) |
430 |
self.makeFlipLabel.setFont(font) |
|
431 |
self.makeFlipLabel.setObjectName("makeFlipLabel") |
|
432 |
self.gridLayout_7.addWidget(self.makeFlipLabel, 18, 0, 1, 1) |
|
433 |
self.additionalSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
380 |
self.label_5.setFont(font) |
|
381 |
self.label_5.setObjectName("label_5") |
|
382 |
self.gridLayout_7.addWidget(self.label_5, 8, 0, 1, 1) |
|
383 |
self.originalPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
384 |
self.originalPointLineEdit.setReadOnly(True) |
|
385 |
self.originalPointLineEdit.setObjectName("originalPointLineEdit") |
|
386 |
self.gridLayout_7.addWidget(self.originalPointLineEdit, 12, 1, 1, 1) |
|
387 |
self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
434 | 388 |
font = QtGui.QFont() |
435 | 389 |
font.setBold(True) |
436 | 390 |
font.setWeight(75) |
437 |
self.additionalSymbolLabel.setFont(font) |
|
438 |
self.additionalSymbolLabel.setObjectName("additionalSymbolLabel") |
|
439 |
self.gridLayout_7.addWidget(self.additionalSymbolLabel, 9, 0, 1, 1) |
|
440 |
self.addConnectionPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
441 |
self.addConnectionPointButton.setMinimumSize(QtCore.QSize(40, 0)) |
|
442 |
self.addConnectionPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
443 |
self.addConnectionPointButton.setText("") |
|
444 |
self.addConnectionPointButton.setIcon(icon19) |
|
445 |
self.addConnectionPointButton.setObjectName("addConnectionPointButton") |
|
446 |
self.gridLayout_7.addWidget(self.addConnectionPointButton, 13, 2, 1, 1) |
|
391 |
self.label_3.setFont(font) |
|
392 |
self.label_3.setObjectName("label_3") |
|
393 |
self.gridLayout_7.addWidget(self.label_3, 20, 0, 1, 1) |
|
394 |
self.delTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
395 |
self.delTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
396 |
self.delTextAreaButton.setText("") |
|
397 |
self.delTextAreaButton.setIcon(icon18) |
|
398 |
self.delTextAreaButton.setObjectName("delTextAreaButton") |
|
399 |
self.gridLayout_7.addWidget(self.delTextAreaButton, 8, 3, 1, 1) |
|
400 |
self.makeFlipCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
401 |
self.makeFlipCheckBox.setText("") |
|
402 |
self.makeFlipCheckBox.setObjectName("makeFlipCheckBox") |
|
403 |
self.gridLayout_7.addWidget(self.makeFlipCheckBox, 19, 1, 1, 3) |
|
404 |
self.immediateInsertCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
405 |
self.immediateInsertCheckBox.setText("") |
|
406 |
self.immediateInsertCheckBox.setObjectName("immediateInsertCheckBox") |
|
407 |
self.gridLayout_7.addWidget(self.immediateInsertCheckBox, 18, 1, 1, 3) |
|
408 |
self.rotationCountLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
409 |
font = QtGui.QFont() |
|
410 |
font.setBold(True) |
|
411 |
font.setWeight(75) |
|
412 |
self.rotationCountLabel.setFont(font) |
|
413 |
self.rotationCountLabel.setObjectName("rotationCountLabel") |
|
414 |
self.gridLayout_7.addWidget(self.rotationCountLabel, 5, 0, 1, 1) |
|
415 |
self.spinBoxhasInstrumentLabel = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
416 |
self.spinBoxhasInstrumentLabel.setMaximum(1) |
|
417 |
self.spinBoxhasInstrumentLabel.setObjectName("spinBoxhasInstrumentLabel") |
|
418 |
self.gridLayout_7.addWidget(self.spinBoxhasInstrumentLabel, 16, 1, 1, 3) |
|
419 |
self.rotationCountSpinBox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
420 |
self.rotationCountSpinBox.setMinimum(0) |
|
421 |
self.rotationCountSpinBox.setMaximum(270) |
|
422 |
self.rotationCountSpinBox.setSingleStep(90) |
|
423 |
self.rotationCountSpinBox.setProperty("value", 0) |
|
424 |
self.rotationCountSpinBox.setObjectName("rotationCountSpinBox") |
|
425 |
self.gridLayout_7.addWidget(self.rotationCountSpinBox, 5, 1, 1, 3) |
|
426 |
self.label_6 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
427 |
font = QtGui.QFont() |
|
428 |
font.setBold(True) |
|
429 |
font.setWeight(75) |
|
430 |
self.label_6.setFont(font) |
|
431 |
self.label_6.setObjectName("label_6") |
|
432 |
self.gridLayout_7.addWidget(self.label_6, 13, 0, 1, 1) |
|
433 |
self.pushButtonConvertingPointAdd = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
434 |
self.pushButtonConvertingPointAdd.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
435 |
self.pushButtonConvertingPointAdd.setText("") |
|
436 |
self.pushButtonConvertingPointAdd.setIcon(icon19) |
|
437 |
self.pushButtonConvertingPointAdd.setObjectName("pushButtonConvertingPointAdd") |
|
438 |
self.gridLayout_7.addWidget(self.pushButtonConvertingPointAdd, 13, 2, 1, 1) |
|
447 | 439 |
self.addTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
448 | 440 |
self.addTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
449 | 441 |
self.addTextAreaButton.setText("") |
450 | 442 |
self.addTextAreaButton.setIcon(icon19) |
451 | 443 |
self.addTextAreaButton.setObjectName("addTextAreaButton") |
452 |
self.gridLayout_7.addWidget(self.addTextAreaButton, 7, 2, 1, 1) |
|
444 |
self.gridLayout_7.addWidget(self.addTextAreaButton, 8, 2, 1, 1) |
|
445 |
self.makeFlipLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
446 |
font = QtGui.QFont() |
|
447 |
font.setBold(True) |
|
448 |
font.setWeight(75) |
|
449 |
self.makeFlipLabel.setFont(font) |
|
450 |
self.makeFlipLabel.setObjectName("makeFlipLabel") |
|
451 |
self.gridLayout_7.addWidget(self.makeFlipLabel, 19, 0, 1, 1) |
|
452 |
self.minMatchPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
453 |
font = QtGui.QFont() |
|
454 |
font.setBold(True) |
|
455 |
font.setWeight(75) |
|
456 |
self.minMatchPointLabel.setFont(font) |
|
457 |
self.minMatchPointLabel.setObjectName("minMatchPointLabel") |
|
458 |
self.gridLayout_7.addWidget(self.minMatchPointLabel, 4, 0, 1, 1) |
|
453 | 459 |
self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
454 | 460 |
font = QtGui.QFont() |
455 | 461 |
font.setBold(True) |
456 | 462 |
font.setWeight(75) |
457 | 463 |
self.label_4.setFont(font) |
458 | 464 |
self.label_4.setObjectName("label_4") |
459 |
self.gridLayout_7.addWidget(self.label_4, 20, 0, 1, 1) |
|
465 |
self.gridLayout_7.addWidget(self.label_4, 21, 0, 1, 1) |
|
466 |
self.connectionPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
467 |
self.connectionPointLineEdit.setReadOnly(True) |
|
468 |
self.connectionPointLineEdit.setObjectName("connectionPointLineEdit") |
|
469 |
self.gridLayout_7.addWidget(self.connectionPointLineEdit, 14, 1, 1, 1) |
|
460 | 470 |
self.minMatchPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
461 | 471 |
self.minMatchPointLineEdit.setEnabled(False) |
462 | 472 |
self.minMatchPointLineEdit.setObjectName("minMatchPointLineEdit") |
463 |
self.gridLayout_7.addWidget(self.minMatchPointLineEdit, 3, 1, 1, 3) |
|
473 |
self.gridLayout_7.addWidget(self.minMatchPointLineEdit, 4, 1, 1, 3) |
|
474 |
self.textAreaTableWidget = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
|
475 |
self.textAreaTableWidget.setObjectName("textAreaTableWidget") |
|
476 |
self.textAreaTableWidget.setColumnCount(0) |
|
477 |
self.textAreaTableWidget.setRowCount(0) |
|
478 |
self.gridLayout_7.addWidget(self.textAreaTableWidget, 9, 1, 1, 3) |
|
479 |
self.pushButtonChange = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
480 |
self.pushButtonChange.setObjectName("pushButtonChange") |
|
481 |
self.gridLayout_7.addWidget(self.pushButtonChange, 21, 1, 1, 3) |
|
464 | 482 |
self.nameLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
465 | 483 |
font = QtGui.QFont() |
466 | 484 |
font.setBold(True) |
... | ... | |
468 | 486 |
self.nameLabel.setFont(font) |
469 | 487 |
self.nameLabel.setObjectName("nameLabel") |
470 | 488 |
self.gridLayout_7.addWidget(self.nameLabel, 0, 0, 1, 1) |
471 |
self.connectionPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
472 |
self.connectionPointLineEdit.setReadOnly(True) |
|
473 |
self.connectionPointLineEdit.setObjectName("connectionPointLineEdit") |
|
474 |
self.gridLayout_7.addWidget(self.connectionPointLineEdit, 13, 1, 1, 1) |
|
475 |
self.nameLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
476 |
self.nameLineEdit.setObjectName("nameLineEdit") |
|
477 |
self.gridLayout_7.addWidget(self.nameLineEdit, 0, 1, 1, 3) |
|
478 |
self.minMatchPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
479 |
font = QtGui.QFont() |
|
480 |
font.setBold(True) |
|
481 |
font.setWeight(75) |
|
482 |
self.minMatchPointLabel.setFont(font) |
|
483 |
self.minMatchPointLabel.setObjectName("minMatchPointLabel") |
|
484 |
self.gridLayout_7.addWidget(self.minMatchPointLabel, 3, 0, 1, 1) |
|
485 | 489 |
self.immediateInsertLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
486 | 490 |
font = QtGui.QFont() |
487 | 491 |
font.setBold(True) |
488 | 492 |
font.setWeight(75) |
489 | 493 |
self.immediateInsertLabel.setFont(font) |
490 | 494 |
self.immediateInsertLabel.setObjectName("immediateInsertLabel") |
491 |
self.gridLayout_7.addWidget(self.immediateInsertLabel, 17, 0, 1, 1) |
|
492 |
self.pushButtonChange = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
493 |
self.pushButtonChange.setObjectName("pushButtonChange") |
|
494 |
self.gridLayout_7.addWidget(self.pushButtonChange, 20, 1, 1, 3) |
|
495 |
self.textAreaTableWidget = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
|
496 |
self.textAreaTableWidget.setObjectName("textAreaTableWidget") |
|
497 |
self.textAreaTableWidget.setColumnCount(0) |
|
498 |
self.textAreaTableWidget.setRowCount(0) |
|
499 |
self.gridLayout_7.addWidget(self.textAreaTableWidget, 8, 1, 1, 3) |
|
500 |
self.lineEditConvertingPoint = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
501 |
self.lineEditConvertingPoint.setReadOnly(True) |
|
502 |
self.lineEditConvertingPoint.setObjectName("lineEditConvertingPoint") |
|
503 |
self.gridLayout_7.addWidget(self.lineEditConvertingPoint, 12, 1, 1, 1) |
|
504 |
self.pushButtonConvertingPointAdd = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
505 |
self.pushButtonConvertingPointAdd.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
506 |
self.pushButtonConvertingPointAdd.setText("") |
|
507 |
self.pushButtonConvertingPointAdd.setIcon(icon19) |
|
508 |
self.pushButtonConvertingPointAdd.setObjectName("pushButtonConvertingPointAdd") |
|
509 |
self.gridLayout_7.addWidget(self.pushButtonConvertingPointAdd, 12, 2, 1, 1) |
|
510 |
self.label_6 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
511 |
font = QtGui.QFont() |
|
512 |
font.setBold(True) |
|
513 |
font.setWeight(75) |
|
514 |
self.label_6.setFont(font) |
|
515 |
self.label_6.setObjectName("label_6") |
|
516 |
self.gridLayout_7.addWidget(self.label_6, 12, 0, 1, 1) |
|
517 |
self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) |
|
495 |
self.gridLayout_7.addWidget(self.immediateInsertLabel, 18, 0, 1, 1) |
|
496 |
self.additionalSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
518 | 497 |
font = QtGui.QFont() |
519 | 498 |
font.setBold(True) |
520 | 499 |
font.setWeight(75) |
521 |
self.groupBox.setFont(font) |
|
522 |
self.groupBox.setObjectName("groupBox") |
|
523 |
self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox) |
|
524 |
self.gridLayout_8.setObjectName("gridLayout_8") |
|
525 |
self.treeViewSymbolCategory = QtWidgets.QTreeView(self.groupBox) |
|
526 |
self.treeViewSymbolCategory.setObjectName("treeViewSymbolCategory") |
|
527 |
self.gridLayout_8.addWidget(self.treeViewSymbolCategory, 1, 0, 1, 1) |
|
528 |
self.lineEditFilter = QtWidgets.QLineEdit(self.groupBox) |
|
529 |
self.lineEditFilter.setObjectName("lineEditFilter") |
|
530 |
self.gridLayout_8.addWidget(self.lineEditFilter, 0, 0, 1, 1) |
|
531 |
self.gridLayout_7.addWidget(self.groupBox, 6, 0, 1, 4) |
|
500 |
self.additionalSymbolLabel.setFont(font) |
|
501 |
self.additionalSymbolLabel.setObjectName("additionalSymbolLabel") |
|
502 |
self.gridLayout_7.addWidget(self.additionalSymbolLabel, 10, 0, 1, 1) |
|
503 |
self.nameLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
504 |
self.nameLineEdit.setObjectName("nameLineEdit") |
|
505 |
self.gridLayout_7.addWidget(self.nameLineEdit, 0, 1, 1, 3) |
|
506 |
self.addConnectionPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
507 |
self.addConnectionPointButton.setMinimumSize(QtCore.QSize(40, 0)) |
|
508 |
self.addConnectionPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
509 |
self.addConnectionPointButton.setText("") |
|
510 |
self.addConnectionPointButton.setIcon(icon19) |
|
511 |
self.addConnectionPointButton.setObjectName("addConnectionPointButton") |
|
512 |
self.gridLayout_7.addWidget(self.addConnectionPointButton, 14, 2, 1, 1) |
|
513 |
self.lineEditConvertingPoint = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
514 |
self.lineEditConvertingPoint.setReadOnly(True) |
|
515 |
self.lineEditConvertingPoint.setObjectName("lineEditConvertingPoint") |
|
516 |
self.gridLayout_7.addWidget(self.lineEditConvertingPoint, 13, 1, 1, 1) |
|
532 | 517 |
self.pushButtonConvertingPointDelete = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
533 | 518 |
self.pushButtonConvertingPointDelete.setMaximumSize(QtCore.QSize(40, 16777215)) |
534 | 519 |
self.pushButtonConvertingPointDelete.setText("") |
535 | 520 |
self.pushButtonConvertingPointDelete.setIcon(icon18) |
536 | 521 |
self.pushButtonConvertingPointDelete.setObjectName("pushButtonConvertingPointDelete") |
537 |
self.gridLayout_7.addWidget(self.pushButtonConvertingPointDelete, 12, 3, 1, 1)
|
|
522 |
self.gridLayout_7.addWidget(self.pushButtonConvertingPointDelete, 13, 3, 1, 1)
|
|
538 | 523 |
self.addOriginalPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
539 | 524 |
self.addOriginalPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
540 | 525 |
self.addOriginalPointButton.setText("") |
541 | 526 |
self.addOriginalPointButton.setIcon(icon19) |
542 | 527 |
self.addOriginalPointButton.setObjectName("addOriginalPointButton") |
543 |
self.gridLayout_7.addWidget(self.addOriginalPointButton, 11, 2, 1, 1)
|
|
528 |
self.gridLayout_7.addWidget(self.addOriginalPointButton, 12, 2, 1, 1)
|
|
544 | 529 |
self.connectionPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
545 | 530 |
font = QtGui.QFont() |
546 | 531 |
font.setBold(True) |
... | ... | |
548 | 533 |
self.connectionPointLabel.setFont(font) |
549 | 534 |
self.connectionPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
550 | 535 |
self.connectionPointLabel.setObjectName("connectionPointLabel") |
551 |
self.gridLayout_7.addWidget(self.connectionPointLabel, 13, 0, 1, 1) |
|
552 |
self.hasInstrumentLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
553 |
font = QtGui.QFont() |
|
554 |
font.setBold(True) |
|
555 |
font.setWeight(75) |
|
556 |
self.hasInstrumentLabel.setFont(font) |
|
557 |
self.hasInstrumentLabel.setObjectName("hasInstrumentLabel") |
|
558 |
self.gridLayout_7.addWidget(self.hasInstrumentLabel, 15, 0, 1, 1) |
|
536 |
self.gridLayout_7.addWidget(self.connectionPointLabel, 14, 0, 1, 1) |
|
559 | 537 |
self.textAreaLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
560 | 538 |
self.textAreaLineEdit.setObjectName("textAreaLineEdit") |
561 |
self.gridLayout_7.addWidget(self.textAreaLineEdit, 7, 1, 1, 1)
|
|
539 |
self.gridLayout_7.addWidget(self.textAreaLineEdit, 8, 1, 1, 1)
|
|
562 | 540 |
self.label_7 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
563 | 541 |
font = QtGui.QFont() |
564 | 542 |
font.setBold(True) |
... | ... | |
569 | 547 |
self.lineEditDesc = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
570 | 548 |
self.lineEditDesc.setObjectName("lineEditDesc") |
571 | 549 |
self.gridLayout_7.addWidget(self.lineEditDesc, 2, 1, 1, 3) |
550 |
self.hasInstrumentLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
551 |
font = QtGui.QFont() |
|
552 |
font.setBold(True) |
|
553 |
font.setWeight(75) |
|
554 |
self.hasInstrumentLabel.setFont(font) |
|
555 |
self.hasInstrumentLabel.setObjectName("hasInstrumentLabel") |
|
556 |
self.gridLayout_7.addWidget(self.hasInstrumentLabel, 16, 0, 1, 1) |
|
557 |
self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) |
|
558 |
font = QtGui.QFont() |
|
559 |
font.setBold(True) |
|
560 |
font.setWeight(75) |
|
561 |
self.groupBox.setFont(font) |
|
562 |
self.groupBox.setObjectName("groupBox") |
|
563 |
self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox) |
|
564 |
self.gridLayout_8.setObjectName("gridLayout_8") |
|
565 |
self.treeViewSymbolCategory = QtWidgets.QTreeView(self.groupBox) |
|
566 |
self.treeViewSymbolCategory.setObjectName("treeViewSymbolCategory") |
|
567 |
self.gridLayout_8.addWidget(self.treeViewSymbolCategory, 1, 0, 1, 1) |
|
568 |
self.lineEditFilter = QtWidgets.QLineEdit(self.groupBox) |
|
569 |
self.lineEditFilter.setObjectName("lineEditFilter") |
|
570 |
self.gridLayout_8.addWidget(self.lineEditFilter, 0, 0, 1, 1) |
|
571 |
self.gridLayout_7.addWidget(self.groupBox, 7, 0, 1, 4) |
|
572 |
self.label_8 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
573 |
font = QtGui.QFont() |
|
574 |
font.setBold(True) |
|
575 |
font.setWeight(75) |
|
576 |
self.label_8.setFont(font) |
|
577 |
self.label_8.setObjectName("label_8") |
|
578 |
self.gridLayout_7.addWidget(self.label_8, 3, 0, 1, 1) |
|
579 |
self.lineEditInfo = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
580 |
self.lineEditInfo.setObjectName("lineEditInfo") |
|
581 |
self.gridLayout_7.addWidget(self.lineEditInfo, 3, 1, 1, 3) |
|
572 | 582 |
self.gridLayout_4.addLayout(self.gridLayout_7, 0, 0, 1, 1) |
573 | 583 |
self.scrollArea.setWidget(self.scrollAreaWidgetContents) |
574 | 584 |
self.verticalLayout.addWidget(self.scrollArea) |
... | ... | |
597 | 607 |
self.guidelineCheckbox.setText(_translate("SymbolEditorDialog", "Show Guideline")) |
598 | 608 |
self.label.setText(_translate("SymbolEditorDialog", "Normal Color :")) |
599 | 609 |
self.label_2.setText(_translate("SymbolEditorDialog", "Highlight Color :")) |
610 |
self.isContainChildLabel.setText(_translate("SymbolEditorDialog", "Include Child Symbol")) |
|
611 |
self.thresholdLabel.setText(_translate("SymbolEditorDialog", "Threshold(%)")) |
|
612 |
self.originalPointLabel.setText(_translate("SymbolEditorDialog", "Original Point")) |
|
600 | 613 |
self.isExceptDetectLabel.setText(_translate("SymbolEditorDialog", "Exclude")) |
601 |
self.rotationCountLabel.setText(_translate("SymbolEditorDialog", "Rotation Detection Degree")) |
|
602 | 614 |
self.label_5.setText(_translate("SymbolEditorDialog", "Text Area")) |
603 | 615 |
self.label_3.setText(_translate("SymbolEditorDialog", "Change Base, Additional")) |
604 |
self.isContainChildLabel.setText(_translate("SymbolEditorDialog", "Include Child Symbol")) |
|
605 |
self.originalPointLabel.setText(_translate("SymbolEditorDialog", "Original Point")) |
|
606 |
self.thresholdLabel.setText(_translate("SymbolEditorDialog", "Threshold(%)")) |
|
616 |
self.rotationCountLabel.setText(_translate("SymbolEditorDialog", "Rotation Detection Degree")) |
|
617 |
self.label_6.setText(_translate("SymbolEditorDialog", "Converting Point")) |
|
607 | 618 |
self.makeFlipLabel.setText(_translate("SymbolEditorDialog", "Detect Flip")) |
608 |
self.additionalSymbolLabel.setText(_translate("SymbolEditorDialog", "Addition Symbol"))
|
|
619 |
self.minMatchPointLabel.setText(_translate("SymbolEditorDialog", "Min Feature Count"))
|
|
609 | 620 |
self.label_4.setText(_translate("SymbolEditorDialog", "Symbol Info on Drawing")) |
621 |
self.pushButtonChange.setText(_translate("SymbolEditorDialog", "Change Item on Drawing without DB Update")) |
|
610 | 622 |
self.nameLabel.setText(_translate("SymbolEditorDialog", "Symbol Name")) |
611 |
self.minMatchPointLabel.setText(_translate("SymbolEditorDialog", "Min Feature Count")) |
|
612 | 623 |
self.immediateInsertLabel.setText(_translate("SymbolEditorDialog", "Insert Symbol When Create")) |
613 |
self.pushButtonChange.setText(_translate("SymbolEditorDialog", "Change Item on Drawing without DB Update")) |
|
614 |
self.label_6.setText(_translate("SymbolEditorDialog", "Converting Point")) |
|
615 |
self.groupBox.setTitle(_translate("SymbolEditorDialog", "Base Symbol")) |
|
616 |
self.lineEditFilter.setPlaceholderText(_translate("SymbolEditorDialog", "Search...")) |
|
624 |
self.additionalSymbolLabel.setText(_translate("SymbolEditorDialog", "Addition Symbol")) |
|
617 | 625 |
self.connectionPointLabel.setText(_translate("SymbolEditorDialog", "Connection Point")) |
618 |
self.hasInstrumentLabel.setText(_translate("SymbolEditorDialog", "Include Text")) |
|
619 | 626 |
self.label_7.setText(_translate("SymbolEditorDialog", "Description")) |
627 |
self.hasInstrumentLabel.setText(_translate("SymbolEditorDialog", "Include Text")) |
|
628 |
self.groupBox.setTitle(_translate("SymbolEditorDialog", "Base Symbol")) |
|
629 |
self.lineEditFilter.setPlaceholderText(_translate("SymbolEditorDialog", "Search...")) |
|
630 |
self.label_8.setText(_translate("SymbolEditorDialog", "Infomaiton")) |
|
620 | 631 |
import MainWindow_rc |
621 | 632 |
|
622 | 633 |
|
DTI_PID/DTI_PID/SymbolPropertyTableWidget.py | ||
---|---|---|
90 | 90 |
item2.setFlags(Qt.ItemIsEnabled) |
91 | 91 |
self.setItem(1, 0, item2) |
92 | 92 |
|
93 |
item3 = QTableWidgetItem(self.tr("Description"))
|
|
93 |
item3 = QTableWidgetItem(self.tr("Information"))
|
|
94 | 94 |
item3.setFlags(Qt.ItemIsEnabled) |
95 | 95 |
self.setItem(2, 0, item3) |
96 | 96 |
|
... | ... | |
134 | 134 |
""" retranslate ui """ |
135 | 135 |
self.item(0,0).setText(self.tr("Symbol Name")) |
136 | 136 |
self.item(1,0).setText(self.tr("Threshold(%)")) |
137 |
self.item(2,0).setText(self.tr("Description"))
|
|
137 |
self.item(2,0).setText(self.tr("Information"))
|
|
138 | 138 |
self.item(3,0).setText(self.tr("Rotation Count")) |
139 | 139 |
self.item(4,0).setText(self.tr("Include Child Symbol")) |
140 | 140 |
self.item(5,0).setText(self.tr("Symbol Type")) |
... | ... | |
172 | 172 |
SymbolThreshold.setFlags(Qt.ItemIsEnabled) |
173 | 173 |
self.setItem(1, 1, SymbolThreshold) |
174 | 174 |
|
175 |
SymbolMinMatchCount = QTableWidgetItem(self.symData.getDesc())
|
|
175 |
SymbolMinMatchCount = QTableWidgetItem(self.symData.getInfo())
|
|
176 | 176 |
SymbolMinMatchCount.setFlags(Qt.ItemIsEnabled) |
177 | 177 |
self.setItem(2, 1, SymbolMinMatchCount) |
178 | 178 |
|
DTI_PID/DTI_PID/UI/SymbolEditor.ui | ||
---|---|---|
581 | 581 |
<layout class="QGridLayout" name="gridLayout_4"> |
582 | 582 |
<item row="0" column="0"> |
583 | 583 |
<layout class="QGridLayout" name="gridLayout_7"> |
584 |
<item row="18" column="1" colspan="3"> |
|
585 |
<widget class="QCheckBox" name="makeFlipCheckBox"> |
|
586 |
<property name="text"> |
|
587 |
<string/> |
|
588 |
</property> |
|
589 |
</widget> |
|
590 |
</item> |
|
591 |
<item row="16" column="0"> |
|
592 |
<widget class="QLabel" name="isExceptDetectLabel"> |
|
584 |
<item row="6" column="0"> |
|
585 |
<widget class="QLabel" name="isContainChildLabel"> |
|
593 | 586 |
<property name="font"> |
594 | 587 |
<font> |
595 | 588 |
<weight>75</weight> |
... | ... | |
597 | 590 |
</font> |
598 | 591 |
</property> |
599 | 592 |
<property name="text"> |
600 |
<string>Exclude</string> |
|
601 |
</property> |
|
602 |
</widget> |
|
603 |
</item> |
|
604 |
<item row="16" column="1" colspan="3"> |
|
605 |
<widget class="QCheckBox" name="isExceptDetectCheckBox"> |
|
606 |
<property name="text"> |
|
607 |
<string/> |
|
593 |
<string>Include Child Symbol</string> |
|
608 | 594 |
</property> |
609 | 595 |
</widget> |
610 | 596 |
</item> |
611 | 597 |
<item row="15" column="1" colspan="3"> |
612 |
<widget class="QSpinBox" name="spinBoxhasInstrumentLabel"> |
|
613 |
<property name="maximum"> |
|
614 |
<number>1</number> |
|
615 |
</property> |
|
616 |
</widget> |
|
617 |
</item> |
|
618 |
<item row="17" column="1" colspan="3"> |
|
619 |
<widget class="QCheckBox" name="immediateInsertCheckBox"> |
|
620 |
<property name="text"> |
|
621 |
<string/> |
|
598 |
<widget class="QTableWidget" name="tableWidgetConnList"> |
|
599 |
<property name="maximumSize"> |
|
600 |
<size> |
|
601 |
<width>16777215</width> |
|
602 |
<height>150</height> |
|
603 |
</size> |
|
622 | 604 |
</property> |
605 |
<attribute name="verticalHeaderVisible"> |
|
606 |
<bool>false</bool> |
|
607 |
</attribute> |
|
623 | 608 |
</widget> |
624 | 609 |
</item> |
625 |
<item row="4" column="1" colspan="3"> |
|
626 |
<widget class="QSpinBox" name="rotationCountSpinBox"> |
|
627 |
<property name="minimum"> |
|
628 |
<number>0</number> |
|
629 |
</property> |
|
630 |
<property name="maximum"> |
|
631 |
<number>270</number> |
|
632 |
</property> |
|
633 |
<property name="singleStep"> |
|
634 |
<number>90</number> |
|
635 |
</property> |
|
636 |
<property name="value"> |
|
637 |
<number>0</number> |
|
610 |
<item row="14" column="3"> |
|
611 |
<widget class="QPushButton" name="pushButtonDelConnPt"> |
|
612 |
<property name="minimumSize"> |
|
613 |
<size> |
|
614 |
<width>40</width> |
|
615 |
<height>0</height> |
|
616 |
</size> |
|
638 | 617 |
</property> |
639 |
</widget> |
|
640 |
</item> |
|
641 |
<item row="7" column="3"> |
|
642 |
<widget class="QPushButton" name="delTextAreaButton"> |
|
643 | 618 |
<property name="maximumSize"> |
644 | 619 |
<size> |
645 | 620 |
<width>40</width> |
... | ... | |
655 | 630 |
</property> |
656 | 631 |
</widget> |
657 | 632 |
</item> |
658 |
<item row="4" column="0"> |
|
659 |
<widget class="QLabel" name="rotationCountLabel"> |
|
660 |
<property name="font"> |
|
661 |
<font> |
|
662 |
<weight>75</weight> |
|
663 |
<bold>true</bold> |
|
664 |
</font> |
|
665 |
</property> |
|
666 |
<property name="text"> |
|
667 |
<string>Rotation Detection Degree</string> |
|
668 |
</property> |
|
669 |
</widget> |
|
670 |
</item> |
|
671 |
<item row="7" column="0"> |
|
672 |
<widget class="QLabel" name="label_5"> |
|
633 |
<item row="1" column="0"> |
|
634 |
<widget class="QLabel" name="thresholdLabel"> |
|
673 | 635 |
<property name="font"> |
674 | 636 |
<font> |
675 | 637 |
<weight>75</weight> |
... | ... | |
677 | 639 |
</font> |
678 | 640 |
</property> |
679 | 641 |
<property name="text"> |
680 |
<string>Text Area</string> |
|
681 |
</property> |
|
682 |
</widget> |
|
683 |
</item> |
|
684 |
<item row="1" column="1" colspan="3"> |
|
685 |
<widget class="QSpinBox" name="spinBoxThreshold"> |
|
686 |
<property name="minimum"> |
|
687 |
<number>1</number> |
|
688 |
</property> |
|
689 |
<property name="maximum"> |
|
690 |
<number>100</number> |
|
691 |
</property> |
|
692 |
<property name="value"> |
|
693 |
<number>75</number> |
|
694 |
</property> |
|
695 |
</widget> |
|
696 |
</item> |
|
697 |
<item row="11" column="1"> |
|
698 |
<widget class="QLineEdit" name="originalPointLineEdit"> |
|
699 |
<property name="readOnly"> |
|
700 |
<bool>true</bool> |
|
642 |
<string>Threshold(%)</string> |
|
701 | 643 |
</property> |
702 | 644 |
</widget> |
703 | 645 |
</item> |
704 |
<item row="19" column="0">
|
|
705 |
<widget class="QLabel" name="label_3">
|
|
706 |
<property name="font">
|
|
707 |
<font>
|
|
708 |
<weight>75</weight>
|
|
709 |
<bold>true</bold>
|
|
710 |
</font>
|
|
646 |
<item row="11" column="1" colspan="3">
|
|
647 |
<widget class="QListWidget" name="additionalSymbolListWidget">
|
|
648 |
<property name="sizePolicy">
|
|
649 |
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
650 |
<horstretch>0</horstretch>
|
|
651 |
<verstretch>0</verstretch>
|
|
652 |
</sizepolicy>
|
|
711 | 653 |
</property> |
712 |
<property name="text"> |
|
713 |
<string>Change Base, Additional</string> |
|
654 |
<property name="maximumSize"> |
|
655 |
<size> |
|
656 |
<width>16777215</width> |
|
657 |
<height>150</height> |
|
658 |
</size> |
|
714 | 659 |
</property> |
715 | 660 |
</widget> |
716 | 661 |
</item> |
717 |
<item row="9" column="1" colspan="3">
|
|
662 |
<item row="10" column="1" colspan="3">
|
|
718 | 663 |
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
719 | 664 |
<item> |
720 | 665 |
<widget class="QSpinBox" name="spinBoxParent"> |
... | ... | |
761 | 706 |
</item> |
762 | 707 |
</layout> |
763 | 708 |
</item> |
764 |
<item row="5" column="1" colspan="3">
|
|
709 |
<item row="6" column="1" colspan="3">
|
|
765 | 710 |
<widget class="QCheckBox" name="isContainChildCheckBox"> |
766 | 711 |
<property name="text"> |
767 | 712 |
<string/> |
... | ... | |
771 | 716 |
</property> |
772 | 717 |
</widget> |
773 | 718 |
</item> |
774 |
<item row="10" column="1" colspan="3"> |
|
775 |
<widget class="QListWidget" name="additionalSymbolListWidget"> |
|
719 |
<item row="20" column="1" colspan="3"> |
|
720 |
<widget class="QCheckBox" name="checkBoxChange"> |
|
721 |
<property name="text"> |
|
722 |
<string/> |
|
723 |
</property> |
|
724 |
</widget> |
|
725 |
</item> |
|
726 |
<item row="12" column="0"> |
|
727 |
<widget class="QLabel" name="originalPointLabel"> |
|
776 | 728 |
<property name="sizePolicy"> |
777 |
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
729 |
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
778 | 730 |
<horstretch>0</horstretch> |
779 | 731 |
<verstretch>0</verstretch> |
780 | 732 |
</sizepolicy> |
781 | 733 |
</property> |
782 |
<property name="maximumSize"> |
|
783 |
<size> |
|
784 |
<width>16777215</width> |
|
785 |
<height>150</height> |
|
786 |
</size> |
|
734 |
<property name="font"> |
|
735 |
<font> |
|
736 |
<weight>75</weight> |
|
737 |
<bold>true</bold> |
|
738 |
</font> |
|
739 |
</property> |
|
740 |
<property name="text"> |
|
741 |
<string>Original Point</string> |
|
742 |
</property> |
|
743 |
<property name="alignment"> |
|
744 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
|
787 | 745 |
</property> |
788 | 746 |
</widget> |
789 | 747 |
</item> |
790 |
<item row="14" column="1" colspan="3"> |
|
791 |
<widget class="QTableWidget" name="tableWidgetConnList"> |
|
792 |
<property name="maximumSize"> |
|
793 |
<size> |
|
794 |
<width>16777215</width> |
|
795 |
<height>150</height> |
|
796 |
</size> |
|
748 |
<item row="17" column="0"> |
|
749 |
<widget class="QLabel" name="isExceptDetectLabel"> |
|
750 |
<property name="font"> |
|
751 |
<font> |
|
752 |
<weight>75</weight> |
|
753 |
<bold>true</bold> |
|
754 |
</font> |
|
755 |
</property> |
|
756 |
<property name="text"> |
|
757 |
<string>Exclude</string> |
|
797 | 758 |
</property> |
798 |
<attribute name="verticalHeaderVisible"> |
|
799 |
<bool>false</bool> |
|
800 |
</attribute> |
|
801 | 759 |
</widget> |
802 | 760 |
</item> |
803 |
<item row="19" column="1" colspan="3">
|
|
804 |
<widget class="QCheckBox" name="checkBoxChange">
|
|
761 |
<item row="17" column="1" colspan="3">
|
|
762 |
<widget class="QCheckBox" name="isExceptDetectCheckBox">
|
|
805 | 763 |
<property name="text"> |
806 | 764 |
<string/> |
807 | 765 |
</property> |
808 | 766 |
</widget> |
809 | 767 |
</item> |
810 |
<item row="5" column="0"> |
|
811 |
<widget class="QLabel" name="isContainChildLabel"> |
|
768 |
<item row="1" column="1" colspan="3"> |
|
769 |
<widget class="QSpinBox" name="spinBoxThreshold"> |
|
770 |
<property name="minimum"> |
|
771 |
<number>1</number> |
|
772 |
</property> |
|
773 |
<property name="maximum"> |
|
774 |
<number>100</number> |
|
775 |
</property> |
|
776 |
<property name="value"> |
|
777 |
<number>75</number> |
|
778 |
</property> |
|
779 |
</widget> |
|
780 |
</item> |
|
781 |
<item row="8" column="0"> |
|
782 |
<widget class="QLabel" name="label_5"> |
|
812 | 783 |
<property name="font"> |
813 | 784 |
<font> |
814 | 785 |
<weight>75</weight> |
... | ... | |
816 | 787 |
</font> |
817 | 788 |
</property> |
818 | 789 |
<property name="text"> |
819 |
<string>Include Child Symbol</string>
|
|
790 |
<string>Text Area</string>
|
|
820 | 791 |
</property> |
821 | 792 |
</widget> |
822 | 793 |
</item> |
823 |
<item row="11" column="0"> |
|
824 |
<widget class="QLabel" name="originalPointLabel"> |
|
825 |
<property name="sizePolicy"> |
|
826 |
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
|
827 |
<horstretch>0</horstretch> |
|
828 |
<verstretch>0</verstretch> |
|
829 |
</sizepolicy> |
|
794 |
<item row="12" column="1"> |
|
795 |
<widget class="QLineEdit" name="originalPointLineEdit"> |
|
796 |
<property name="readOnly"> |
|
797 |
<bool>true</bool> |
|
830 | 798 |
</property> |
799 |
</widget> |
|
800 |
</item> |
|
801 |
<item row="20" column="0"> |
|
802 |
<widget class="QLabel" name="label_3"> |
|
831 | 803 |
<property name="font"> |
832 | 804 |
<font> |
833 | 805 |
<weight>75</weight> |
... | ... | |
835 | 807 |
</font> |
836 | 808 |
</property> |
837 | 809 |
<property name="text"> |
838 |
<string>Original Point</string> |
|
839 |
</property> |
|
840 |
<property name="alignment"> |
|
841 |
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> |
|
810 |
<string>Change Base, Additional</string> |
|
842 | 811 |
</property> |
843 | 812 |
</widget> |
844 | 813 |
</item> |
845 |
<item row="13" column="3"> |
|
846 |
<widget class="QPushButton" name="pushButtonDelConnPt"> |
|
847 |
<property name="minimumSize"> |
|
848 |
<size> |
|
849 |
<width>40</width> |
|
850 |
<height>0</height> |
|
851 |
</size> |
|
852 |
</property> |
|
814 |
<item row="8" column="3"> |
|
815 |
<widget class="QPushButton" name="delTextAreaButton"> |
|
853 | 816 |
<property name="maximumSize"> |
854 | 817 |
<size> |
855 | 818 |
<width>40</width> |
... | ... | |
865 | 828 |
</property> |
866 | 829 |
</widget> |
867 | 830 |
</item> |
868 |
<item row="1" column="0"> |
|
869 |
<widget class="QLabel" name="thresholdLabel"> |
|
870 |
<property name="font"> |
|
871 |
<font> |
|
872 |
<weight>75</weight> |
|
873 |
<bold>true</bold> |
|
874 |
</font> |
|
831 |
<item row="19" column="1" colspan="3"> |
|
832 |
<widget class="QCheckBox" name="makeFlipCheckBox"> |
|
833 |
<property name="text"> |
|
834 |
<string/> |
|
875 | 835 |
</property> |
836 |
</widget> |
|
837 |
</item> |
|
838 |
<item row="18" column="1" colspan="3"> |
|
839 |
<widget class="QCheckBox" name="immediateInsertCheckBox"> |
|
876 | 840 |
<property name="text"> |
877 |
<string>Threshold(%)</string>
|
|
841 |
<string/>
|
|
878 | 842 |
</property> |
879 | 843 |
</widget> |
880 | 844 |
</item> |
881 |
<item row="18" column="0">
|
|
882 |
<widget class="QLabel" name="makeFlipLabel">
|
|
845 |
<item row="5" column="0">
|
|
846 |
<widget class="QLabel" name="rotationCountLabel">
|
|
883 | 847 |
<property name="font"> |
884 | 848 |
<font> |
885 | 849 |
<weight>75</weight> |
... | ... | |
887 | 851 |
</font> |
888 | 852 |
</property> |
889 | 853 |
<property name="text"> |
890 |
<string>Detect Flip</string>
|
|
854 |
<string>Rotation Detection Degree</string>
|
|
891 | 855 |
</property> |
892 | 856 |
</widget> |
893 | 857 |
</item> |
894 |
<item row="9" column="0"> |
|
895 |
<widget class="QLabel" name="additionalSymbolLabel"> |
|
858 |
<item row="16" column="1" colspan="3"> |
|
859 |
<widget class="QSpinBox" name="spinBoxhasInstrumentLabel"> |
|
860 |
<property name="maximum"> |
|
861 |
<number>1</number> |
|
862 |
</property> |
|
863 |
</widget> |
|
864 |
</item> |
|
865 |
<item row="5" column="1" colspan="3"> |
|
866 |
<widget class="QSpinBox" name="rotationCountSpinBox"> |
|
867 |
<property name="minimum"> |
|
868 |
<number>0</number> |
|
869 |
</property> |
|
870 |
<property name="maximum"> |
|
871 |
<number>270</number> |
|
872 |
</property> |
|
873 |
<property name="singleStep"> |
|
874 |
<number>90</number> |
|
875 |
</property> |
|
876 |
<property name="value"> |
|
877 |
<number>0</number> |
|
878 |
</property> |
|
879 |
</widget> |
|
880 |
</item> |
|
881 |
<item row="13" column="0"> |
|
882 |
<widget class="QLabel" name="label_6"> |
|
896 | 883 |
<property name="font"> |
897 | 884 |
<font> |
898 | 885 |
<weight>75</weight> |
... | ... | |
900 | 887 |
</font> |
901 | 888 |
</property> |
902 | 889 |
<property name="text"> |
903 |
<string>Addition Symbol</string>
|
|
890 |
<string>Converting Point</string>
|
|
904 | 891 |
</property> |
905 | 892 |
</widget> |
906 | 893 |
</item> |
907 | 894 |
<item row="13" column="2"> |
908 |
<widget class="QPushButton" name="addConnectionPointButton"> |
|
909 |
<property name="minimumSize"> |
|
910 |
<size> |
|
911 |
<width>40</width> |
|
912 |
<height>0</height> |
|
913 |
</size> |
|
914 |
</property> |
|
895 |
<widget class="QPushButton" name="pushButtonConvertingPointAdd"> |
|
915 | 896 |
<property name="maximumSize"> |
916 | 897 |
<size> |
917 | 898 |
<width>40</width> |
... | ... | |
927 | 908 |
</property> |
928 | 909 |
</widget> |
929 | 910 |
</item> |
930 |
<item row="7" column="2">
|
|
911 |
<item row="8" column="2">
|
|
931 | 912 |
<widget class="QPushButton" name="addTextAreaButton"> |
932 | 913 |
<property name="maximumSize"> |
933 | 914 |
<size> |
... | ... | |
944 | 925 |
</property> |
945 | 926 |
</widget> |
946 | 927 |
</item> |
947 |
<item row="20" column="0">
|
|
948 |
<widget class="QLabel" name="label_4">
|
|
928 |
<item row="19" column="0">
|
|
929 |
<widget class="QLabel" name="makeFlipLabel">
|
|
949 | 930 |
<property name="font"> |
950 | 931 |
<font> |
951 | 932 |
<weight>75</weight> |
... | ... | |
953 | 934 |
</font> |
954 | 935 |
</property> |
955 | 936 |
<property name="text"> |
956 |
<string>Symbol Info on Drawing</string>
|
|
937 |
<string>Detect Flip</string>
|
|
957 | 938 |
</property> |
958 | 939 |
</widget> |
959 | 940 |
</item> |
960 |
<item row="3" column="1" colspan="3"> |
|
961 |
<widget class="QLineEdit" name="minMatchPointLineEdit"> |
|
962 |
<property name="enabled"> |
|
963 |
<bool>false</bool> |
|
941 |
<item row="4" column="0"> |
|
942 |
<widget class="QLabel" name="minMatchPointLabel"> |
|
943 |
<property name="font"> |
|
944 |
<font> |
|
945 |
<weight>75</weight> |
|
946 |
<bold>true</bold> |
|
947 |
</font> |
|
948 |
</property> |
|
949 |
<property name="text"> |
|
950 |
<string>Min Feature Count</string> |
|
964 | 951 |
</property> |
965 | 952 |
</widget> |
966 | 953 |
</item> |
967 |
<item row="0" column="0">
|
|
968 |
<widget class="QLabel" name="nameLabel">
|
|
954 |
<item row="21" column="0">
|
|
955 |
<widget class="QLabel" name="label_4">
|
|
969 | 956 |
<property name="font"> |
970 | 957 |
<font> |
971 | 958 |
<weight>75</weight> |
... | ... | |
973 | 960 |
</font> |
974 | 961 |
</property> |
975 | 962 |
<property name="text"> |
976 |
<string>Symbol Name</string>
|
|
963 |
<string>Symbol Info on Drawing</string>
|
|
977 | 964 |
</property> |
978 | 965 |
</widget> |
979 | 966 |
</item> |
980 |
<item row="13" column="1">
|
|
967 |
<item row="14" column="1">
|
|
981 | 968 |
<widget class="QLineEdit" name="connectionPointLineEdit"> |
982 | 969 |
<property name="readOnly"> |
983 | 970 |
<bool>true</bool> |
984 | 971 |
</property> |
985 | 972 |
</widget> |
986 | 973 |
</item> |
987 |
<item row="0" column="1" colspan="3"> |
|
988 |
<widget class="QLineEdit" name="nameLineEdit"/> |
|
974 |
<item row="4" column="1" colspan="3"> |
|
975 |
<widget class="QLineEdit" name="minMatchPointLineEdit"> |
|
976 |
<property name="enabled"> |
|
977 |
<bool>false</bool> |
|
978 |
</property> |
|
979 |
</widget> |
|
989 | 980 |
</item> |
990 |
<item row="3" column="0"> |
|
991 |
<widget class="QLabel" name="minMatchPointLabel"> |
|
981 |
<item row="9" column="1" colspan="3"> |
|
982 |
<widget class="QTableWidget" name="textAreaTableWidget"/> |
|
983 |
</item> |
|
984 |
<item row="21" column="1" colspan="3"> |
|
985 |
<widget class="QPushButton" name="pushButtonChange"> |
|
986 |
<property name="text"> |
|
987 |
<string>Change Item on Drawing without DB Update</string> |
|
988 |
</property> |
|
989 |
</widget> |
|
990 |
</item> |
|
991 |
<item row="0" column="0"> |
|
992 |
<widget class="QLabel" name="nameLabel"> |
|
992 | 993 |
<property name="font"> |
993 | 994 |
<font> |
994 | 995 |
<weight>75</weight> |
... | ... | |
996 | 997 |
</font> |
997 | 998 |
</property> |
998 | 999 |
<property name="text"> |
999 |
<string>Min Feature Count</string>
|
|
1000 |
<string>Symbol Name</string>
|
|
1000 | 1001 |
</property> |
1001 | 1002 |
</widget> |
1002 | 1003 |
</item> |
1003 |
<item row="17" column="0">
|
|
1004 |
<item row="18" column="0">
|
|
1004 | 1005 |
<widget class="QLabel" name="immediateInsertLabel"> |
1005 | 1006 |
<property name="font"> |
1006 | 1007 |
<font> |
... | ... | |
1013 | 1014 |
</property> |
1014 | 1015 |
</widget> |
1015 | 1016 |
</item> |
1016 |
<item row="20" column="1" colspan="3"> |
|
1017 |
<widget class="QPushButton" name="pushButtonChange"> |
|
1017 |
<item row="10" column="0"> |
|
1018 |
<widget class="QLabel" name="additionalSymbolLabel"> |
|
1019 |
<property name="font"> |
|
1020 |
<font> |
|
1021 |
<weight>75</weight> |
|
1022 |
<bold>true</bold> |
|
1023 |
</font> |
|
1024 |
</property> |
|
1018 | 1025 |
<property name="text"> |
1019 |
<string>Change Item on Drawing without DB Update</string>
|
|
1026 |
<string>Addition Symbol</string>
|
|
1020 | 1027 |
</property> |
1021 | 1028 |
</widget> |
1022 | 1029 |
</item> |
1023 |
<item row="8" column="1" colspan="3">
|
|
1024 |
<widget class="QTableWidget" name="textAreaTableWidget"/>
|
|
1030 |
<item row="0" column="1" colspan="3">
|
|
1031 |
<widget class="QLineEdit" name="nameLineEdit"/>
|
|
1025 | 1032 |
</item> |
1026 |
<item row="12" column="1"> |
|
1027 |
<widget class="QLineEdit" name="lineEditConvertingPoint"> |
|
1028 |
<property name="readOnly"> |
|
1029 |
<bool>true</bool> |
|
1033 |
<item row="14" column="2"> |
|
1034 |
<widget class="QPushButton" name="addConnectionPointButton"> |
|
1035 |
<property name="minimumSize"> |
|
1036 |
<size> |
|
1037 |
<width>40</width> |
|
1038 |
<height>0</height> |
|
1039 |
</size> |
|
1030 | 1040 |
</property> |
1031 |
</widget> |
|
1032 |
</item> |
|
1033 |
<item row="12" column="2"> |
|
1034 |
<widget class="QPushButton" name="pushButtonConvertingPointAdd"> |
|
1035 | 1041 |
<property name="maximumSize"> |
1036 | 1042 |
<size> |
1037 | 1043 |
<width>40</width> |
... | ... | |
1047 | 1053 |
</property> |
1048 | 1054 |
</widget> |
1049 | 1055 |
</item> |
1050 |
<item row="12" column="0"> |
|
1051 |
<widget class="QLabel" name="label_6"> |
|
1052 |
<property name="font"> |
|
1053 |
<font> |
|
1054 |
<weight>75</weight> |
|
1055 |
<bold>true</bold> |
|
1056 |
</font> |
|
1057 |
</property> |
|
1058 |
<property name="text"> |
|
1059 |
<string>Converting Point</string> |
|
1056 |
<item row="13" column="1"> |
|
1057 |
<widget class="QLineEdit" name="lineEditConvertingPoint"> |
|
1058 |
<property name="readOnly"> |
|
1059 |
<bool>true</bool> |
|
1060 | 1060 |
</property> |
1061 | 1061 |
</widget> |
1062 | 1062 |
</item> |
1063 |
<item row="6" column="0" colspan="4"> |
|
1064 |
<widget class="QGroupBox" name="groupBox"> |
|
1065 |
<property name="font"> |
|
1066 |
<font> |
|
1067 |
<weight>75</weight> |
|
1068 |
<bold>true</bold> |
|
1069 |
</font> |
|
1070 |
</property> |
|
1071 |
<property name="title"> |
|
1072 |
<string>Base Symbol</string> |
|
1073 |
</property> |
|
1074 |
<layout class="QGridLayout" name="gridLayout_8"> |
|
1075 |
<item row="1" column="0"> |
|
1076 |
<widget class="QTreeView" name="treeViewSymbolCategory"/> |
|
1077 |
</item> |
|
1078 |
<item row="0" column="0"> |
|
1079 |
<widget class="QLineEdit" name="lineEditFilter"> |
|
1080 |
<property name="placeholderText"> |
|
1081 |
<string>Search...</string> |
|
1082 |
</property> |
|
1083 |
</widget> |
|
1084 |
</item> |
|
1085 |
</layout> |
|
1086 |
</widget> |
|
1087 |
</item> |
|
1088 |
<item row="12" column="3"> |
|
1063 |
<item row="13" column="3"> |
|
1089 | 1064 |
<widget class="QPushButton" name="pushButtonConvertingPointDelete"> |
1090 | 1065 |
<property name="maximumSize"> |
1091 | 1066 |
<size> |
... | ... | |
1102 | 1077 |
</property> |
1103 | 1078 |
</widget> |
1104 | 1079 |
</item> |
1105 |
<item row="11" column="2">
|
|
1080 |
<item row="12" column="2">
|
|
1106 | 1081 |
<widget class="QPushButton" name="addOriginalPointButton"> |
1107 | 1082 |
<property name="maximumSize"> |
1108 | 1083 |
<size> |
... | ... | |
1119 | 1094 |
</property> |
1120 | 1095 |
</widget> |
1121 | 1096 |
</item> |
1122 |
<item row="13" column="0">
|
|
1097 |
<item row="14" column="0">
|
|
1123 | 1098 |
<widget class="QLabel" name="connectionPointLabel"> |
1124 | 1099 |
<property name="font"> |
1125 | 1100 |
<font> |
... | ... | |
1135 | 1110 |
</property> |
1136 | 1111 |
</widget> |
1137 | 1112 |
</item> |
1138 |
<item row="15" column="0"> |
|
1113 |
<item row="8" column="1"> |
|
1114 |
<widget class="QLineEdit" name="textAreaLineEdit"/> |
|
1115 |
</item> |
|
1116 |
<item row="2" column="0"> |
|
1117 |
<widget class="QLabel" name="label_7"> |
|
1118 |
<property name="font"> |
|
1119 |
<font> |
|
1120 |
<weight>75</weight> |
|
1121 |
<bold>true</bold> |
|
1122 |
</font> |
|
1123 |
</property> |
|
1124 |
<property name="text"> |
|
1125 |
<string>Description</string> |
|
1126 |
</property> |
|
1127 |
</widget> |
|
1128 |
</item> |
|
1129 |
<item row="2" column="1" colspan="3"> |
|
1130 |
<widget class="QLineEdit" name="lineEditDesc"/> |
|
1131 |
</item> |
|
1132 |
<item row="16" column="0"> |
|
1139 | 1133 |
<widget class="QLabel" name="hasInstrumentLabel"> |
1140 | 1134 |
<property name="font"> |
1141 | 1135 |
<font> |
... | ... | |
1148 | 1142 |
</property> |
1149 | 1143 |
</widget> |
1150 | 1144 |
</item> |
1151 |
<item row="7" column="1"> |
|
1152 |
<widget class="QLineEdit" name="textAreaLineEdit"/> |
|
1145 |
<item row="7" column="0" colspan="4"> |
|
1146 |
<widget class="QGroupBox" name="groupBox"> |
|
1147 |
<property name="font"> |
|
1148 |
<font> |
|
1149 |
<weight>75</weight> |
|
1150 |
<bold>true</bold> |
|
1151 |
</font> |
|
1152 |
</property> |
|
1153 |
<property name="title"> |
|
1154 |
<string>Base Symbol</string> |
|
1155 |
</property> |
|
1156 |
<layout class="QGridLayout" name="gridLayout_8"> |
|
1157 |
<item row="1" column="0"> |
|
1158 |
<widget class="QTreeView" name="treeViewSymbolCategory"/> |
|
1159 |
</item> |
|
1160 |
<item row="0" column="0"> |
|
1161 |
<widget class="QLineEdit" name="lineEditFilter"> |
|
1162 |
<property name="placeholderText"> |
|
1163 |
<string>Search...</string> |
|
1164 |
</property> |
|
1165 |
</widget> |
|
1166 |
</item> |
|
1167 |
</layout> |
|
1168 |
</widget> |
|
1153 | 1169 |
</item> |
1154 |
<item row="2" column="0">
|
|
1155 |
<widget class="QLabel" name="label_7">
|
|
1170 |
<item row="3" column="0">
|
|
1171 |
<widget class="QLabel" name="label_8">
|
|
1156 | 1172 |
<property name="font"> |
1157 | 1173 |
<font> |
1158 | 1174 |
<weight>75</weight> |
... | ... | |
1160 | 1176 |
</font> |
1161 | 1177 |
</property> |
1162 | 1178 |
<property name="text"> |
1163 |
<string>Description</string>
|
|
1179 |
<string>Infomaiton</string>
|
|
1164 | 1180 |
</property> |
1165 | 1181 |
</widget> |
1166 | 1182 |
</item> |
1167 |
<item row="2" column="1" colspan="3">
|
|
1168 |
<widget class="QLineEdit" name="lineEditDesc"/>
|
|
1183 |
<item row="3" column="1" colspan="3">
|
|
1184 |
<widget class="QLineEdit" name="lineEditInfo"/>
|
|
1169 | 1185 |
</item> |
1170 | 1186 |
</layout> |
1171 | 1187 |
</item> |
내보내기 Unified diff