개정판 a29cc34e
add symbol desc
Change-Id: Ib00ff5eda72f75fe5110cce45e91b163d3b06e65
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
545 | 545 |
with self.project.database.connect() as conn: |
546 | 546 |
try: |
547 | 547 |
sql = self.project.database.to_sql(""" |
548 |
INSERT INTO Symbol(name, SymbolType_UID, threshold, minMatchPoint, isDetectOrigin, rotationCount, ocrOption, isContainChild, originalPoint, connectionPoint, baseSymbol, additionalSymbol, isExceptDetect, hasInstrumentLabel, width, height, flip, TextArea) |
|
549 |
VALUES(?, (select UID from SymbolType where Type=?), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); |
|
548 |
INSERT INTO Symbol(name, SymbolType_UID, threshold, minMatchPoint, isDetectOrigin, rotationCount, ocrOption, isContainChild, originalPoint, connectionPoint, baseSymbol, additionalSymbol, isExceptDetect, hasInstrumentLabel, width, height, flip, TextArea, type)
|
|
549 |
VALUES(?, (select UID from SymbolType where Type=?), ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?);
|
|
550 | 550 |
""") |
551 | 551 |
|
552 | 552 |
cursor = conn.cursor() |
... | ... | |
556 | 556 |
, symbol.getOriginalConvertingPoint(), symbol.getConnectionPoint() |
557 | 557 |
, symbol.getBaseSymbol(), symbol.getAdditionalSymbol(), symbol.getIsExceptDetect(), |
558 | 558 |
symbol.getHasInstrumentLabel() |
559 |
, symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str) |
|
559 |
, symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, symbol.getDesc())
|
|
560 | 560 |
cursor.execute(sql, query) |
561 | 561 |
conn.commit() |
562 | 562 |
isAdded = True |
... | ... | |
588 | 588 |
name = ?, SymbolType_UID=(select UID from SymbolType where Type=?), threshold=?, |
589 | 589 |
minMatchPoint=?, isDetectOrigin=?, rotationCount=?, ocrOption=?, isContainChild=?, |
590 | 590 |
originalPoint=?, connectionPoint=?, baseSymbol=?, additionalSymbol=?, isExceptDetect=?, |
591 |
hasInstrumentLabel=?, width=?, height=?, flip=?, TextArea=? WHERE uid = ? |
|
591 |
hasInstrumentLabel=?, width=?, height=?, flip=?, TextArea=?, type=? WHERE uid = ?
|
|
592 | 592 |
""") |
593 | 593 |
|
594 | 594 |
cursor = conn.cursor() |
... | ... | |
597 | 597 |
, symbol.getOcrOption(), symbol.getIsContainChild() |
598 | 598 |
, symbol.getOriginalConvertingPoint(), symbol.getConnectionPoint() |
599 | 599 |
, symbol.getBaseSymbol(), symbol.getAdditionalSymbol(), symbol.getIsExceptDetect(), |
600 |
symbol.getHasInstrumentLabel(), symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, |
|
600 |
symbol.getHasInstrumentLabel(), symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, symbol.getDesc(),
|
|
601 | 601 |
symbol.getUid()) |
602 | 602 |
cursor.execute(sql, query) |
603 | 603 |
conn.commit() |
... | ... | |
675 | 675 |
if not all: |
676 | 676 |
sql = """SELECT a.UID,a.Name,b.Type,a.Threshold,a.MinMatchPoint,a.IsDetectOrigin,a.RotationCount, |
677 | 677 |
a.OCROption,a.IsContainChild,a.OriginalPoint,a.ConnectionPoint,a.BaseSymbol,a.AdditionalSymbol,a.Width,a.Height, |
678 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID FROM Symbol a inner join SymbolType b on |
|
678 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID,a.Type as Desc FROM Symbol a inner join SymbolType b on
|
|
679 | 679 |
a.SymbolType_UID=b.UID WHERE a.IsExceptDetect = 0 and a.[SymbolType_UID] != -1 order by width * height desc""" |
680 | 680 |
else: |
681 | 681 |
sql = """SELECT a.UID,a.Name,b.Type,a.Threshold,a.MinMatchPoint,a.IsDetectOrigin,a.RotationCount, |
682 | 682 |
a.OCROption,a.IsContainChild,a.OriginalPoint,a.ConnectionPoint,a.BaseSymbol,a.AdditionalSymbol,a.Width,a.Height, |
683 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID FROM Symbol a inner join SymbolType b on |
|
683 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID,a.Type as Desc FROM Symbol a inner join SymbolType b on
|
|
684 | 684 |
a.SymbolType_UID=b.UID WHERE a.[SymbolType_UID] != -1 order by width * height desc""" |
685 | 685 |
try: |
686 | 686 |
cursor.execute(sql) |
... | ... | |
694 | 694 |
row['AdditionalSymbol'], row['IsExceptDetect'], |
695 | 695 |
row['HasInstrumentLabel'], row['UID'], |
696 | 696 |
iType=row['DB_UID'], width=row['Width'], height=row['Height'], |
697 |
detectFlip=row['flip'], text_area=row['TextArea']) |
|
697 |
detectFlip=row['flip'], text_area=row['TextArea'], desc=row['Desc'])
|
|
698 | 698 |
targetSymbolList.append(sym) |
699 | 699 |
except Exception as ex: |
700 | 700 |
print('error occurred({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, |
... | ... | |
1780 | 1780 |
sql = self.project.database.to_sql(f"SELECT a.UID as UID,a.Name,b.Type,a.Threshold,a.MinMatchPoint," |
1781 | 1781 |
f"a.IsDetectOrigin,a.RotationCount,a.OCROption,a.IsContainChild," |
1782 | 1782 |
f"a.OriginalPoint,a.ConnectionPoint,a.BaseSymbol,a.AdditionalSymbol," |
1783 |
f"a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID FROM " |
|
1783 |
f"a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID,a.Type as Desc FROM "
|
|
1784 | 1784 |
f"Symbol a inner join SymbolType b on a.SymbolType_UID=b.UID WHERE " |
1785 | 1785 |
f"a.{fieldName}=?") |
1786 | 1786 |
try: |
... | ... | |
1796 | 1796 |
symbolTuple['AdditionalSymbol'], symbolTuple['IsExceptDetect'], |
1797 | 1797 |
symbolTuple['HasInstrumentLabel'], symbolTuple['UID'], |
1798 | 1798 |
iType=symbolTuple['DB_UID'], detectFlip=symbolTuple['flip'], |
1799 |
text_area=symbolTuple['TextArea']) |
|
1799 |
text_area=symbolTuple['TextArea'], desc=symbolTuple['Desc'])
|
|
1800 | 1800 |
self._symbolBase[fieldName][param] = ret |
1801 | 1801 |
except Exception as ex: |
1802 | 1802 |
from App import App |
... | ... | |
1818 | 1818 |
if field_name is not None and param is not None: |
1819 | 1819 |
sql = """SELECT a.UID,a.Name,b.Type,a.Threshold,a.MinMatchPoint,a.IsDetectOrigin,a.RotationCount, |
1820 | 1820 |
a.OCROption,a.IsContainChild,a.OriginalPoint,a.ConnectionPoint,a.BaseSymbol,a.AdditionalSymbol,a.Width,a.Height, |
1821 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID FROM Symbol a |
|
1821 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID,a.Type as Desc FROM Symbol a
|
|
1822 | 1822 |
inner join SymbolType b on a.SymbolType_UID=b.UID WHERE |
1823 | 1823 |
SymbolType_UID = (select UID from SymbolType where {}={})""".format( |
1824 | 1824 |
field_name, self.project.database.place_holder) |
1825 | 1825 |
else: |
1826 | 1826 |
sql = """SELECT a.UID,a.Name,b.Type,a.Threshold,a.MinMatchPoint,a.IsDetectOrigin,a.RotationCount, |
1827 | 1827 |
a.OCROption,a.IsContainChild,a.OriginalPoint,a.ConnectionPoint,a.BaseSymbol,a.AdditionalSymbol,a.Width,a.Height, |
1828 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID FROM Symbol a |
|
1828 |
a.IsExceptDetect,a.HasInstrumentLabel,a.flip,a.TextArea,b.UID as DB_UID,a.Type as Desc FROM Symbol a
|
|
1829 | 1829 |
inner join SymbolType b on a.SymbolType_UID=b.UID""" |
1830 | 1830 |
try: |
1831 | 1831 |
cursor.execute(sql, (param,)) if param is not None else cursor.execute(sql) |
... | ... | |
1840 | 1840 |
symbolTuple['AdditionalSymbol'], symbolTuple['IsExceptDetect'], |
1841 | 1841 |
symbolTuple['HasInstrumentLabel'], symbolTuple['UID'], |
1842 | 1842 |
iType=symbolTuple['DB_UID'],width=symbolTuple['Width'], height=symbolTuple['Height'], |
1843 |
detectFlip=symbolTuple['flip'], text_area=symbolTuple['TextArea']) |
|
1843 |
detectFlip=symbolTuple['flip'], text_area=symbolTuple['TextArea'], desc=symbolTuple['Desc'])
|
|
1844 | 1844 |
ret.append(sym) |
1845 | 1845 |
|
1846 | 1846 |
# update cache |
DTI_PID/DTI_PID/Shapes/EngineeringConnectorItem.py | ||
---|---|---|
588 | 588 |
#connectPointStr = node.find('CONNECTPOINT').text.split(',') |
589 | 589 |
#sceneConnectPointStr = node.find('SCENECONNECTPOINT').text.split(',') |
590 | 590 |
|
591 |
self._connectedItem = uuid.UUID(connectedItemStr) if connectedItemStr != 'None' else None |
|
591 |
self._connectedItem = uuid.UUID(connectedItemStr) if connectedItemStr and connectedItemStr != 'None' else None
|
|
592 | 592 |
#self.connectPoint = (float(connectPointStr[0]), float(connectPointStr[1])) |
593 | 593 |
# self.sceneConnectPoint = (float(sceneConnectPointStr[0]), float(sceneConnectPointStr[1])) 2020.2.8 |
594 | 594 |
|
DTI_PID/DTI_PID/Shapes/EngineeringLineItem.py | ||
---|---|---|
1726 | 1726 |
# up to here |
1727 | 1727 |
|
1728 | 1728 |
thicknessNode = node.find('THICKNESS') |
1729 |
item.thickness = int( |
|
1730 |
thicknessNode.text) if thicknessNode is not None and thicknessNode.text != 'None' else None |
|
1729 |
item.thickness = int(thicknessNode.text) if thicknessNode is not None and thicknessNode.text and thicknessNode.text != 'None' else None |
|
1731 | 1730 |
|
1732 | 1731 |
flowMarkNode = node.find('FLOWMARK') |
1733 |
item.flowMark = int(flowMarkNode.text) if flowMarkNode is not None and flowMarkNode.text != 'None' else None |
|
1732 |
item.flowMark = int(flowMarkNode.text) if flowMarkNode is not None and flowMarkNode.text and flowMarkNode.text != 'None' else None
|
|
1734 | 1733 |
|
1735 | 1734 |
connectors = node.find('CONNECTORS') |
1736 | 1735 |
if connectors is not None: |
DTI_PID/DTI_PID/Shapes/EngineeringTextItem.py | ||
---|---|---|
846 | 846 |
width = 10 |
847 | 847 |
angle = float(node.find('ANGLE').text) if node.find('ANGLE') is not None else 0 |
848 | 848 |
value = node.find('VALUE').text |
849 |
if len(value.replace('\n', '').replace(' ', '')) == 0: |
|
849 |
if not value or len(value.replace('\n', '').replace(' ', '')) == 0:
|
|
850 | 850 |
return None |
851 | 851 |
# attributeValue = node.find('ATTRIBUTEVALUE') |
852 | 852 |
name = node.find('NAME').text |
DTI_PID/DTI_PID/SymbolBase.py | ||
---|---|---|
9 | 9 |
def __init__(self, sName, sType, threshold = None, minMatchCount = 0 |
10 | 10 |
, isDetectOnOrigin = False, rotationCount = 4, ocrOption = OCR_OPTION_NOT_EXEC, isContainChild = 0 |
11 | 11 |
, originalPoint = None, connectionPoint = None, baseSymbol = None, additionalSymbol = None |
12 |
, isExceptDetect = 0, hasInstrumentLabel = 0, uid = None, width = None, height = None, iType = -2, detectFlip = None, text_area=None): |
|
12 |
, isExceptDetect = 0, hasInstrumentLabel = 0, uid = None, width = None, height = None, iType = -2, detectFlip = None, text_area=None, desc=None):
|
|
13 | 13 |
self.uid = uid ## Auto increased Unique Id |
14 | 14 |
self.sName = sName |
15 | 15 |
self.sType = sType |
... | ... | |
31 | 31 |
self._owner = None |
32 | 32 |
self.width = width |
33 | 33 |
self.height = height |
34 |
self.desc = desc if desc else '' |
|
34 | 35 |
|
35 | 36 |
self.text_area = None |
36 | 37 |
if type(text_area) is str and text_area: |
... | ... | |
71 | 72 |
def getType(self): |
72 | 73 |
return self.sType |
73 | 74 |
|
75 |
def getDesc(self): |
|
76 |
return self.desc |
|
77 |
|
|
74 | 78 |
''' |
75 | 79 |
@brief getter of owner |
76 | 80 |
@author humkyung |
DTI_PID/DTI_PID/SymbolEditorDialog.py | ||
---|---|---|
157 | 157 |
self.ui.checkBoxChange.setHidden(True) |
158 | 158 |
self.ui.pushButtonChange.setHidden(True) |
159 | 159 |
|
160 |
self.ui.minMatchPointLabel.setHidden(True) |
|
161 |
self.ui.minMatchPointLineEdit.setHidden(True) |
|
162 |
|
|
160 | 163 |
self.zoomInitToolClickEvent(None) |
161 | 164 |
except Exception as ex: |
162 | 165 |
from App import App |
... | ... | |
448 | 451 |
|
449 | 452 |
self.ui.nameLineEdit.setText(self.selectedSymbol.getName()) |
450 | 453 |
self.ui.spinBoxThreshold.setValue(round(self.selectedSymbol.getThreshold() * 100)) |
454 |
self.ui.lineEditDesc.setText(self.selectedSymbol.getDesc()) |
|
451 | 455 |
self.ui.minMatchPointLineEdit.setText(str(self.selectedSymbol.getMinMatchCount())) |
452 | 456 |
self.ui.rotationCountSpinBox.setValue(self.selectedSymbol.getRotationCount() * 90) |
453 | 457 |
self.ui.isContainChildCheckBox.setChecked(True if self.selectedSymbol.getIsContainChild() else False) |
... | ... | |
710 | 714 |
else: |
711 | 715 |
fileName = self.makeFileName(category, name, name) |
712 | 716 |
threshold = str(self.ui.spinBoxThreshold.value()) |
717 |
desc = self.ui.lineEditDesc.text() |
|
713 | 718 |
minMatchPoint = self.ui.minMatchPointLineEdit.text() |
714 | 719 |
rotationCount = int(self.ui.rotationCountSpinBox.value() / 90) |
715 | 720 |
ocrOption = 0 |
... | ... | |
740 | 745 |
self.newSym = symbol.SymbolBase(fileName, category, convertedThreshold, int(minMatchPoint), True, |
741 | 746 |
rotationCount, ocrOption, isContainChild, originalPoint, connectionPoint, |
742 | 747 |
baseSymbol, additionalSymbol, isExceptDetect, hasInstrumentLabel, uid, |
743 |
imageWidth, iamgeHeight, detectFlip=detectFlip, text_area=text_areas) |
|
748 |
imageWidth, iamgeHeight, detectFlip=detectFlip, text_area=text_areas, desc=desc)
|
|
744 | 749 |
|
745 | 750 |
return self.newSym |
746 | 751 |
else: |
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.minMatchPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
276 |
font = QtGui.QFont() |
|
277 |
font.setBold(True) |
|
278 |
font.setWeight(75) |
|
279 |
self.minMatchPointLabel.setFont(font) |
|
280 |
self.minMatchPointLabel.setObjectName("minMatchPointLabel") |
|
281 |
self.gridLayout_7.addWidget(self.minMatchPointLabel, 2, 0, 1, 1) |
|
282 |
self.nameLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
283 |
self.nameLineEdit.setObjectName("nameLineEdit") |
|
284 |
self.gridLayout_7.addWidget(self.nameLineEdit, 0, 1, 1, 3) |
|
285 |
self.connectionPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
286 |
self.connectionPointLineEdit.setReadOnly(True) |
|
287 |
self.connectionPointLineEdit.setObjectName("connectionPointLineEdit") |
|
288 |
self.gridLayout_7.addWidget(self.connectionPointLineEdit, 12, 1, 1, 1) |
|
289 |
self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
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) |
|
290 | 280 |
font = QtGui.QFont() |
291 | 281 |
font.setBold(True) |
292 | 282 |
font.setWeight(75) |
293 |
self.label_4.setFont(font) |
|
294 |
self.label_4.setObjectName("label_4") |
|
295 |
self.gridLayout_7.addWidget(self.label_4, 19, 0, 1, 1) |
|
296 |
self.minMatchPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
297 |
self.minMatchPointLineEdit.setEnabled(False) |
|
298 |
self.minMatchPointLineEdit.setObjectName("minMatchPointLineEdit") |
|
299 |
self.gridLayout_7.addWidget(self.minMatchPointLineEdit, 2, 1, 1, 3) |
|
300 |
self.nameLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
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("") |
|
308 |
icon18 = QtGui.QIcon() |
|
309 |
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) |
|
301 | 314 |
font = QtGui.QFont() |
302 | 315 |
font.setBold(True) |
303 | 316 |
font.setWeight(75) |
304 |
self.nameLabel.setFont(font)
|
|
305 |
self.nameLabel.setObjectName("nameLabel")
|
|
306 |
self.gridLayout_7.addWidget(self.nameLabel, 0, 0, 1, 1)
|
|
307 |
self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
|
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)
|
|
308 | 321 |
font = QtGui.QFont() |
309 | 322 |
font.setBold(True) |
310 | 323 |
font.setWeight(75) |
311 |
self.label_3.setFont(font) |
|
312 |
self.label_3.setObjectName("label_3") |
|
313 |
self.gridLayout_7.addWidget(self.label_3, 18, 0, 1, 1) |
|
314 |
self.tableWidgetConnList = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
|
315 |
self.tableWidgetConnList.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
316 |
self.tableWidgetConnList.setObjectName("tableWidgetConnList") |
|
317 |
self.tableWidgetConnList.setColumnCount(0) |
|
318 |
self.tableWidgetConnList.setRowCount(0) |
|
319 |
self.tableWidgetConnList.verticalHeader().setVisible(False) |
|
320 |
self.gridLayout_7.addWidget(self.tableWidgetConnList, 13, 1, 1, 3) |
|
321 |
self.originalPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
322 |
self.originalPointLineEdit.setReadOnly(True) |
|
323 |
self.originalPointLineEdit.setObjectName("originalPointLineEdit") |
|
324 |
self.gridLayout_7.addWidget(self.originalPointLineEdit, 10, 1, 1, 1) |
|
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) |
|
325 | 327 |
self.spinBoxThreshold = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
326 | 328 |
self.spinBoxThreshold.setMinimum(1) |
327 | 329 |
self.spinBoxThreshold.setMaximum(100) |
328 | 330 |
self.spinBoxThreshold.setProperty("value", 75) |
329 | 331 |
self.spinBoxThreshold.setObjectName("spinBoxThreshold") |
330 | 332 |
self.gridLayout_7.addWidget(self.spinBoxThreshold, 1, 1, 1, 3) |
331 |
self.isExceptDetectLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
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) |
|
332 | 338 |
font = QtGui.QFont() |
333 | 339 |
font.setBold(True) |
334 | 340 |
font.setWeight(75) |
335 |
self.isExceptDetectLabel.setFont(font)
|
|
336 |
self.isExceptDetectLabel.setObjectName("isExceptDetectLabel")
|
|
337 |
self.gridLayout_7.addWidget(self.isExceptDetectLabel, 15, 0, 1, 1)
|
|
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)
|
|
338 | 344 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
339 | 345 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
340 | 346 |
self.spinBoxParent = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
... | ... | |
352 | 358 |
self.addAdditionalSymbolButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
353 | 359 |
self.addAdditionalSymbolButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
354 | 360 |
self.addAdditionalSymbolButton.setText("") |
355 |
icon18 = QtGui.QIcon()
|
|
356 |
icon18.addPixmap(QtGui.QPixmap(":/newPrefix/Add.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
357 |
self.addAdditionalSymbolButton.setIcon(icon18)
|
|
361 |
icon19 = QtGui.QIcon()
|
|
362 |
icon19.addPixmap(QtGui.QPixmap(":/newPrefix/Add.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
|
|
363 |
self.addAdditionalSymbolButton.setIcon(icon19)
|
|
358 | 364 |
self.addAdditionalSymbolButton.setObjectName("addAdditionalSymbolButton") |
359 | 365 |
self.horizontalLayout_3.addWidget(self.addAdditionalSymbolButton) |
360 |
self.gridLayout_7.addLayout(self.horizontalLayout_3, 8, 1, 1, 3) |
|
361 |
self.checkBoxChange = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
362 |
self.checkBoxChange.setText("") |
|
363 |
self.checkBoxChange.setObjectName("checkBoxChange") |
|
364 |
self.gridLayout_7.addWidget(self.checkBoxChange, 18, 1, 1, 3) |
|
365 |
self.makeFlipCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
366 |
self.makeFlipCheckBox.setText("") |
|
367 |
self.makeFlipCheckBox.setObjectName("makeFlipCheckBox") |
|
368 |
self.gridLayout_7.addWidget(self.makeFlipCheckBox, 17, 1, 1, 3) |
|
366 |
self.gridLayout_7.addLayout(self.horizontalLayout_3, 9, 1, 1, 3) |
|
369 | 367 |
self.isContainChildCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
370 | 368 |
self.isContainChildCheckBox.setText("") |
371 | 369 |
self.isContainChildCheckBox.setCheckable(True) |
372 | 370 |
self.isContainChildCheckBox.setObjectName("isContainChildCheckBox") |
373 |
self.gridLayout_7.addWidget(self.isContainChildCheckBox, 4, 1, 1, 3)
|
|
371 |
self.gridLayout_7.addWidget(self.isContainChildCheckBox, 5, 1, 1, 3)
|
|
374 | 372 |
self.additionalSymbolListWidget = QtWidgets.QListWidget(self.scrollAreaWidgetContents) |
375 | 373 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) |
376 | 374 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
379 | 377 |
self.additionalSymbolListWidget.setSizePolicy(sizePolicy) |
380 | 378 |
self.additionalSymbolListWidget.setMaximumSize(QtCore.QSize(16777215, 150)) |
381 | 379 |
self.additionalSymbolListWidget.setObjectName("additionalSymbolListWidget") |
382 |
self.gridLayout_7.addWidget(self.additionalSymbolListWidget, 9, 1, 1, 3) |
|
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) |
|
388 |
self.checkBoxChange = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
389 |
self.checkBoxChange.setText("") |
|
390 |
self.checkBoxChange.setObjectName("checkBoxChange") |
|
391 |
self.gridLayout_7.addWidget(self.checkBoxChange, 19, 1, 1, 3) |
|
383 | 392 |
self.isContainChildLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
384 | 393 |
font = QtGui.QFont() |
385 | 394 |
font.setBold(True) |
386 | 395 |
font.setWeight(75) |
387 | 396 |
self.isContainChildLabel.setFont(font) |
388 | 397 |
self.isContainChildLabel.setObjectName("isContainChildLabel") |
389 |
self.gridLayout_7.addWidget(self.isContainChildLabel, 4, 0, 1, 1)
|
|
398 |
self.gridLayout_7.addWidget(self.isContainChildLabel, 5, 0, 1, 1)
|
|
390 | 399 |
self.originalPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
391 | 400 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) |
392 | 401 |
sizePolicy.setHorizontalStretch(0) |
... | ... | |
399 | 408 |
self.originalPointLabel.setFont(font) |
400 | 409 |
self.originalPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
401 | 410 |
self.originalPointLabel.setObjectName("originalPointLabel") |
402 |
self.gridLayout_7.addWidget(self.originalPointLabel, 10, 0, 1, 1) |
|
403 |
self.isExceptDetectCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
404 |
self.isExceptDetectCheckBox.setText("") |
|
405 |
self.isExceptDetectCheckBox.setObjectName("isExceptDetectCheckBox") |
|
406 |
self.gridLayout_7.addWidget(self.isExceptDetectCheckBox, 15, 1, 1, 3) |
|
407 |
self.spinBoxhasInstrumentLabel = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
408 |
self.spinBoxhasInstrumentLabel.setMaximum(1) |
|
409 |
self.spinBoxhasInstrumentLabel.setObjectName("spinBoxhasInstrumentLabel") |
|
410 |
self.gridLayout_7.addWidget(self.spinBoxhasInstrumentLabel, 14, 1, 1, 3) |
|
411 |
self.immediateInsertCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
412 |
self.immediateInsertCheckBox.setText("") |
|
413 |
self.immediateInsertCheckBox.setObjectName("immediateInsertCheckBox") |
|
414 |
self.gridLayout_7.addWidget(self.immediateInsertCheckBox, 16, 1, 1, 3) |
|
415 |
self.label_5 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
416 |
font = QtGui.QFont() |
|
417 |
font.setBold(True) |
|
418 |
font.setWeight(75) |
|
419 |
self.label_5.setFont(font) |
|
420 |
self.label_5.setObjectName("label_5") |
|
421 |
self.gridLayout_7.addWidget(self.label_5, 6, 0, 1, 1) |
|
422 |
self.rotationCountSpinBox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
423 |
self.rotationCountSpinBox.setMinimum(0) |
|
424 |
self.rotationCountSpinBox.setMaximum(270) |
|
425 |
self.rotationCountSpinBox.setSingleStep(90) |
|
426 |
self.rotationCountSpinBox.setProperty("value", 0) |
|
427 |
self.rotationCountSpinBox.setObjectName("rotationCountSpinBox") |
|
428 |
self.gridLayout_7.addWidget(self.rotationCountSpinBox, 3, 1, 1, 3) |
|
429 |
self.rotationCountLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
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) |
|
430 | 420 |
font = QtGui.QFont() |
431 | 421 |
font.setBold(True) |
432 | 422 |
font.setWeight(75) |
433 |
self.rotationCountLabel.setFont(font) |
|
434 |
self.rotationCountLabel.setObjectName("rotationCountLabel") |
|
435 |
self.gridLayout_7.addWidget(self.rotationCountLabel, 3, 0, 1, 1) |
|
436 |
self.delTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
437 |
self.delTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
438 |
self.delTextAreaButton.setText("") |
|
439 |
icon19 = QtGui.QIcon() |
|
440 |
icon19.addPixmap(QtGui.QPixmap(":/newPrefix/Remove.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
441 |
self.delTextAreaButton.setIcon(icon19) |
|
442 |
self.delTextAreaButton.setObjectName("delTextAreaButton") |
|
443 |
self.gridLayout_7.addWidget(self.delTextAreaButton, 6, 3, 1, 1) |
|
423 |
self.thresholdLabel.setFont(font) |
|
424 |
self.thresholdLabel.setObjectName("thresholdLabel") |
|
425 |
self.gridLayout_7.addWidget(self.thresholdLabel, 1, 0, 1, 1) |
|
444 | 426 |
self.makeFlipLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
445 | 427 |
font = QtGui.QFont() |
446 | 428 |
font.setBold(True) |
447 | 429 |
font.setWeight(75) |
448 | 430 |
self.makeFlipLabel.setFont(font) |
449 | 431 |
self.makeFlipLabel.setObjectName("makeFlipLabel") |
450 |
self.gridLayout_7.addWidget(self.makeFlipLabel, 17, 0, 1, 1) |
|
432 |
self.gridLayout_7.addWidget(self.makeFlipLabel, 18, 0, 1, 1) |
|
433 |
self.additionalSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
434 |
font = QtGui.QFont() |
|
435 |
font.setBold(True) |
|
436 |
font.setWeight(75) |
|
437 |
self.additionalSymbolLabel.setFont(font) |
|
438 |
self.additionalSymbolLabel.setObjectName("additionalSymbolLabel") |
|
439 |
self.gridLayout_7.addWidget(self.additionalSymbolLabel, 9, 0, 1, 1) |
|
451 | 440 |
self.addConnectionPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
452 | 441 |
self.addConnectionPointButton.setMinimumSize(QtCore.QSize(40, 0)) |
453 | 442 |
self.addConnectionPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
454 | 443 |
self.addConnectionPointButton.setText("") |
455 |
self.addConnectionPointButton.setIcon(icon18)
|
|
444 |
self.addConnectionPointButton.setIcon(icon19)
|
|
456 | 445 |
self.addConnectionPointButton.setObjectName("addConnectionPointButton") |
457 |
self.gridLayout_7.addWidget(self.addConnectionPointButton, 12, 2, 1, 1)
|
|
446 |
self.gridLayout_7.addWidget(self.addConnectionPointButton, 13, 2, 1, 1)
|
|
458 | 447 |
self.addTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
459 | 448 |
self.addTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
460 | 449 |
self.addTextAreaButton.setText("") |
461 |
self.addTextAreaButton.setIcon(icon18)
|
|
450 |
self.addTextAreaButton.setIcon(icon19)
|
|
462 | 451 |
self.addTextAreaButton.setObjectName("addTextAreaButton") |
463 |
self.gridLayout_7.addWidget(self.addTextAreaButton, 6, 2, 1, 1)
|
|
464 |
self.additionalSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
|
452 |
self.gridLayout_7.addWidget(self.addTextAreaButton, 7, 2, 1, 1)
|
|
453 |
self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents)
|
|
465 | 454 |
font = QtGui.QFont() |
466 | 455 |
font.setBold(True) |
467 | 456 |
font.setWeight(75) |
468 |
self.additionalSymbolLabel.setFont(font) |
|
469 |
self.additionalSymbolLabel.setObjectName("additionalSymbolLabel") |
|
470 |
self.gridLayout_7.addWidget(self.additionalSymbolLabel, 8, 0, 1, 1) |
|
471 |
self.thresholdLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
457 |
self.label_4.setFont(font) |
|
458 |
self.label_4.setObjectName("label_4") |
|
459 |
self.gridLayout_7.addWidget(self.label_4, 20, 0, 1, 1) |
|
460 |
self.minMatchPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
461 |
self.minMatchPointLineEdit.setEnabled(False) |
|
462 |
self.minMatchPointLineEdit.setObjectName("minMatchPointLineEdit") |
|
463 |
self.gridLayout_7.addWidget(self.minMatchPointLineEdit, 3, 1, 1, 3) |
|
464 |
self.nameLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
472 | 465 |
font = QtGui.QFont() |
473 | 466 |
font.setBold(True) |
474 | 467 |
font.setWeight(75) |
475 |
self.thresholdLabel.setFont(font) |
|
476 |
self.thresholdLabel.setObjectName("thresholdLabel") |
|
477 |
self.gridLayout_7.addWidget(self.thresholdLabel, 1, 0, 1, 1) |
|
478 |
self.pushButtonDelConnPt = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
479 |
self.pushButtonDelConnPt.setMinimumSize(QtCore.QSize(40, 0)) |
|
480 |
self.pushButtonDelConnPt.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
481 |
self.pushButtonDelConnPt.setText("") |
|
482 |
self.pushButtonDelConnPt.setIcon(icon19) |
|
483 |
self.pushButtonDelConnPt.setObjectName("pushButtonDelConnPt") |
|
484 |
self.gridLayout_7.addWidget(self.pushButtonDelConnPt, 12, 3, 1, 1) |
|
468 |
self.nameLabel.setFont(font) |
|
469 |
self.nameLabel.setObjectName("nameLabel") |
|
470 |
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 |
self.immediateInsertLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
486 |
font = QtGui.QFont() |
|
487 |
font.setBold(True) |
|
488 |
font.setWeight(75) |
|
489 |
self.immediateInsertLabel.setFont(font) |
|
490 |
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) |
|
485 | 517 |
self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) |
486 | 518 |
font = QtGui.QFont() |
487 | 519 |
font.setBold(True) |
... | ... | |
496 | 528 |
self.lineEditFilter = QtWidgets.QLineEdit(self.groupBox) |
497 | 529 |
self.lineEditFilter.setObjectName("lineEditFilter") |
498 | 530 |
self.gridLayout_8.addWidget(self.lineEditFilter, 0, 0, 1, 1) |
499 |
self.gridLayout_7.addWidget(self.groupBox, 5, 0, 1, 4) |
|
500 |
self.hasInstrumentLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
501 |
font = QtGui.QFont() |
|
502 |
font.setBold(True) |
|
503 |
font.setWeight(75) |
|
504 |
self.hasInstrumentLabel.setFont(font) |
|
505 |
self.hasInstrumentLabel.setObjectName("hasInstrumentLabel") |
|
506 |
self.gridLayout_7.addWidget(self.hasInstrumentLabel, 14, 0, 1, 1) |
|
507 |
self.pushButtonChange = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
508 |
self.pushButtonChange.setObjectName("pushButtonChange") |
|
509 |
self.gridLayout_7.addWidget(self.pushButtonChange, 19, 1, 1, 3) |
|
531 |
self.gridLayout_7.addWidget(self.groupBox, 6, 0, 1, 4) |
|
532 |
self.pushButtonConvertingPointDelete = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
533 |
self.pushButtonConvertingPointDelete.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
534 |
self.pushButtonConvertingPointDelete.setText("") |
|
535 |
self.pushButtonConvertingPointDelete.setIcon(icon18) |
|
536 |
self.pushButtonConvertingPointDelete.setObjectName("pushButtonConvertingPointDelete") |
|
537 |
self.gridLayout_7.addWidget(self.pushButtonConvertingPointDelete, 12, 3, 1, 1) |
|
510 | 538 |
self.addOriginalPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
511 | 539 |
self.addOriginalPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
512 | 540 |
self.addOriginalPointButton.setText("") |
513 |
self.addOriginalPointButton.setIcon(icon18)
|
|
541 |
self.addOriginalPointButton.setIcon(icon19)
|
|
514 | 542 |
self.addOriginalPointButton.setObjectName("addOriginalPointButton") |
515 |
self.gridLayout_7.addWidget(self.addOriginalPointButton, 10, 2, 1, 1)
|
|
543 |
self.gridLayout_7.addWidget(self.addOriginalPointButton, 11, 2, 1, 1)
|
|
516 | 544 |
self.connectionPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
517 | 545 |
font = QtGui.QFont() |
518 | 546 |
font.setBold(True) |
... | ... | |
520 | 548 |
self.connectionPointLabel.setFont(font) |
521 | 549 |
self.connectionPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
522 | 550 |
self.connectionPointLabel.setObjectName("connectionPointLabel") |
523 |
self.gridLayout_7.addWidget(self.connectionPointLabel, 12, 0, 1, 1) |
|
524 |
self.textAreaLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
525 |
self.textAreaLineEdit.setObjectName("textAreaLineEdit") |
|
526 |
self.gridLayout_7.addWidget(self.textAreaLineEdit, 6, 1, 1, 1) |
|
527 |
self.immediateInsertLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
551 |
self.gridLayout_7.addWidget(self.connectionPointLabel, 13, 0, 1, 1) |
|
552 |
self.hasInstrumentLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
528 | 553 |
font = QtGui.QFont() |
529 | 554 |
font.setBold(True) |
530 | 555 |
font.setWeight(75) |
531 |
self.immediateInsertLabel.setFont(font) |
|
532 |
self.immediateInsertLabel.setObjectName("immediateInsertLabel") |
|
533 |
self.gridLayout_7.addWidget(self.immediateInsertLabel, 16, 0, 1, 1) |
|
534 |
self.textAreaTableWidget = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
|
535 |
self.textAreaTableWidget.setObjectName("textAreaTableWidget") |
|
536 |
self.textAreaTableWidget.setColumnCount(0) |
|
537 |
self.textAreaTableWidget.setRowCount(0) |
|
538 |
self.gridLayout_7.addWidget(self.textAreaTableWidget, 7, 1, 1, 3) |
|
539 |
self.label_6 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
556 |
self.hasInstrumentLabel.setFont(font) |
|
557 |
self.hasInstrumentLabel.setObjectName("hasInstrumentLabel") |
|
558 |
self.gridLayout_7.addWidget(self.hasInstrumentLabel, 15, 0, 1, 1) |
|
559 |
self.textAreaLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
560 |
self.textAreaLineEdit.setObjectName("textAreaLineEdit") |
|
561 |
self.gridLayout_7.addWidget(self.textAreaLineEdit, 7, 1, 1, 1) |
|
562 |
self.label_7 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
540 | 563 |
font = QtGui.QFont() |
541 | 564 |
font.setBold(True) |
542 | 565 |
font.setWeight(75) |
543 |
self.label_6.setFont(font) |
|
544 |
self.label_6.setObjectName("label_6") |
|
545 |
self.gridLayout_7.addWidget(self.label_6, 11, 0, 1, 1) |
|
546 |
self.lineEditConvertingPoint = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
547 |
self.lineEditConvertingPoint.setReadOnly(True) |
|
548 |
self.lineEditConvertingPoint.setObjectName("lineEditConvertingPoint") |
|
549 |
self.gridLayout_7.addWidget(self.lineEditConvertingPoint, 11, 1, 1, 1) |
|
550 |
self.pushButtonConvertingPointAdd = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
551 |
self.pushButtonConvertingPointAdd.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
552 |
self.pushButtonConvertingPointAdd.setText("") |
|
553 |
self.pushButtonConvertingPointAdd.setIcon(icon18) |
|
554 |
self.pushButtonConvertingPointAdd.setObjectName("pushButtonConvertingPointAdd") |
|
555 |
self.gridLayout_7.addWidget(self.pushButtonConvertingPointAdd, 11, 2, 1, 1) |
|
556 |
self.pushButtonConvertingPointDelete = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
557 |
self.pushButtonConvertingPointDelete.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
558 |
self.pushButtonConvertingPointDelete.setText("") |
|
559 |
self.pushButtonConvertingPointDelete.setIcon(icon19) |
|
560 |
self.pushButtonConvertingPointDelete.setObjectName("pushButtonConvertingPointDelete") |
|
561 |
self.gridLayout_7.addWidget(self.pushButtonConvertingPointDelete, 11, 3, 1, 1) |
|
566 |
self.label_7.setFont(font) |
|
567 |
self.label_7.setObjectName("label_7") |
|
568 |
self.gridLayout_7.addWidget(self.label_7, 2, 0, 1, 1) |
|
569 |
self.lineEditDesc = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
570 |
self.lineEditDesc.setObjectName("lineEditDesc") |
|
571 |
self.gridLayout_7.addWidget(self.lineEditDesc, 2, 1, 1, 3) |
|
562 | 572 |
self.gridLayout_4.addLayout(self.gridLayout_7, 0, 0, 1, 1) |
563 | 573 |
self.scrollArea.setWidget(self.scrollAreaWidgetContents) |
564 | 574 |
self.verticalLayout.addWidget(self.scrollArea) |
... | ... | |
587 | 597 |
self.guidelineCheckbox.setText(_translate("SymbolEditorDialog", "Show Guideline")) |
588 | 598 |
self.label.setText(_translate("SymbolEditorDialog", "Normal Color :")) |
589 | 599 |
self.label_2.setText(_translate("SymbolEditorDialog", "Highlight Color :")) |
590 |
self.minMatchPointLabel.setText(_translate("SymbolEditorDialog", "Min Feature Count")) |
|
591 |
self.label_4.setText(_translate("SymbolEditorDialog", "Symbol Info on Drawing")) |
|
592 |
self.nameLabel.setText(_translate("SymbolEditorDialog", "Symbol Name")) |
|
593 |
self.label_3.setText(_translate("SymbolEditorDialog", "Change Base, Additional")) |
|
594 | 600 |
self.isExceptDetectLabel.setText(_translate("SymbolEditorDialog", "Exclude")) |
601 |
self.rotationCountLabel.setText(_translate("SymbolEditorDialog", "Rotation Detection Degree")) |
|
602 |
self.label_5.setText(_translate("SymbolEditorDialog", "Text Area")) |
|
603 |
self.label_3.setText(_translate("SymbolEditorDialog", "Change Base, Additional")) |
|
595 | 604 |
self.isContainChildLabel.setText(_translate("SymbolEditorDialog", "Include Child Symbol")) |
596 | 605 |
self.originalPointLabel.setText(_translate("SymbolEditorDialog", "Original Point")) |
597 |
self.label_5.setText(_translate("SymbolEditorDialog", "Text Area")) |
|
598 |
self.rotationCountLabel.setText(_translate("SymbolEditorDialog", "Rotation Detection Degree")) |
|
606 |
self.thresholdLabel.setText(_translate("SymbolEditorDialog", "Threshold(%)")) |
|
599 | 607 |
self.makeFlipLabel.setText(_translate("SymbolEditorDialog", "Detect Flip")) |
600 | 608 |
self.additionalSymbolLabel.setText(_translate("SymbolEditorDialog", "Addition Symbol")) |
601 |
self.thresholdLabel.setText(_translate("SymbolEditorDialog", "Threshold(%)")) |
|
609 |
self.label_4.setText(_translate("SymbolEditorDialog", "Symbol Info on Drawing")) |
|
610 |
self.nameLabel.setText(_translate("SymbolEditorDialog", "Symbol Name")) |
|
611 |
self.minMatchPointLabel.setText(_translate("SymbolEditorDialog", "Min Feature Count")) |
|
612 |
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")) |
|
602 | 615 |
self.groupBox.setTitle(_translate("SymbolEditorDialog", "Base Symbol")) |
603 | 616 |
self.lineEditFilter.setPlaceholderText(_translate("SymbolEditorDialog", "Search...")) |
604 |
self.hasInstrumentLabel.setText(_translate("SymbolEditorDialog", "Include Text")) |
|
605 |
self.pushButtonChange.setText(_translate("SymbolEditorDialog", "Change Item on Drawing without DB Update")) |
|
606 | 617 |
self.connectionPointLabel.setText(_translate("SymbolEditorDialog", "Connection Point")) |
607 |
self.immediateInsertLabel.setText(_translate("SymbolEditorDialog", "Insert Symbol When Create"))
|
|
608 |
self.label_6.setText(_translate("SymbolEditorDialog", "Converting Point"))
|
|
618 |
self.hasInstrumentLabel.setText(_translate("SymbolEditorDialog", "Include Text"))
|
|
619 |
self.label_7.setText(_translate("SymbolEditorDialog", "Description"))
|
|
609 | 620 |
import MainWindow_rc |
610 | 621 |
|
611 | 622 |
|
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("Min Feature Count"))
|
|
93 |
item3 = QTableWidgetItem(self.tr("Description"))
|
|
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("Min Feature Count"))
|
|
137 |
self.item(2,0).setText(self.tr("Description"))
|
|
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(str(self.symData.getMinMatchCount()))
|
|
175 |
SymbolMinMatchCount = QTableWidgetItem(self.symData.getDesc())
|
|
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="2" column="0"> |
|
585 |
<widget class="QLabel" name="minMatchPointLabel"> |
|
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"> |
|
586 | 593 |
<property name="font"> |
587 | 594 |
<font> |
588 | 595 |
<weight>75</weight> |
... | ... | |
590 | 597 |
</font> |
591 | 598 |
</property> |
592 | 599 |
<property name="text"> |
593 |
<string>Min Feature Count</string>
|
|
600 |
<string>Exclude</string>
|
|
594 | 601 |
</property> |
595 | 602 |
</widget> |
596 | 603 |
</item> |
597 |
<item row="0" column="1" colspan="3"> |
|
598 |
<widget class="QLineEdit" name="nameLineEdit"/> |
|
599 |
</item> |
|
600 |
<item row="12" column="1"> |
|
601 |
<widget class="QLineEdit" name="connectionPointLineEdit"> |
|
602 |
<property name="readOnly"> |
|
603 |
<bool>true</bool> |
|
604 |
<item row="16" column="1" colspan="3"> |
|
605 |
<widget class="QCheckBox" name="isExceptDetectCheckBox"> |
|
606 |
<property name="text"> |
|
607 |
<string/> |
|
604 | 608 |
</property> |
605 | 609 |
</widget> |
606 | 610 |
</item> |
607 |
<item row="19" column="0"> |
|
608 |
<widget class="QLabel" name="label_4"> |
|
609 |
<property name="font"> |
|
610 |
<font> |
|
611 |
<weight>75</weight> |
|
612 |
<bold>true</bold> |
|
613 |
</font> |
|
611 |
<item row="15" column="1" colspan="3"> |
|
612 |
<widget class="QSpinBox" name="spinBoxhasInstrumentLabel"> |
|
613 |
<property name="maximum"> |
|
614 |
<number>1</number> |
|
614 | 615 |
</property> |
616 |
</widget> |
|
617 |
</item> |
|
618 |
<item row="17" column="1" colspan="3"> |
|
619 |
<widget class="QCheckBox" name="immediateInsertCheckBox"> |
|
615 | 620 |
<property name="text"> |
616 |
<string>Symbol Info on Drawing</string>
|
|
621 |
<string/>
|
|
617 | 622 |
</property> |
618 | 623 |
</widget> |
619 | 624 |
</item> |
620 |
<item row="2" column="1" colspan="3"> |
|
621 |
<widget class="QLineEdit" name="minMatchPointLineEdit"> |
|
622 |
<property name="enabled"> |
|
623 |
<bool>false</bool> |
|
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> |
|
624 | 638 |
</property> |
625 | 639 |
</widget> |
626 | 640 |
</item> |
627 |
<item row="0" column="0"> |
|
628 |
<widget class="QLabel" name="nameLabel"> |
|
641 |
<item row="7" column="3"> |
|
642 |
<widget class="QPushButton" name="delTextAreaButton"> |
|
643 |
<property name="maximumSize"> |
|
644 |
<size> |
|
645 |
<width>40</width> |
|
646 |
<height>16777215</height> |
|
647 |
</size> |
|
648 |
</property> |
|
649 |
<property name="text"> |
|
650 |
<string/> |
|
651 |
</property> |
|
652 |
<property name="icon"> |
|
653 |
<iconset resource="../res/MainWindow.qrc"> |
|
654 |
<normaloff>:/newPrefix/Remove.svg</normaloff>:/newPrefix/Remove.svg</iconset> |
|
655 |
</property> |
|
656 |
</widget> |
|
657 |
</item> |
|
658 |
<item row="4" column="0"> |
|
659 |
<widget class="QLabel" name="rotationCountLabel"> |
|
629 | 660 |
<property name="font"> |
630 | 661 |
<font> |
631 | 662 |
<weight>75</weight> |
... | ... | |
633 | 664 |
</font> |
634 | 665 |
</property> |
635 | 666 |
<property name="text"> |
636 |
<string>Symbol Name</string>
|
|
667 |
<string>Rotation Detection Degree</string>
|
|
637 | 668 |
</property> |
638 | 669 |
</widget> |
639 | 670 |
</item> |
640 |
<item row="18" column="0">
|
|
641 |
<widget class="QLabel" name="label_3">
|
|
671 |
<item row="7" column="0">
|
|
672 |
<widget class="QLabel" name="label_5">
|
|
642 | 673 |
<property name="font"> |
643 | 674 |
<font> |
644 | 675 |
<weight>75</weight> |
... | ... | |
646 | 677 |
</font> |
647 | 678 |
</property> |
648 | 679 |
<property name="text"> |
649 |
<string>Change Base, Additional</string> |
|
650 |
</property> |
|
651 |
</widget> |
|
652 |
</item> |
|
653 |
<item row="13" column="1" colspan="3"> |
|
654 |
<widget class="QTableWidget" name="tableWidgetConnList"> |
|
655 |
<property name="maximumSize"> |
|
656 |
<size> |
|
657 |
<width>16777215</width> |
|
658 |
<height>150</height> |
|
659 |
</size> |
|
660 |
</property> |
|
661 |
<attribute name="verticalHeaderVisible"> |
|
662 |
<bool>false</bool> |
|
663 |
</attribute> |
|
664 |
</widget> |
|
665 |
</item> |
|
666 |
<item row="10" column="1"> |
|
667 |
<widget class="QLineEdit" name="originalPointLineEdit"> |
|
668 |
<property name="readOnly"> |
|
669 |
<bool>true</bool> |
|
680 |
<string>Text Area</string> |
|
670 | 681 |
</property> |
671 | 682 |
</widget> |
672 | 683 |
</item> |
... | ... | |
683 | 694 |
</property> |
684 | 695 |
</widget> |
685 | 696 |
</item> |
686 |
<item row="15" column="0"> |
|
687 |
<widget class="QLabel" name="isExceptDetectLabel"> |
|
697 |
<item row="11" column="1"> |
|
698 |
<widget class="QLineEdit" name="originalPointLineEdit"> |
|
699 |
<property name="readOnly"> |
|
700 |
<bool>true</bool> |
|
701 |
</property> |
|
702 |
</widget> |
|
703 |
</item> |
|
704 |
<item row="19" column="0"> |
|
705 |
<widget class="QLabel" name="label_3"> |
|
688 | 706 |
<property name="font"> |
689 | 707 |
<font> |
690 | 708 |
<weight>75</weight> |
... | ... | |
692 | 710 |
</font> |
693 | 711 |
</property> |
694 | 712 |
<property name="text"> |
695 |
<string>Exclude</string>
|
|
713 |
<string>Change Base, Additional</string>
|
|
696 | 714 |
</property> |
697 | 715 |
</widget> |
698 | 716 |
</item> |
699 |
<item row="8" column="1" colspan="3">
|
|
717 |
<item row="9" column="1" colspan="3">
|
|
700 | 718 |
<layout class="QHBoxLayout" name="horizontalLayout_3"> |
701 | 719 |
<item> |
702 | 720 |
<widget class="QSpinBox" name="spinBoxParent"> |
... | ... | |
743 | 761 |
</item> |
744 | 762 |
</layout> |
745 | 763 |
</item> |
746 |
<item row="18" column="1" colspan="3"> |
|
747 |
<widget class="QCheckBox" name="checkBoxChange"> |
|
748 |
<property name="text"> |
|
749 |
<string/> |
|
750 |
</property> |
|
751 |
</widget> |
|
752 |
</item> |
|
753 |
<item row="17" column="1" colspan="3"> |
|
754 |
<widget class="QCheckBox" name="makeFlipCheckBox"> |
|
755 |
<property name="text"> |
|
756 |
<string/> |
|
757 |
</property> |
|
758 |
</widget> |
|
759 |
</item> |
|
760 |
<item row="4" column="1" colspan="3"> |
|
764 |
<item row="5" column="1" colspan="3"> |
|
761 | 765 |
<widget class="QCheckBox" name="isContainChildCheckBox"> |
762 | 766 |
<property name="text"> |
763 | 767 |
<string/> |
... | ... | |
767 | 771 |
</property> |
768 | 772 |
</widget> |
769 | 773 |
</item> |
770 |
<item row="9" column="1" colspan="3">
|
|
774 |
<item row="10" column="1" colspan="3">
|
|
771 | 775 |
<widget class="QListWidget" name="additionalSymbolListWidget"> |
772 | 776 |
<property name="sizePolicy"> |
773 | 777 |
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> |
... | ... | |
783 | 787 |
</property> |
784 | 788 |
</widget> |
785 | 789 |
</item> |
786 |
<item row="4" column="0"> |
|
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> |
|
797 |
</property> |
|
798 |
<attribute name="verticalHeaderVisible"> |
|
799 |
<bool>false</bool> |
|
800 |
</attribute> |
|
801 |
</widget> |
|
802 |
</item> |
|
803 |
<item row="19" column="1" colspan="3"> |
|
804 |
<widget class="QCheckBox" name="checkBoxChange"> |
|
805 |
<property name="text"> |
|
806 |
<string/> |
|
807 |
</property> |
|
808 |
</widget> |
|
809 |
</item> |
|
810 |
<item row="5" column="0"> |
|
787 | 811 |
<widget class="QLabel" name="isContainChildLabel"> |
788 | 812 |
<property name="font"> |
789 | 813 |
<font> |
... | ... | |
796 | 820 |
</property> |
797 | 821 |
</widget> |
798 | 822 |
</item> |
799 |
<item row="10" column="0">
|
|
823 |
<item row="11" column="0">
|
|
800 | 824 |
<widget class="QLabel" name="originalPointLabel"> |
801 | 825 |
<property name="sizePolicy"> |
802 | 826 |
<sizepolicy hsizetype="Preferred" vsizetype="Preferred"> |
... | ... | |
818 | 842 |
</property> |
819 | 843 |
</widget> |
820 | 844 |
</item> |
821 |
<item row="15" column="1" colspan="3"> |
|
822 |
<widget class="QCheckBox" name="isExceptDetectCheckBox"> |
|
823 |
<property name="text"> |
|
824 |
<string/> |
|
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> |
|
825 | 852 |
</property> |
826 |
</widget> |
|
827 |
</item> |
|
828 |
<item row="14" column="1" colspan="3"> |
|
829 |
<widget class="QSpinBox" name="spinBoxhasInstrumentLabel"> |
|
830 |
<property name="maximum"> |
|
831 |
<number>1</number> |
|
853 |
<property name="maximumSize"> |
|
854 |
<size> |
|
855 |
<width>40</width> |
|
856 |
<height>16777215</height> |
|
857 |
</size> |
|
832 | 858 |
</property> |
833 |
</widget> |
|
834 |
</item> |
|
835 |
<item row="16" column="1" colspan="3"> |
|
836 |
<widget class="QCheckBox" name="immediateInsertCheckBox"> |
|
837 | 859 |
<property name="text"> |
838 | 860 |
<string/> |
839 | 861 |
</property> |
862 |
<property name="icon"> |
|
863 |
<iconset resource="../res/MainWindow.qrc"> |
|
864 |
<normaloff>:/newPrefix/Remove.svg</normaloff>:/newPrefix/Remove.svg</iconset> |
|
865 |
</property> |
|
840 | 866 |
</widget> |
841 | 867 |
</item> |
842 |
<item row="6" column="0">
|
|
843 |
<widget class="QLabel" name="label_5">
|
|
868 |
<item row="1" column="0">
|
|
869 |
<widget class="QLabel" name="thresholdLabel">
|
|
844 | 870 |
<property name="font"> |
845 | 871 |
<font> |
846 | 872 |
<weight>75</weight> |
... | ... | |
848 | 874 |
</font> |
849 | 875 |
</property> |
850 | 876 |
<property name="text"> |
851 |
<string>Text Area</string> |
|
852 |
</property> |
|
853 |
</widget> |
|
854 |
</item> |
|
855 |
<item row="3" column="1" colspan="3"> |
|
856 |
<widget class="QSpinBox" name="rotationCountSpinBox"> |
|
857 |
<property name="minimum"> |
|
858 |
<number>0</number> |
|
859 |
</property> |
|
860 |
<property name="maximum"> |
|
861 |
<number>270</number> |
|
862 |
</property> |
|
863 |
<property name="singleStep"> |
|
864 |
<number>90</number> |
|
865 |
</property> |
|
866 |
<property name="value"> |
|
867 |
<number>0</number> |
|
877 |
<string>Threshold(%)</string> |
|
868 | 878 |
</property> |
869 | 879 |
</widget> |
870 | 880 |
</item> |
871 |
<item row="3" column="0">
|
|
872 |
<widget class="QLabel" name="rotationCountLabel">
|
|
881 |
<item row="18" column="0">
|
|
882 |
<widget class="QLabel" name="makeFlipLabel">
|
|
873 | 883 |
<property name="font"> |
874 | 884 |
<font> |
875 | 885 |
<weight>75</weight> |
... | ... | |
877 | 887 |
</font> |
878 | 888 |
</property> |
879 | 889 |
<property name="text"> |
880 |
<string>Rotation Detection Degree</string> |
|
881 |
</property> |
|
882 |
</widget> |
|
883 |
</item> |
|
884 |
<item row="6" column="3"> |
|
885 |
<widget class="QPushButton" name="delTextAreaButton"> |
|
886 |
<property name="maximumSize"> |
|
887 |
<size> |
|
888 |
<width>40</width> |
|
889 |
<height>16777215</height> |
|
890 |
</size> |
|
891 |
</property> |
|
892 |
<property name="text"> |
|
893 |
<string/> |
|
894 |
</property> |
|
895 |
<property name="icon"> |
|
896 |
<iconset resource="../res/MainWindow.qrc"> |
|
897 |
<normaloff>:/newPrefix/Remove.svg</normaloff>:/newPrefix/Remove.svg</iconset> |
|
890 |
<string>Detect Flip</string> |
|
898 | 891 |
</property> |
899 | 892 |
</widget> |
900 | 893 |
</item> |
901 |
<item row="17" column="0">
|
|
902 |
<widget class="QLabel" name="makeFlipLabel">
|
|
894 |
<item row="9" column="0">
|
|
895 |
<widget class="QLabel" name="additionalSymbolLabel">
|
|
903 | 896 |
<property name="font"> |
904 | 897 |
<font> |
905 | 898 |
<weight>75</weight> |
... | ... | |
907 | 900 |
</font> |
908 | 901 |
</property> |
909 | 902 |
<property name="text"> |
910 |
<string>Detect Flip</string>
|
|
903 |
<string>Addition Symbol</string>
|
|
911 | 904 |
</property> |
912 | 905 |
</widget> |
913 | 906 |
</item> |
914 |
<item row="12" column="2">
|
|
907 |
<item row="13" column="2">
|
|
915 | 908 |
<widget class="QPushButton" name="addConnectionPointButton"> |
916 | 909 |
<property name="minimumSize"> |
917 | 910 |
<size> |
... | ... | |
934 | 927 |
</property> |
935 | 928 |
</widget> |
936 | 929 |
</item> |
937 |
<item row="6" column="2">
|
|
930 |
<item row="7" column="2">
|
|
938 | 931 |
<widget class="QPushButton" name="addTextAreaButton"> |
939 | 932 |
<property name="maximumSize"> |
940 | 933 |
<size> |
... | ... | |
951 | 944 |
</property> |
952 | 945 |
</widget> |
953 | 946 |
</item> |
954 |
<item row="8" column="0">
|
|
955 |
<widget class="QLabel" name="additionalSymbolLabel">
|
|
947 |
<item row="20" column="0">
|
|
948 |
<widget class="QLabel" name="label_4">
|
|
956 | 949 |
<property name="font"> |
957 | 950 |
<font> |
958 | 951 |
<weight>75</weight> |
... | ... | |
960 | 953 |
</font> |
961 | 954 |
</property> |
962 | 955 |
<property name="text"> |
963 |
<string>Addition Symbol</string>
|
|
956 |
<string>Symbol Info on Drawing</string>
|
|
964 | 957 |
</property> |
965 | 958 |
</widget> |
966 | 959 |
</item> |
967 |
<item row="1" column="0"> |
|
968 |
<widget class="QLabel" name="thresholdLabel"> |
|
960 |
<item row="3" column="1" colspan="3"> |
|
961 |
<widget class="QLineEdit" name="minMatchPointLineEdit"> |
|
962 |
<property name="enabled"> |
|
963 |
<bool>false</bool> |
|
964 |
</property> |
|
965 |
</widget> |
|
966 |
</item> |
|
967 |
<item row="0" column="0"> |
|
968 |
<widget class="QLabel" name="nameLabel"> |
|
969 | 969 |
<property name="font"> |
970 | 970 |
<font> |
971 | 971 |
<weight>75</weight> |
... | ... | |
973 | 973 |
</font> |
974 | 974 |
</property> |
975 | 975 |
<property name="text"> |
976 |
<string>Threshold(%)</string>
|
|
976 |
<string>Symbol Name</string>
|
|
977 | 977 |
</property> |
978 | 978 |
</widget> |
979 | 979 |
</item> |
980 |
<item row="12" column="3"> |
|
981 |
<widget class="QPushButton" name="pushButtonDelConnPt"> |
|
982 |
<property name="minimumSize"> |
|
983 |
<size> |
|
984 |
<width>40</width> |
|
985 |
<height>0</height> |
|
986 |
</size> |
|
980 |
<item row="13" column="1"> |
|
981 |
<widget class="QLineEdit" name="connectionPointLineEdit"> |
|
982 |
<property name="readOnly"> |
|
983 |
<bool>true</bool> |
|
984 |
</property> |
|
985 |
</widget> |
|
986 |
</item> |
|
987 |
<item row="0" column="1" colspan="3"> |
|
988 |
<widget class="QLineEdit" name="nameLineEdit"/> |
|
989 |
</item> |
|
990 |
<item row="3" column="0"> |
|
991 |
<widget class="QLabel" name="minMatchPointLabel"> |
|
992 |
<property name="font"> |
|
993 |
<font> |
|
994 |
<weight>75</weight> |
|
995 |
<bold>true</bold> |
|
996 |
</font> |
|
997 |
</property> |
|
998 |
<property name="text"> |
|
999 |
<string>Min Feature Count</string> |
|
1000 |
</property> |
|
1001 |
</widget> |
|
1002 |
</item> |
|
1003 |
<item row="17" column="0"> |
|
1004 |
<widget class="QLabel" name="immediateInsertLabel"> |
|
1005 |
<property name="font"> |
|
1006 |
<font> |
|
1007 |
<weight>75</weight> |
|
1008 |
<bold>true</bold> |
|
1009 |
</font> |
|
1010 |
</property> |
|
1011 |
<property name="text"> |
|
1012 |
<string>Insert Symbol When Create</string> |
|
1013 |
</property> |
|
1014 |
</widget> |
|
1015 |
</item> |
|
1016 |
<item row="20" column="1" colspan="3"> |
|
1017 |
<widget class="QPushButton" name="pushButtonChange"> |
|
1018 |
<property name="text"> |
|
1019 |
<string>Change Item on Drawing without DB Update</string> |
|
1020 |
</property> |
|
1021 |
</widget> |
|
1022 |
</item> |
|
1023 |
<item row="8" column="1" colspan="3"> |
|
1024 |
<widget class="QTableWidget" name="textAreaTableWidget"/> |
|
1025 |
</item> |
|
1026 |
<item row="12" column="1"> |
|
1027 |
<widget class="QLineEdit" name="lineEditConvertingPoint"> |
|
1028 |
<property name="readOnly"> |
|
1029 |
<bool>true</bool> |
|
987 | 1030 |
</property> |
1031 |
</widget> |
|
1032 |
</item> |
|
1033 |
<item row="12" column="2"> |
|
1034 |
<widget class="QPushButton" name="pushButtonConvertingPointAdd"> |
|
988 | 1035 |
<property name="maximumSize"> |
989 | 1036 |
<size> |
990 | 1037 |
<width>40</width> |
... | ... | |
996 | 1043 |
</property> |
997 | 1044 |
<property name="icon"> |
998 | 1045 |
<iconset resource="../res/MainWindow.qrc"> |
999 |
<normaloff>:/newPrefix/Remove.svg</normaloff>:/newPrefix/Remove.svg</iconset> |
|
1046 |
<normaloff>:/newPrefix/Add.svg</normaloff>:/newPrefix/Add.svg</iconset> |
|
1047 |
</property> |
|
1048 |
</widget> |
|
1049 |
</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> |
|
1000 | 1060 |
</property> |
1001 | 1061 |
</widget> |
1002 | 1062 |
</item> |
1003 |
<item row="5" column="0" colspan="4">
|
|
1063 |
<item row="6" column="0" colspan="4">
|
|
1004 | 1064 |
<widget class="QGroupBox" name="groupBox"> |
1005 | 1065 |
<property name="font"> |
1006 | 1066 |
<font> |
... | ... | |
1025 | 1085 |
</layout> |
1026 | 1086 |
</widget> |
1027 | 1087 |
</item> |
1028 |
<item row="14" column="0">
|
|
1029 |
<widget class="QLabel" name="hasInstrumentLabel">
|
|
1030 |
<property name="font">
|
|
1031 |
<font>
|
|
1032 |
<weight>75</weight>
|
|
1033 |
<bold>true</bold>
|
|
1034 |
</font>
|
|
1088 |
<item row="12" column="3">
|
|
1089 |
<widget class="QPushButton" name="pushButtonConvertingPointDelete">
|
|
1090 |
<property name="maximumSize">
|
|
1091 |
<size>
|
|
1092 |
<width>40</width>
|
|
1093 |
<height>16777215</height>
|
|
1094 |
</size>
|
|
1035 | 1095 |
</property> |
1036 | 1096 |
<property name="text"> |
1037 |
<string>Include Text</string>
|
|
1097 |
<string/>
|
|
1038 | 1098 |
</property> |
1039 |
</widget> |
|
1040 |
</item> |
|
1041 |
<item row="19" column="1" colspan="3"> |
|
1042 |
<widget class="QPushButton" name="pushButtonChange"> |
|
1043 |
<property name="text"> |
|
1044 |
<string>Change Item on Drawing without DB Update</string> |
|
1099 |
<property name="icon"> |
|
1100 |
<iconset resource="../res/MainWindow.qrc"> |
|
1101 |
<normaloff>:/newPrefix/Remove.svg</normaloff>:/newPrefix/Remove.svg</iconset> |
|
1045 | 1102 |
</property> |
1046 | 1103 |
</widget> |
1047 | 1104 |
</item> |
1048 |
<item row="10" column="2">
|
|
1105 |
<item row="11" column="2">
|
|
1049 | 1106 |
<widget class="QPushButton" name="addOriginalPointButton"> |
1050 | 1107 |
<property name="maximumSize"> |
1051 | 1108 |
<size> |
... | ... | |
1062 | 1119 |
</property> |
1063 | 1120 |
</widget> |
1064 | 1121 |
</item> |
1065 |
<item row="12" column="0">
|
|
1122 |
<item row="13" column="0">
|
|
1066 | 1123 |
<widget class="QLabel" name="connectionPointLabel"> |
1067 | 1124 |
<property name="font"> |
1068 | 1125 |
<font> |
... | ... | |
1078 | 1135 |
</property> |
1079 | 1136 |
</widget> |
1080 | 1137 |
</item> |
1081 |
<item row="6" column="1"> |
|
1082 |
<widget class="QLineEdit" name="textAreaLineEdit"/> |
|
1083 |
</item> |
|
1084 |
<item row="16" column="0"> |
|
1085 |
<widget class="QLabel" name="immediateInsertLabel"> |
|
1138 |
<item row="15" column="0"> |
|
1139 |
<widget class="QLabel" name="hasInstrumentLabel"> |
|
1086 | 1140 |
<property name="font"> |
1087 | 1141 |
<font> |
1088 | 1142 |
<weight>75</weight> |
... | ... | |
1090 | 1144 |
</font> |
1091 | 1145 |
</property> |
1092 | 1146 |
<property name="text"> |
1093 |
<string>Insert Symbol When Create</string>
|
|
1147 |
<string>Include Text</string>
|
|
1094 | 1148 |
</property> |
1095 | 1149 |
</widget> |
1096 | 1150 |
</item> |
1097 |
<item row="7" column="1" colspan="3">
|
|
1098 |
<widget class="QTableWidget" name="textAreaTableWidget"/>
|
|
1151 |
<item row="7" column="1"> |
|
1152 |
<widget class="QLineEdit" name="textAreaLineEdit"/>
|
|
1099 | 1153 |
</item> |
1100 |
<item row="11" column="0">
|
|
1101 |
<widget class="QLabel" name="label_6">
|
|
1154 |
<item row="2" column="0">
|
|
1155 |
<widget class="QLabel" name="label_7">
|
|
1102 | 1156 |
<property name="font"> |
1103 | 1157 |
<font> |
1104 | 1158 |
<weight>75</weight> |
... | ... | |
1106 | 1160 |
</font> |
1107 | 1161 |
</property> |
1108 | 1162 |
<property name="text"> |
1109 |
<string>Converting Point</string> |
|
1110 |
</property> |
|
1111 |
</widget> |
|
1112 |
</item> |
|
1113 |
<item row="11" column="1"> |
|
1114 |
<widget class="QLineEdit" name="lineEditConvertingPoint"> |
|
1115 |
<property name="readOnly"> |
|
1116 |
<bool>true</bool> |
|
1117 |
</property> |
|
1118 |
</widget> |
|
1119 |
</item> |
|
1120 |
<item row="11" column="2"> |
|
1121 |
<widget class="QPushButton" name="pushButtonConvertingPointAdd"> |
|
1122 |
<property name="maximumSize"> |
|
1123 |
<size> |
|
1124 |
<width>40</width> |
|
1125 |
<height>16777215</height> |
|
1126 |
</size> |
|
1127 |
</property> |
|
1128 |
<property name="text"> |
|
1129 |
<string/> |
|
1130 |
</property> |
|
1131 |
<property name="icon"> |
|
1132 |
<iconset resource="../res/MainWindow.qrc"> |
|
1133 |
<normaloff>:/newPrefix/Add.svg</normaloff>:/newPrefix/Add.svg</iconset> |
|
1163 |
<string>Description</string> |
|
1134 | 1164 |
</property> |
1135 | 1165 |
</widget> |
1136 | 1166 |
</item> |
1137 |
<item row="11" column="3"> |
|
1138 |
<widget class="QPushButton" name="pushButtonConvertingPointDelete"> |
|
1139 |
<property name="maximumSize"> |
|
1140 |
<size> |
|
1141 |
<width>40</width> |
|
1142 |
<height>16777215</height> |
|
1143 |
</size> |
|
1144 |
</property> |
|
1145 |
<property name="text"> |
|
1146 |
<string/> |
|
1147 |
</property> |
|
1148 |
<property name="icon"> |
|
1149 |
<iconset resource="../res/MainWindow.qrc"> |
|
1150 |
<normaloff>:/newPrefix/Remove.svg</normaloff>:/newPrefix/Remove.svg</iconset> |
|
1151 |
</property> |
|
1152 |
</widget> |
|
1167 |
<item row="2" column="1" colspan="3"> |
|
1168 |
<widget class="QLineEdit" name="lineEditDesc"/> |
|
1153 | 1169 |
</item> |
1154 | 1170 |
</layout> |
1155 | 1171 |
</item> |
내보내기 Unified diff