개정판 36df918a
add converting point setting
Change-Id: Icf5880f17f3dfc9d15716ab54a07a38b4639f4f0
DTI_PID/DTI_PID/AppDocData.py | ||
---|---|---|
552 | 552 |
query = (symbol.getName(), symbol.getType(), symbol.getThreshold() |
553 | 553 |
, symbol.getMinMatchCount(), symbol.getIsDetectOnOrigin(), symbol.getRotationCount() |
554 | 554 |
, symbol.getOcrOption(), symbol.getIsContainChild() |
555 |
, symbol.getOriginalPoint(), symbol.getConnectionPoint() |
|
555 |
, symbol.getOriginalConvertingPoint(), symbol.getConnectionPoint()
|
|
556 | 556 |
, symbol.getBaseSymbol(), symbol.getAdditionalSymbol(), symbol.getIsExceptDetect(), |
557 | 557 |
symbol.getHasInstrumentLabel() |
558 | 558 |
, symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str) |
... | ... | |
594 | 594 |
query = (symbol.getName(), symbol.getType(), symbol.getThreshold() |
595 | 595 |
, symbol.getMinMatchCount(), symbol.getIsDetectOnOrigin(), symbol.getRotationCount() |
596 | 596 |
, symbol.getOcrOption(), symbol.getIsContainChild() |
597 |
, symbol.getOriginalPoint(), symbol.getConnectionPoint() |
|
597 |
, symbol.getOriginalConvertingPoint(), symbol.getConnectionPoint()
|
|
598 | 598 |
, symbol.getBaseSymbol(), symbol.getAdditionalSymbol(), symbol.getIsExceptDetect(), |
599 | 599 |
symbol.getHasInstrumentLabel(), symbol.width, symbol.height, symbol.detectFlip, symbol.text_area_str, |
600 | 600 |
symbol.getUid()) |
DTI_PID/DTI_PID/Commands/OriginalPointCommand.py | ||
---|---|---|
63 | 63 |
self.isSelected = True |
64 | 64 |
self.originalPointLineEdit.setText("{},{}".format(newScenePos.x(), newScenePos.y())) |
65 | 65 |
self.imageViewer.isOriginalPointSelected = True |
66 |
self.originalPointLineEdit.tag = origin |
|
66 | 67 |
self.onSuccess.emit(origin) |
67 | 68 |
else: |
68 | 69 |
QMessageBox.about(self.imageViewer, self.tr('Notice'), self.tr('Please select inside of the symbol.')) |
DTI_PID/DTI_PID/ConfigurationDialog.py | ||
---|---|---|
524 | 524 |
else: |
525 | 525 |
self.ui.radioButtonSaveUnknownYes.setChecked(True) |
526 | 526 |
self.ui.radioButtonSaveUnknownNo.setChecked(False) |
527 |
configs = docData.getConfigs('Data', 'Converting Point') |
|
528 |
if configs: |
|
529 |
size = int(configs[0].value) |
|
530 |
self.ui.radioButtonConvertingPointYes.setChecked(True if size == 1 else False) |
|
531 |
self.ui.radioButtonConvertingPointNo.setChecked(True if size == -1 else False) |
|
532 |
else: |
|
533 |
self.ui.radioButtonConvertingPointNo.setChecked(True) |
|
534 |
self.ui.radioButtonConvertingPointYes.setChecked(False) |
|
527 | 535 |
configs = docData.getConfigs('Line List', 'Use Stream No') |
528 | 536 |
if configs: |
529 | 537 |
size = int(configs[0].value) |
... | ... | |
1394 | 1402 |
configs.append( |
1395 | 1403 |
Config('Data Save', 'Unknown Xml Only', '1' if self.ui.radioButtonSaveUnknownYes.isChecked() else '-1')) |
1396 | 1404 |
configs.append( |
1405 |
Config('Data', 'Converting Point', '1' if self.ui.radioButtonConvertingPointYes.isChecked() else '-1')) |
|
1406 |
configs.append( |
|
1397 | 1407 |
Config('Line List', 'Use Stream No', '1' if self.ui.radioButtonLineListYes.isChecked() else '-1')) |
1398 | 1408 |
configs.append(Config('Engine', 'Address', self.ui.lineEditServerAddress.text())) |
1399 | 1409 |
configs.append(Config('Engine', 'Text Area', '1' if self.ui.radioButtonTextAreaLocal.isChecked() else '-1')) |
DTI_PID/DTI_PID/Configuration_UI.py | ||
---|---|---|
828 | 828 |
self.gridLayout_23.setObjectName("gridLayout_23") |
829 | 829 |
self.gridLayout_31 = QtWidgets.QGridLayout() |
830 | 830 |
self.gridLayout_31.setObjectName("gridLayout_31") |
831 |
self.label_34 = QtWidgets.QLabel(self.groupBox_11) |
|
832 |
self.label_34.setObjectName("label_34") |
|
833 |
self.gridLayout_31.addWidget(self.label_34, 3, 0, 1, 1) |
|
834 |
self.horizontalLayout_14 = QtWidgets.QHBoxLayout() |
|
835 |
self.horizontalLayout_14.setObjectName("horizontalLayout_14") |
|
836 |
self.radioButtonLineListYes = QtWidgets.QRadioButton(self.groupBox_11) |
|
837 |
self.radioButtonLineListYes.setObjectName("radioButtonLineListYes") |
|
838 |
self.buttonGroup_11 = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
839 |
self.buttonGroup_11.setObjectName("buttonGroup_11") |
|
840 |
self.buttonGroup_11.addButton(self.radioButtonLineListYes) |
|
841 |
self.horizontalLayout_14.addWidget(self.radioButtonLineListYes) |
|
842 |
self.radioButtonLineListNo = QtWidgets.QRadioButton(self.groupBox_11) |
|
843 |
self.radioButtonLineListNo.setObjectName("radioButtonLineListNo") |
|
844 |
self.buttonGroup_11.addButton(self.radioButtonLineListNo) |
|
845 |
self.horizontalLayout_14.addWidget(self.radioButtonLineListNo) |
|
846 |
self.gridLayout_31.addLayout(self.horizontalLayout_14, 4, 1, 1, 1) |
|
847 |
self.label_31 = QtWidgets.QLabel(self.groupBox_11) |
|
848 |
self.label_31.setMinimumSize(QtCore.QSize(200, 0)) |
|
849 |
self.label_31.setObjectName("label_31") |
|
850 |
self.gridLayout_31.addWidget(self.label_31, 5, 0, 1, 1) |
|
851 |
self.spinBoxSaveAlarm = QtWidgets.QSpinBox(self.groupBox_11) |
|
852 |
self.spinBoxSaveAlarm.setMaximum(100) |
|
853 |
self.spinBoxSaveAlarm.setSingleStep(10) |
|
854 |
self.spinBoxSaveAlarm.setObjectName("spinBoxSaveAlarm") |
|
855 |
self.gridLayout_31.addWidget(self.spinBoxSaveAlarm, 0, 1, 1, 1) |
|
856 | 831 |
self.label_61 = QtWidgets.QLabel(self.groupBox_11) |
857 | 832 |
self.label_61.setObjectName("label_61") |
858 | 833 |
self.gridLayout_31.addWidget(self.label_61, 6, 0, 1, 1) |
859 |
self.label_62 = QtWidgets.QLabel(self.groupBox_11) |
|
860 |
self.label_62.setObjectName("label_62") |
|
861 |
self.gridLayout_31.addWidget(self.label_62, 7, 0, 1, 1) |
|
862 |
self.label_49 = QtWidgets.QLabel(self.groupBox_11) |
|
863 |
self.label_49.setObjectName("label_49") |
|
864 |
self.gridLayout_31.addWidget(self.label_49, 0, 0, 1, 1) |
|
865 |
self.pushButtonClearAccessInfo = QtWidgets.QPushButton(self.groupBox_11) |
|
866 |
self.pushButtonClearAccessInfo.setObjectName("pushButtonClearAccessInfo") |
|
867 |
self.gridLayout_31.addWidget(self.pushButtonClearAccessInfo, 5, 1, 1, 1) |
|
868 | 834 |
self.label_30 = QtWidgets.QLabel(self.groupBox_11) |
869 | 835 |
self.label_30.setObjectName("label_30") |
870 | 836 |
self.gridLayout_31.addWidget(self.label_30, 2, 0, 1, 1) |
871 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
872 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
873 |
self.radioButtonLoadXmlOnly = QtWidgets.QRadioButton(self.groupBox_11) |
|
874 |
self.radioButtonLoadXmlOnly.setObjectName("radioButtonLoadXmlOnly") |
|
875 |
self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
876 |
self.buttonGroup.setObjectName("buttonGroup") |
|
877 |
self.buttonGroup.addButton(self.radioButtonLoadXmlOnly) |
|
878 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlOnly) |
|
879 |
self.radioButtonLoadXmlYes = QtWidgets.QRadioButton(self.groupBox_11) |
|
880 |
self.radioButtonLoadXmlYes.setAutoExclusive(True) |
|
881 |
self.radioButtonLoadXmlYes.setObjectName("radioButtonLoadXmlYes") |
|
882 |
self.buttonGroup.addButton(self.radioButtonLoadXmlYes) |
|
883 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlYes) |
|
884 |
self.radioButtonLoadXmlNo = QtWidgets.QRadioButton(self.groupBox_11) |
|
885 |
self.radioButtonLoadXmlNo.setAutoExclusive(True) |
|
886 |
self.radioButtonLoadXmlNo.setObjectName("radioButtonLoadXmlNo") |
|
887 |
self.buttonGroup.addButton(self.radioButtonLoadXmlNo) |
|
888 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlNo) |
|
889 |
self.gridLayout_31.addLayout(self.horizontalLayout_3, 2, 1, 1, 1) |
|
890 |
spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
891 |
self.gridLayout_31.addItem(spacerItem8, 2, 2, 1, 1) |
|
892 |
self.label_58 = QtWidgets.QLabel(self.groupBox_11) |
|
893 |
self.label_58.setObjectName("label_58") |
|
894 |
self.gridLayout_31.addWidget(self.label_58, 4, 0, 1, 1) |
|
895 | 837 |
self.horizontalLayout_4 = QtWidgets.QHBoxLayout() |
896 | 838 |
self.horizontalLayout_4.setObjectName("horizontalLayout_4") |
897 | 839 |
self.radioButtonSaveUnknownYes = QtWidgets.QRadioButton(self.groupBox_11) |
... | ... | |
907 | 849 |
self.buttonGroup_2.addButton(self.radioButtonSaveUnknownNo) |
908 | 850 |
self.horizontalLayout_4.addWidget(self.radioButtonSaveUnknownNo) |
909 | 851 |
self.gridLayout_31.addLayout(self.horizontalLayout_4, 3, 1, 1, 1) |
910 |
self.spinBoxConnectionPort = QtWidgets.QSpinBox(self.groupBox_11) |
|
911 |
self.spinBoxConnectionPort.setMaximum(9999) |
|
912 |
self.spinBoxConnectionPort.setProperty("value", 3030) |
|
913 |
self.spinBoxConnectionPort.setObjectName("spinBoxConnectionPort") |
|
914 |
self.gridLayout_31.addWidget(self.spinBoxConnectionPort, 7, 1, 1, 1) |
|
915 |
self.label_67 = QtWidgets.QLabel(self.groupBox_11) |
|
916 |
self.label_67.setObjectName("label_67") |
|
917 |
self.gridLayout_31.addWidget(self.label_67, 8, 0, 1, 1) |
|
852 |
self.label_34 = QtWidgets.QLabel(self.groupBox_11) |
|
853 |
self.label_34.setObjectName("label_34") |
|
854 |
self.gridLayout_31.addWidget(self.label_34, 3, 0, 1, 1) |
|
918 | 855 |
self.pushButtonClearDatabase = QtWidgets.QPushButton(self.groupBox_11) |
919 | 856 |
self.pushButtonClearDatabase.setObjectName("pushButtonClearDatabase") |
920 | 857 |
self.gridLayout_31.addWidget(self.pushButtonClearDatabase, 8, 1, 1, 1) |
... | ... | |
923 | 860 |
self.spinBoxListeningPort.setProperty("value", 2549) |
924 | 861 |
self.spinBoxListeningPort.setObjectName("spinBoxListeningPort") |
925 | 862 |
self.gridLayout_31.addWidget(self.spinBoxListeningPort, 6, 1, 1, 1) |
863 |
self.horizontalLayout_14 = QtWidgets.QHBoxLayout() |
|
864 |
self.horizontalLayout_14.setObjectName("horizontalLayout_14") |
|
865 |
self.radioButtonLineListYes = QtWidgets.QRadioButton(self.groupBox_11) |
|
866 |
self.radioButtonLineListYes.setObjectName("radioButtonLineListYes") |
|
867 |
self.buttonGroup_11 = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
868 |
self.buttonGroup_11.setObjectName("buttonGroup_11") |
|
869 |
self.buttonGroup_11.addButton(self.radioButtonLineListYes) |
|
870 |
self.horizontalLayout_14.addWidget(self.radioButtonLineListYes) |
|
871 |
self.radioButtonLineListNo = QtWidgets.QRadioButton(self.groupBox_11) |
|
872 |
self.radioButtonLineListNo.setObjectName("radioButtonLineListNo") |
|
873 |
self.buttonGroup_11.addButton(self.radioButtonLineListNo) |
|
874 |
self.horizontalLayout_14.addWidget(self.radioButtonLineListNo) |
|
875 |
self.gridLayout_31.addLayout(self.horizontalLayout_14, 4, 1, 1, 1) |
|
876 |
spacerItem8 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
|
877 |
self.gridLayout_31.addItem(spacerItem8, 2, 2, 1, 1) |
|
878 |
self.spinBoxConnectionPort = QtWidgets.QSpinBox(self.groupBox_11) |
|
879 |
self.spinBoxConnectionPort.setMaximum(9999) |
|
880 |
self.spinBoxConnectionPort.setProperty("value", 3030) |
|
881 |
self.spinBoxConnectionPort.setObjectName("spinBoxConnectionPort") |
|
882 |
self.gridLayout_31.addWidget(self.spinBoxConnectionPort, 7, 1, 1, 1) |
|
883 |
self.label_58 = QtWidgets.QLabel(self.groupBox_11) |
|
884 |
self.label_58.setObjectName("label_58") |
|
885 |
self.gridLayout_31.addWidget(self.label_58, 4, 0, 1, 1) |
|
926 | 886 |
self.lineEditClearDatabase = QtWidgets.QLineEdit(self.groupBox_11) |
927 | 887 |
self.lineEditClearDatabase.setObjectName("lineEditClearDatabase") |
928 | 888 |
self.gridLayout_31.addWidget(self.lineEditClearDatabase, 8, 2, 1, 1) |
929 | 889 |
self.label_68 = QtWidgets.QLabel(self.groupBox_11) |
930 | 890 |
self.label_68.setObjectName("label_68") |
931 | 891 |
self.gridLayout_31.addWidget(self.label_68, 1, 0, 1, 1) |
892 |
self.label_31 = QtWidgets.QLabel(self.groupBox_11) |
|
893 |
self.label_31.setMinimumSize(QtCore.QSize(200, 0)) |
|
894 |
self.label_31.setObjectName("label_31") |
|
895 |
self.gridLayout_31.addWidget(self.label_31, 5, 0, 1, 1) |
|
932 | 896 |
self.horizontalLayout_20 = QtWidgets.QHBoxLayout() |
933 | 897 |
self.horizontalLayout_20.setObjectName("horizontalLayout_20") |
934 | 898 |
self.radioButtonSaveLinkYes = QtWidgets.QRadioButton(self.groupBox_11) |
... | ... | |
942 | 906 |
self.buttonGroup_17.addButton(self.radioButtonSaveLinkNo) |
943 | 907 |
self.horizontalLayout_20.addWidget(self.radioButtonSaveLinkNo) |
944 | 908 |
self.gridLayout_31.addLayout(self.horizontalLayout_20, 1, 1, 1, 1) |
909 |
self.label_49 = QtWidgets.QLabel(self.groupBox_11) |
|
910 |
self.label_49.setObjectName("label_49") |
|
911 |
self.gridLayout_31.addWidget(self.label_49, 0, 0, 1, 1) |
|
912 |
self.label_62 = QtWidgets.QLabel(self.groupBox_11) |
|
913 |
self.label_62.setObjectName("label_62") |
|
914 |
self.gridLayout_31.addWidget(self.label_62, 7, 0, 1, 1) |
|
915 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
|
916 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
|
917 |
self.radioButtonLoadXmlOnly = QtWidgets.QRadioButton(self.groupBox_11) |
|
918 |
self.radioButtonLoadXmlOnly.setObjectName("radioButtonLoadXmlOnly") |
|
919 |
self.buttonGroup = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
920 |
self.buttonGroup.setObjectName("buttonGroup") |
|
921 |
self.buttonGroup.addButton(self.radioButtonLoadXmlOnly) |
|
922 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlOnly) |
|
923 |
self.radioButtonLoadXmlYes = QtWidgets.QRadioButton(self.groupBox_11) |
|
924 |
self.radioButtonLoadXmlYes.setAutoExclusive(True) |
|
925 |
self.radioButtonLoadXmlYes.setObjectName("radioButtonLoadXmlYes") |
|
926 |
self.buttonGroup.addButton(self.radioButtonLoadXmlYes) |
|
927 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlYes) |
|
928 |
self.radioButtonLoadXmlNo = QtWidgets.QRadioButton(self.groupBox_11) |
|
929 |
self.radioButtonLoadXmlNo.setAutoExclusive(True) |
|
930 |
self.radioButtonLoadXmlNo.setObjectName("radioButtonLoadXmlNo") |
|
931 |
self.buttonGroup.addButton(self.radioButtonLoadXmlNo) |
|
932 |
self.horizontalLayout_3.addWidget(self.radioButtonLoadXmlNo) |
|
933 |
self.gridLayout_31.addLayout(self.horizontalLayout_3, 2, 1, 1, 1) |
|
934 |
self.spinBoxSaveAlarm = QtWidgets.QSpinBox(self.groupBox_11) |
|
935 |
self.spinBoxSaveAlarm.setMaximum(100) |
|
936 |
self.spinBoxSaveAlarm.setSingleStep(10) |
|
937 |
self.spinBoxSaveAlarm.setObjectName("spinBoxSaveAlarm") |
|
938 |
self.gridLayout_31.addWidget(self.spinBoxSaveAlarm, 0, 1, 1, 1) |
|
939 |
self.label_67 = QtWidgets.QLabel(self.groupBox_11) |
|
940 |
self.label_67.setObjectName("label_67") |
|
941 |
self.gridLayout_31.addWidget(self.label_67, 8, 0, 1, 1) |
|
942 |
self.pushButtonClearAccessInfo = QtWidgets.QPushButton(self.groupBox_11) |
|
943 |
self.pushButtonClearAccessInfo.setObjectName("pushButtonClearAccessInfo") |
|
944 |
self.gridLayout_31.addWidget(self.pushButtonClearAccessInfo, 5, 1, 1, 1) |
|
945 |
self.label_71 = QtWidgets.QLabel(self.groupBox_11) |
|
946 |
self.label_71.setObjectName("label_71") |
|
947 |
self.gridLayout_31.addWidget(self.label_71, 9, 0, 1, 1) |
|
948 |
self.horizontalLayout_22 = QtWidgets.QHBoxLayout() |
|
949 |
self.horizontalLayout_22.setObjectName("horizontalLayout_22") |
|
950 |
self.radioButtonConvertingPointYes = QtWidgets.QRadioButton(self.groupBox_11) |
|
951 |
self.radioButtonConvertingPointYes.setObjectName("radioButtonConvertingPointYes") |
|
952 |
self.buttonGroup_19 = QtWidgets.QButtonGroup(ConfigurationDialog) |
|
953 |
self.buttonGroup_19.setObjectName("buttonGroup_19") |
|
954 |
self.buttonGroup_19.addButton(self.radioButtonConvertingPointYes) |
|
955 |
self.horizontalLayout_22.addWidget(self.radioButtonConvertingPointYes) |
|
956 |
self.radioButtonConvertingPointNo = QtWidgets.QRadioButton(self.groupBox_11) |
|
957 |
self.radioButtonConvertingPointNo.setObjectName("radioButtonConvertingPointNo") |
|
958 |
self.buttonGroup_19.addButton(self.radioButtonConvertingPointNo) |
|
959 |
self.horizontalLayout_22.addWidget(self.radioButtonConvertingPointNo) |
|
960 |
self.gridLayout_31.addLayout(self.horizontalLayout_22, 9, 1, 1, 1) |
|
945 | 961 |
self.gridLayout_23.addLayout(self.gridLayout_31, 0, 0, 1, 1) |
946 | 962 |
self.gridLayout_21.addWidget(self.groupBox_11, 0, 0, 1, 1) |
947 | 963 |
self.groupBox_12 = QtWidgets.QGroupBox(self.tabETC) |
... | ... | |
1281 | 1297 |
self.label_25.setText(_translate("ConfigurationDialog", "Color Representation")) |
1282 | 1298 |
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tabLineColor), _translate("ConfigurationDialog", "Line No Color")) |
1283 | 1299 |
self.groupBox_11.setTitle(_translate("ConfigurationDialog", "Program Data")) |
1300 |
self.label_61.setText(_translate("ConfigurationDialog", "Listening Port(2549) : ")) |
|
1301 |
self.label_30.setText(_translate("ConfigurationDialog", "Load Data From : ")) |
|
1302 |
self.radioButtonSaveUnknownYes.setText(_translate("ConfigurationDialog", "Yes")) |
|
1303 |
self.radioButtonSaveUnknownNo.setText(_translate("ConfigurationDialog", "No")) |
|
1284 | 1304 |
self.label_34.setText(_translate("ConfigurationDialog", "Save Unknown Item to XML Only : ")) |
1305 |
self.pushButtonClearDatabase.setText(_translate("ConfigurationDialog", "Clear")) |
|
1285 | 1306 |
self.radioButtonLineListYes.setText(_translate("ConfigurationDialog", "Yes")) |
1286 | 1307 |
self.radioButtonLineListNo.setText(_translate("ConfigurationDialog", "No")) |
1308 |
self.label_58.setText(_translate("ConfigurationDialog", "Line List by Using Stream No : ")) |
|
1309 |
self.label_68.setText(_translate("ConfigurationDialog", "Save Alarm Before Link Attribute : ")) |
|
1287 | 1310 |
self.label_31.setText(_translate("ConfigurationDialog", "Clear Drawing Access Information : ")) |
1288 |
self.label_61.setText(_translate("ConfigurationDialog", "Listening Port(2549) : "))
|
|
1289 |
self.label_62.setText(_translate("ConfigurationDialog", "Connection Port(3030) : "))
|
|
1311 |
self.radioButtonSaveLinkYes.setText(_translate("ConfigurationDialog", "Yes"))
|
|
1312 |
self.radioButtonSaveLinkNo.setText(_translate("ConfigurationDialog", "No"))
|
|
1290 | 1313 |
self.label_49.setText(_translate("ConfigurationDialog", "Save Alarm(min) : ")) |
1291 |
self.pushButtonClearAccessInfo.setText(_translate("ConfigurationDialog", "Clear")) |
|
1292 |
self.label_30.setText(_translate("ConfigurationDialog", "Load Data From : ")) |
|
1314 |
self.label_62.setText(_translate("ConfigurationDialog", "Connection Port(3030) : ")) |
|
1293 | 1315 |
self.radioButtonLoadXmlOnly.setText(_translate("ConfigurationDialog", "XML Only")) |
1294 | 1316 |
self.radioButtonLoadXmlYes.setText(_translate("ConfigurationDialog", "XML Frist")) |
1295 | 1317 |
self.radioButtonLoadXmlNo.setText(_translate("ConfigurationDialog", "Database Only")) |
1296 |
self.label_58.setText(_translate("ConfigurationDialog", "Line List by Using Stream No : ")) |
|
1297 |
self.radioButtonSaveUnknownYes.setText(_translate("ConfigurationDialog", "Yes")) |
|
1298 |
self.radioButtonSaveUnknownNo.setText(_translate("ConfigurationDialog", "No")) |
|
1299 | 1318 |
self.label_67.setText(_translate("ConfigurationDialog", "Clear Drawing Data from Database : ")) |
1300 |
self.pushButtonClearDatabase.setText(_translate("ConfigurationDialog", "Clear"))
|
|
1301 |
self.label_68.setText(_translate("ConfigurationDialog", "Save Alarm Before Link Attribute : "))
|
|
1302 |
self.radioButtonSaveLinkYes.setText(_translate("ConfigurationDialog", "Yes"))
|
|
1303 |
self.radioButtonSaveLinkNo.setText(_translate("ConfigurationDialog", "No"))
|
|
1319 |
self.pushButtonClearAccessInfo.setText(_translate("ConfigurationDialog", "Clear"))
|
|
1320 |
self.label_71.setText(_translate("ConfigurationDialog", "Use Converting Point : "))
|
|
1321 |
self.radioButtonConvertingPointYes.setText(_translate("ConfigurationDialog", "Yes"))
|
|
1322 |
self.radioButtonConvertingPointNo.setText(_translate("ConfigurationDialog", "No"))
|
|
1304 | 1323 |
self.groupBox_12.setTitle(_translate("ConfigurationDialog", "Visual")) |
1305 | 1324 |
self.label_36.setText(_translate("ConfigurationDialog", "Background Text Transparency : ")) |
1306 | 1325 |
self.radioButtonBackTextYes.setText(_translate("ConfigurationDialog", "Yes")) |
DTI_PID/DTI_PID/SymbolBase.py | ||
---|---|---|
20 | 20 |
self.rotationCount = rotationCount |
21 | 21 |
self.ocrOption = ocrOption |
22 | 22 |
self.isContainChild = isContainChild |
23 |
self.originalPoint = originalPoint |
|
23 |
self.originalPoint = originalPoint if not originalPoint or '/' not in originalPoint else originalPoint.split('/')[0] |
|
24 |
self.convertingPoint = '' if not originalPoint or '/' not in originalPoint else originalPoint.split('/')[1] |
|
24 | 25 |
self.connectionPoint = connectionPoint |
25 | 26 |
self.baseSymbol = baseSymbol |
26 | 27 |
self.additionalSymbol = additionalSymbol |
... | ... | |
133 | 134 |
def setOriginalPoint(self, originalPoint): |
134 | 135 |
self.originalPoint = originalPoint |
135 | 136 |
|
137 |
def getOriginalConvertingPoint(self): |
|
138 |
return '/'.join([self.originalPoint, self.convertingPoint]) if self.convertingPoint else self.originalPoint |
|
139 |
|
|
136 | 140 |
def getOriginalPoint(self): |
137 | 141 |
return self.originalPoint |
142 |
|
|
143 |
def setConvertingPoint(self, convertingPoint): |
|
144 |
self.convertingPoint = convertingPoint |
|
145 |
|
|
146 |
def getConvertingPoint(self): |
|
147 |
return self.convertingPoint |
|
138 | 148 |
|
139 | 149 |
def parse_connection_pts(self, origin: list) -> list: |
140 | 150 |
""" |
DTI_PID/DTI_PID/SymbolEditorDialog.py | ||
---|---|---|
113 | 113 |
self.ui.addAdditionalSymbolButton.setEnabled(False) |
114 | 114 |
self.ui.additionalSymbolListWidget.setEnabled(False) |
115 | 115 |
self.ui.originalPointLineEdit.setEnabled(False) |
116 |
self.ui.lineEditConvertingPoint.setEnabled(False) |
|
116 | 117 |
self.ui.addOriginalPointButton.setEnabled(False) |
117 | 118 |
self.ui.connectionPointLineEdit.setEnabled(False) |
118 | 119 |
self.ui.addConnectionPointButton.setEnabled(False) |
... | ... | |
133 | 134 |
self.ui.delTextAreaButton.setEnabled(False) |
134 | 135 |
self.ui.toolButtonExpand.setEnabled(False) |
135 | 136 |
|
137 |
configs = AppDocData.instance().getConfigs('Data', 'Converting Point') |
|
138 |
convertingPoint = int(configs[0].value) if 1 == len(configs) else -1 |
|
139 |
if convertingPoint == -1: |
|
140 |
self.ui.label_6.setHidden(True) |
|
141 |
self.ui.lineEditConvertingPoint.setHidden(True) |
|
142 |
self.ui.pushButtonConvertingPointAdd.setHidden(True) |
|
143 |
self.ui.pushButtonConvertingPointDelete.setHidden(True) |
|
144 |
|
|
136 | 145 |
# unused function |
137 | 146 |
self.ui.label.setHidden(True) |
138 | 147 |
self.ui.label_2.setHidden(True) |
... | ... | |
377 | 386 |
self.initDefaultSymbolDirectionComboBoxItems() |
378 | 387 |
self.ui.addAdditionalSymbolButton.clicked.connect(self.addAdditionalSymbolEvent) |
379 | 388 |
self.ui.addOriginalPointButton.clicked.connect(self.addOriginalPoint) |
389 |
self.ui.pushButtonConvertingPointAdd.clicked.connect(self.addConvertingPoint) |
|
390 |
self.ui.pushButtonConvertingPointDelete.clicked.connect(self.delConvertingPoint) |
|
380 | 391 |
self.ui.addConnectionPointButton.clicked.connect(self.addConnectionPoint) |
381 | 392 |
self.initSymbolTypeComboBoxItems() |
382 | 393 |
# self.initBaseSymbolComboBoxItems(None) |
... | ... | |
478 | 489 |
self.ui.originalPointLineEdit.setText(originalPoint) |
479 | 490 |
OriginalPointCommand.OriginalPointCommand.drawCircle(self.ui.imageView, originalPoint.split(",")[0], |
480 | 491 |
originalPoint.split(",")[1]) |
492 |
|
|
493 |
convertingPoint = self.selectedSymbol.getConvertingPoint() |
|
494 |
self.ui.lineEditConvertingPoint.setText(convertingPoint) |
|
495 |
if convertingPoint: |
|
496 |
OriginalPointCommand.OriginalPointCommand.drawCircle(self.ui.imageView, convertingPoint.split(",")[0], |
|
497 |
convertingPoint.split(",")[1]) |
|
498 |
|
|
481 | 499 |
self.ui.imageView.isOriginalPointSelected = True |
482 | 500 |
|
483 | 501 |
connectionPoint = self.selectedSymbol.getConnectionPoint() |
... | ... | |
697 | 715 |
ocrOption = 0 |
698 | 716 |
isContainChild = 1 if self.ui.isContainChildCheckBox.isChecked() else 0 |
699 | 717 |
originalPoint = self.ui.originalPointLineEdit.text() |
718 |
convertingPoint = self.ui.lineEditConvertingPoint.text() |
|
719 |
originalPoint = '/'.join([originalPoint, convertingPoint]) if convertingPoint else originalPoint |
|
700 | 720 |
connectionPoint = self.makeConnectionPointListString() |
701 | 721 |
baseSymbol = item.text() # self.ui.baseSymbolComboBox.currentText() |
702 | 722 |
additionalSymbol = self.makeAdditionalSymbolListString() |
... | ... | |
1189 | 1209 |
''' |
1190 | 1210 |
@brief Original Point Tool Button Clicked |
1191 | 1211 |
''' |
1192 |
|
|
1193 | 1212 |
def addOriginalPoint(self, event): |
1194 | 1213 |
cmd = OriginalPointCommand.OriginalPointCommand(self.ui.imageView, self.ui.originalPointLineEdit) |
1195 | 1214 |
cmd.onSuccess.connect(self.onCommandSuccess) |
1196 | 1215 |
self.ui.imageView.command = cmd |
1197 | 1216 |
|
1217 |
def addConvertingPoint(self, event): |
|
1218 |
cmd = OriginalPointCommand.OriginalPointCommand(self.ui.imageView, self.ui.lineEditConvertingPoint) |
|
1219 |
cmd.onSuccess.connect(self.onCommandSuccess) |
|
1220 |
self.ui.imageView.command = cmd |
|
1221 |
|
|
1222 |
def delConvertingPoint(self, event): |
|
1223 |
self.ui.lineEditConvertingPoint.setText('') |
|
1224 |
if hasattr(self.ui.lineEditConvertingPoint, 'tag') and self.ui.lineEditConvertingPoint.tag: |
|
1225 |
self.ui.imageView.scene().removeItem(self.ui.lineEditConvertingPoint.tag) |
|
1226 |
|
|
1198 | 1227 |
''' |
1199 | 1228 |
@brief Connection Point Tool Button Clicked |
1200 | 1229 |
''' |
1201 |
|
|
1202 | 1230 |
def addConnectionPoint(self, event): |
1203 | 1231 |
cmd = ConnectionPointCommand.ConnectionPointCommand(self.ui.imageView, self.ui.connectionPointLineEdit, |
1204 | 1232 |
self.conn_index) |
... | ... | |
1210 | 1238 |
@author humkyung |
1211 | 1239 |
@date 2018.08.31 |
1212 | 1240 |
''' |
1213 |
|
|
1214 | 1241 |
def onDeleteConnPt(self): |
1215 | 1242 |
try: |
1216 | 1243 |
self.ui.imageView.command = None |
... | ... | |
1244 | 1271 |
@date 2018.05.03 |
1245 | 1272 |
@history 2018.05.09 Jeongwoo Remove comment and activate RemoveTextCommand |
1246 | 1273 |
''' |
1247 |
|
|
1248 | 1274 |
def removeTextClickEvent(self, event): |
1249 | 1275 |
self.addImageStack() |
1250 | 1276 |
|
... | ... | |
1255 | 1281 |
@author Jeongwoo |
1256 | 1282 |
@date 2018.06.11 |
1257 | 1283 |
''' |
1258 |
|
|
1259 | 1284 |
def initOriginalAndConnectionPoint(self): |
1260 | 1285 |
self.ui.originalPointLineEdit.setText('') |
1286 |
self.ui.lineEditConvertingPoint.setText('') |
|
1261 | 1287 |
self.ui.tableWidgetConnList.setRowCount(0) |
1262 | 1288 |
|
1263 | 1289 |
self.conn_index = 1 |
... | ... | |
1268 | 1294 |
@author Jeongwoo |
1269 | 1295 |
@date 2018.06.11 |
1270 | 1296 |
''' |
1271 |
|
|
1272 | 1297 |
def rotateLeftClickEvent(self, event): |
1273 | 1298 |
self.addImageStack() |
1274 | 1299 |
|
... | ... | |
1281 | 1306 |
@author Jeongwoo |
1282 | 1307 |
@date 2018.06.11 |
1283 | 1308 |
''' |
1284 |
|
|
1285 | 1309 |
def rotateRightClickEvent(self, event): |
1286 | 1310 |
self.addImageStack() |
1287 | 1311 |
|
... | ... | |
1294 | 1318 |
@author Jeongwoo |
1295 | 1319 |
@date 2018.06.11 |
1296 | 1320 |
''' |
1297 |
|
|
1298 | 1321 |
def flipHorizontalClickEvent(self, event): |
1299 | 1322 |
self.addImageStack() |
1300 | 1323 |
|
... | ... | |
1308 | 1331 |
@author Jeongwoo |
1309 | 1332 |
@date 2018.06.11 |
1310 | 1333 |
''' |
1311 |
|
|
1312 | 1334 |
def flipVerticalClickEvent(self, event): |
1313 | 1335 |
self.addImageStack() |
1314 | 1336 |
|
... | ... | |
1350 | 1372 |
@return (isValid, errorMsg) |
1351 | 1373 |
@history 2018.05.03 Jeongwoo Change self.dbHelper to AppDocData |
1352 | 1374 |
''' |
1353 |
|
|
1354 | 1375 |
def isValidSymbolInfo(self): |
1355 | 1376 |
EXCEPTION_MSG_FORMAT = self.tr('{} Please check input data.') |
1356 | 1377 |
EXCEPTION_MSG_DUPLICATED_FORMAT = self.tr('Already exist data {}.') |
DTI_PID/DTI_PID/SymbolEditor_UI.py | ||
---|---|---|
2 | 2 |
|
3 | 3 |
# Form implementation generated from reading ui file './UI/SymbolEditor.ui' |
4 | 4 |
# |
5 |
# Created by: PyQt5 UI code generator 5.9.2
|
|
5 |
# Created by: PyQt5 UI code generator 5.15.4
|
|
6 | 6 |
# |
7 |
# WARNING! All changes made in this file will be lost! |
|
7 |
# WARNING: Any manual changes made to this file will be lost when pyuic5 is |
|
8 |
# run again. Do not edit this file unless you know what you are doing. |
|
9 |
|
|
8 | 10 |
|
9 | 11 |
from PyQt5 import QtCore, QtGui, QtWidgets |
10 | 12 |
|
13 |
|
|
11 | 14 |
class Ui_SymbolEditorDialog(object): |
12 | 15 |
def setupUi(self, SymbolEditorDialog): |
13 | 16 |
SymbolEditorDialog.setObjectName("SymbolEditorDialog") |
... | ... | |
269 | 272 |
self.gridLayout_4.setObjectName("gridLayout_4") |
270 | 273 |
self.gridLayout_7 = QtWidgets.QGridLayout() |
271 | 274 |
self.gridLayout_7.setObjectName("gridLayout_7") |
272 |
self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) |
|
273 |
font = QtGui.QFont() |
|
274 |
font.setBold(True) |
|
275 |
font.setWeight(75) |
|
276 |
self.groupBox.setFont(font) |
|
277 |
self.groupBox.setObjectName("groupBox") |
|
278 |
self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox) |
|
279 |
self.gridLayout_8.setObjectName("gridLayout_8") |
|
280 |
self.treeViewSymbolCategory = QtWidgets.QTreeView(self.groupBox) |
|
281 |
self.treeViewSymbolCategory.setObjectName("treeViewSymbolCategory") |
|
282 |
self.gridLayout_8.addWidget(self.treeViewSymbolCategory, 1, 0, 1, 1) |
|
283 |
self.lineEditFilter = QtWidgets.QLineEdit(self.groupBox) |
|
284 |
self.lineEditFilter.setObjectName("lineEditFilter") |
|
285 |
self.gridLayout_8.addWidget(self.lineEditFilter, 0, 0, 1, 1) |
|
286 |
self.gridLayout_7.addWidget(self.groupBox, 5, 0, 1, 4) |
|
287 |
self.immediateInsertLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
288 |
font = QtGui.QFont() |
|
289 |
font.setBold(True) |
|
290 |
font.setWeight(75) |
|
291 |
self.immediateInsertLabel.setFont(font) |
|
292 |
self.immediateInsertLabel.setObjectName("immediateInsertLabel") |
|
293 |
self.gridLayout_7.addWidget(self.immediateInsertLabel, 15, 0, 1, 1) |
|
294 |
self.additionalSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
295 |
font = QtGui.QFont() |
|
296 |
font.setBold(True) |
|
297 |
font.setWeight(75) |
|
298 |
self.additionalSymbolLabel.setFont(font) |
|
299 |
self.additionalSymbolLabel.setObjectName("additionalSymbolLabel") |
|
300 |
self.gridLayout_7.addWidget(self.additionalSymbolLabel, 8, 0, 1, 1) |
|
301 |
self.hasInstrumentLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
302 |
font = QtGui.QFont() |
|
303 |
font.setBold(True) |
|
304 |
font.setWeight(75) |
|
305 |
self.hasInstrumentLabel.setFont(font) |
|
306 |
self.hasInstrumentLabel.setObjectName("hasInstrumentLabel") |
|
307 |
self.gridLayout_7.addWidget(self.hasInstrumentLabel, 13, 0, 1, 1) |
|
308 |
self.addTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
309 |
self.addTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
310 |
self.addTextAreaButton.setText("") |
|
311 |
icon18 = QtGui.QIcon() |
|
312 |
icon18.addPixmap(QtGui.QPixmap(":/newPrefix/Add.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
313 |
self.addTextAreaButton.setIcon(icon18) |
|
314 |
self.addTextAreaButton.setObjectName("addTextAreaButton") |
|
315 |
self.gridLayout_7.addWidget(self.addTextAreaButton, 6, 2, 1, 1) |
|
316 |
self.textAreaLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
317 |
self.textAreaLineEdit.setObjectName("textAreaLineEdit") |
|
318 |
self.gridLayout_7.addWidget(self.textAreaLineEdit, 6, 1, 1, 1) |
|
319 |
self.delTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
320 |
self.delTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
321 |
self.delTextAreaButton.setText("") |
|
322 |
icon19 = QtGui.QIcon() |
|
323 |
icon19.addPixmap(QtGui.QPixmap(":/newPrefix/Remove.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
324 |
self.delTextAreaButton.setIcon(icon19) |
|
325 |
self.delTextAreaButton.setObjectName("delTextAreaButton") |
|
326 |
self.gridLayout_7.addWidget(self.delTextAreaButton, 6, 3, 1, 1) |
|
327 |
self.thresholdLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
328 |
font = QtGui.QFont() |
|
329 |
font.setBold(True) |
|
330 |
font.setWeight(75) |
|
331 |
self.thresholdLabel.setFont(font) |
|
332 |
self.thresholdLabel.setObjectName("thresholdLabel") |
|
333 |
self.gridLayout_7.addWidget(self.thresholdLabel, 1, 0, 1, 1) |
|
334 |
self.rotationCountLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
335 |
font = QtGui.QFont() |
|
336 |
font.setBold(True) |
|
337 |
font.setWeight(75) |
|
338 |
self.rotationCountLabel.setFont(font) |
|
339 |
self.rotationCountLabel.setObjectName("rotationCountLabel") |
|
340 |
self.gridLayout_7.addWidget(self.rotationCountLabel, 3, 0, 1, 1) |
|
341 |
self.makeFlipLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
342 |
font = QtGui.QFont() |
|
343 |
font.setBold(True) |
|
344 |
font.setWeight(75) |
|
345 |
self.makeFlipLabel.setFont(font) |
|
346 |
self.makeFlipLabel.setObjectName("makeFlipLabel") |
|
347 |
self.gridLayout_7.addWidget(self.makeFlipLabel, 16, 0, 1, 1) |
|
348 |
self.pushButtonDelConnPt = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
349 |
self.pushButtonDelConnPt.setMinimumSize(QtCore.QSize(40, 0)) |
|
350 |
self.pushButtonDelConnPt.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
351 |
self.pushButtonDelConnPt.setText("") |
|
352 |
self.pushButtonDelConnPt.setIcon(icon19) |
|
353 |
self.pushButtonDelConnPt.setObjectName("pushButtonDelConnPt") |
|
354 |
self.gridLayout_7.addWidget(self.pushButtonDelConnPt, 11, 3, 1, 1) |
|
355 |
self.addConnectionPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
356 |
self.addConnectionPointButton.setMinimumSize(QtCore.QSize(40, 0)) |
|
357 |
self.addConnectionPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
358 |
self.addConnectionPointButton.setText("") |
|
359 |
self.addConnectionPointButton.setIcon(icon18) |
|
360 |
self.addConnectionPointButton.setObjectName("addConnectionPointButton") |
|
361 |
self.gridLayout_7.addWidget(self.addConnectionPointButton, 11, 2, 1, 1) |
|
362 |
self.addOriginalPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
363 |
self.addOriginalPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
364 |
self.addOriginalPointButton.setText("") |
|
365 |
self.addOriginalPointButton.setIcon(icon18) |
|
366 |
self.addOriginalPointButton.setObjectName("addOriginalPointButton") |
|
367 |
self.gridLayout_7.addWidget(self.addOriginalPointButton, 10, 2, 1, 1) |
|
368 |
self.connectionPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
275 |
self.minMatchPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
369 | 276 |
font = QtGui.QFont() |
370 | 277 |
font.setBold(True) |
371 | 278 |
font.setWeight(75) |
372 |
self.connectionPointLabel.setFont(font) |
|
373 |
self.connectionPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
374 |
self.connectionPointLabel.setObjectName("connectionPointLabel") |
|
375 |
self.gridLayout_7.addWidget(self.connectionPointLabel, 11, 0, 1, 1) |
|
376 |
self.rotationCountSpinBox = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
377 |
self.rotationCountSpinBox.setMinimum(0) |
|
378 |
self.rotationCountSpinBox.setMaximum(270) |
|
379 |
self.rotationCountSpinBox.setSingleStep(90) |
|
380 |
self.rotationCountSpinBox.setProperty("value", 0) |
|
381 |
self.rotationCountSpinBox.setObjectName("rotationCountSpinBox") |
|
382 |
self.gridLayout_7.addWidget(self.rotationCountSpinBox, 3, 1, 1, 3) |
|
383 |
self.pushButtonChange = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
384 |
self.pushButtonChange.setObjectName("pushButtonChange") |
|
385 |
self.gridLayout_7.addWidget(self.pushButtonChange, 18, 1, 1, 3) |
|
386 |
self.minMatchPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
387 |
self.minMatchPointLineEdit.setEnabled(False) |
|
388 |
self.minMatchPointLineEdit.setObjectName("minMatchPointLineEdit") |
|
389 |
self.gridLayout_7.addWidget(self.minMatchPointLineEdit, 2, 1, 1, 3) |
|
390 |
self.isContainChildCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
391 |
self.isContainChildCheckBox.setText("") |
|
392 |
self.isContainChildCheckBox.setCheckable(True) |
|
393 |
self.isContainChildCheckBox.setObjectName("isContainChildCheckBox") |
|
394 |
self.gridLayout_7.addWidget(self.isContainChildCheckBox, 4, 1, 1, 3) |
|
395 |
self.isExceptDetectCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
396 |
self.isExceptDetectCheckBox.setText("") |
|
397 |
self.isExceptDetectCheckBox.setObjectName("isExceptDetectCheckBox") |
|
398 |
self.gridLayout_7.addWidget(self.isExceptDetectCheckBox, 14, 1, 1, 3) |
|
279 |
self.minMatchPointLabel.setFont(font) |
|
280 |
self.minMatchPointLabel.setObjectName("minMatchPointLabel") |
|
281 |
self.gridLayout_7.addWidget(self.minMatchPointLabel, 2, 0, 1, 1) |
|
399 | 282 |
self.nameLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
400 | 283 |
self.nameLineEdit.setObjectName("nameLineEdit") |
401 | 284 |
self.gridLayout_7.addWidget(self.nameLineEdit, 0, 1, 1, 3) |
402 |
self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
403 |
font = QtGui.QFont() |
|
404 |
font.setBold(True) |
|
405 |
font.setWeight(75) |
|
406 |
self.label_3.setFont(font) |
|
407 |
self.label_3.setObjectName("label_3") |
|
408 |
self.gridLayout_7.addWidget(self.label_3, 17, 0, 1, 1) |
|
409 |
self.tableWidgetConnList = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
|
410 |
self.tableWidgetConnList.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
411 |
self.tableWidgetConnList.setObjectName("tableWidgetConnList") |
|
412 |
self.tableWidgetConnList.setColumnCount(0) |
|
413 |
self.tableWidgetConnList.setRowCount(0) |
|
414 |
self.tableWidgetConnList.verticalHeader().setVisible(False) |
|
415 |
self.gridLayout_7.addWidget(self.tableWidgetConnList, 12, 1, 1, 3) |
|
416 |
self.isContainChildLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
417 |
font = QtGui.QFont() |
|
418 |
font.setBold(True) |
|
419 |
font.setWeight(75) |
|
420 |
self.isContainChildLabel.setFont(font) |
|
421 |
self.isContainChildLabel.setObjectName("isContainChildLabel") |
|
422 |
self.gridLayout_7.addWidget(self.isContainChildLabel, 4, 0, 1, 1) |
|
423 |
self.originalPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
424 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) |
|
425 |
sizePolicy.setHorizontalStretch(0) |
|
426 |
sizePolicy.setVerticalStretch(0) |
|
427 |
sizePolicy.setHeightForWidth(self.originalPointLabel.sizePolicy().hasHeightForWidth()) |
|
428 |
self.originalPointLabel.setSizePolicy(sizePolicy) |
|
429 |
font = QtGui.QFont() |
|
430 |
font.setBold(True) |
|
431 |
font.setWeight(75) |
|
432 |
self.originalPointLabel.setFont(font) |
|
433 |
self.originalPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
434 |
self.originalPointLabel.setObjectName("originalPointLabel") |
|
435 |
self.gridLayout_7.addWidget(self.originalPointLabel, 10, 0, 1, 1) |
|
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) |
|
436 | 289 |
self.label_4 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
437 | 290 |
font = QtGui.QFont() |
438 | 291 |
font.setBold(True) |
439 | 292 |
font.setWeight(75) |
440 | 293 |
self.label_4.setFont(font) |
441 | 294 |
self.label_4.setObjectName("label_4") |
442 |
self.gridLayout_7.addWidget(self.label_4, 18, 0, 1, 1) |
|
443 |
self.additionalSymbolListWidget = QtWidgets.QListWidget(self.scrollAreaWidgetContents) |
|
444 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) |
|
445 |
sizePolicy.setHorizontalStretch(0) |
|
446 |
sizePolicy.setVerticalStretch(0) |
|
447 |
sizePolicy.setHeightForWidth(self.additionalSymbolListWidget.sizePolicy().hasHeightForWidth()) |
|
448 |
self.additionalSymbolListWidget.setSizePolicy(sizePolicy) |
|
449 |
self.additionalSymbolListWidget.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
450 |
self.additionalSymbolListWidget.setObjectName("additionalSymbolListWidget") |
|
451 |
self.gridLayout_7.addWidget(self.additionalSymbolListWidget, 9, 1, 1, 3) |
|
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) |
|
452 | 300 |
self.nameLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
453 | 301 |
font = QtGui.QFont() |
454 | 302 |
font.setBold(True) |
... | ... | |
456 | 304 |
self.nameLabel.setFont(font) |
457 | 305 |
self.nameLabel.setObjectName("nameLabel") |
458 | 306 |
self.gridLayout_7.addWidget(self.nameLabel, 0, 0, 1, 1) |
459 |
self.minMatchPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
460 |
font = QtGui.QFont() |
|
461 |
font.setBold(True) |
|
462 |
font.setWeight(75) |
|
463 |
self.minMatchPointLabel.setFont(font) |
|
464 |
self.minMatchPointLabel.setObjectName("minMatchPointLabel") |
|
465 |
self.gridLayout_7.addWidget(self.minMatchPointLabel, 2, 0, 1, 1) |
|
466 |
self.isExceptDetectLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
307 |
self.label_3 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
467 | 308 |
font = QtGui.QFont() |
468 | 309 |
font.setBold(True) |
469 | 310 |
font.setWeight(75) |
470 |
self.isExceptDetectLabel.setFont(font) |
|
471 |
self.isExceptDetectLabel.setObjectName("isExceptDetectLabel") |
|
472 |
self.gridLayout_7.addWidget(self.isExceptDetectLabel, 14, 0, 1, 1) |
|
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) |
|
473 | 321 |
self.originalPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
474 | 322 |
self.originalPointLineEdit.setReadOnly(True) |
475 | 323 |
self.originalPointLineEdit.setObjectName("originalPointLineEdit") |
476 | 324 |
self.gridLayout_7.addWidget(self.originalPointLineEdit, 10, 1, 1, 1) |
477 |
self.connectionPointLineEdit = QtWidgets.QLineEdit(self.scrollAreaWidgetContents) |
|
478 |
self.connectionPointLineEdit.setReadOnly(True) |
|
479 |
self.connectionPointLineEdit.setObjectName("connectionPointLineEdit") |
|
480 |
self.gridLayout_7.addWidget(self.connectionPointLineEdit, 11, 1, 1, 1) |
|
481 | 325 |
self.spinBoxThreshold = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
482 | 326 |
self.spinBoxThreshold.setMinimum(1) |
483 | 327 |
self.spinBoxThreshold.setMaximum(100) |
484 | 328 |
self.spinBoxThreshold.setProperty("value", 75) |
485 | 329 |
self.spinBoxThreshold.setObjectName("spinBoxThreshold") |
486 | 330 |
self.gridLayout_7.addWidget(self.spinBoxThreshold, 1, 1, 1, 3) |
331 |
self.isExceptDetectLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
332 |
font = QtGui.QFont() |
|
333 |
font.setBold(True) |
|
334 |
font.setWeight(75) |
|
335 |
self.isExceptDetectLabel.setFont(font) |
|
336 |
self.isExceptDetectLabel.setObjectName("isExceptDetectLabel") |
|
337 |
self.gridLayout_7.addWidget(self.isExceptDetectLabel, 15, 0, 1, 1) |
|
487 | 338 |
self.horizontalLayout_3 = QtWidgets.QHBoxLayout() |
488 | 339 |
self.horizontalLayout_3.setObjectName("horizontalLayout_3") |
489 | 340 |
self.spinBoxParent = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
... | ... | |
501 | 352 |
self.addAdditionalSymbolButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
502 | 353 |
self.addAdditionalSymbolButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
503 | 354 |
self.addAdditionalSymbolButton.setText("") |
355 |
icon18 = QtGui.QIcon() |
|
356 |
icon18.addPixmap(QtGui.QPixmap(":/newPrefix/Add.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) |
|
504 | 357 |
self.addAdditionalSymbolButton.setIcon(icon18) |
505 | 358 |
self.addAdditionalSymbolButton.setObjectName("addAdditionalSymbolButton") |
506 | 359 |
self.horizontalLayout_3.addWidget(self.addAdditionalSymbolButton) |
... | ... | |
508 | 361 |
self.checkBoxChange = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
509 | 362 |
self.checkBoxChange.setText("") |
510 | 363 |
self.checkBoxChange.setObjectName("checkBoxChange") |
511 |
self.gridLayout_7.addWidget(self.checkBoxChange, 17, 1, 1, 3)
|
|
364 |
self.gridLayout_7.addWidget(self.checkBoxChange, 18, 1, 1, 3)
|
|
512 | 365 |
self.makeFlipCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
513 | 366 |
self.makeFlipCheckBox.setText("") |
514 | 367 |
self.makeFlipCheckBox.setObjectName("makeFlipCheckBox") |
515 |
self.gridLayout_7.addWidget(self.makeFlipCheckBox, 16, 1, 1, 3) |
|
368 |
self.gridLayout_7.addWidget(self.makeFlipCheckBox, 17, 1, 1, 3) |
|
369 |
self.isContainChildCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
370 |
self.isContainChildCheckBox.setText("") |
|
371 |
self.isContainChildCheckBox.setCheckable(True) |
|
372 |
self.isContainChildCheckBox.setObjectName("isContainChildCheckBox") |
|
373 |
self.gridLayout_7.addWidget(self.isContainChildCheckBox, 4, 1, 1, 3) |
|
374 |
self.additionalSymbolListWidget = QtWidgets.QListWidget(self.scrollAreaWidgetContents) |
|
375 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) |
|
376 |
sizePolicy.setHorizontalStretch(0) |
|
377 |
sizePolicy.setVerticalStretch(0) |
|
378 |
sizePolicy.setHeightForWidth(self.additionalSymbolListWidget.sizePolicy().hasHeightForWidth()) |
|
379 |
self.additionalSymbolListWidget.setSizePolicy(sizePolicy) |
|
380 |
self.additionalSymbolListWidget.setMaximumSize(QtCore.QSize(16777215, 150)) |
|
381 |
self.additionalSymbolListWidget.setObjectName("additionalSymbolListWidget") |
|
382 |
self.gridLayout_7.addWidget(self.additionalSymbolListWidget, 9, 1, 1, 3) |
|
383 |
self.isContainChildLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
384 |
font = QtGui.QFont() |
|
385 |
font.setBold(True) |
|
386 |
font.setWeight(75) |
|
387 |
self.isContainChildLabel.setFont(font) |
|
388 |
self.isContainChildLabel.setObjectName("isContainChildLabel") |
|
389 |
self.gridLayout_7.addWidget(self.isContainChildLabel, 4, 0, 1, 1) |
|
390 |
self.originalPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
391 |
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) |
|
392 |
sizePolicy.setHorizontalStretch(0) |
|
393 |
sizePolicy.setVerticalStretch(0) |
|
394 |
sizePolicy.setHeightForWidth(self.originalPointLabel.sizePolicy().hasHeightForWidth()) |
|
395 |
self.originalPointLabel.setSizePolicy(sizePolicy) |
|
396 |
font = QtGui.QFont() |
|
397 |
font.setBold(True) |
|
398 |
font.setWeight(75) |
|
399 |
self.originalPointLabel.setFont(font) |
|
400 |
self.originalPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
401 |
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) |
|
516 | 415 |
self.label_5 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
517 | 416 |
font = QtGui.QFont() |
518 | 417 |
font.setBold(True) |
... | ... | |
520 | 419 |
self.label_5.setFont(font) |
521 | 420 |
self.label_5.setObjectName("label_5") |
522 | 421 |
self.gridLayout_7.addWidget(self.label_5, 6, 0, 1, 1) |
523 |
self.immediateInsertCheckBox = QtWidgets.QCheckBox(self.scrollAreaWidgetContents) |
|
524 |
self.immediateInsertCheckBox.setText("") |
|
525 |
self.immediateInsertCheckBox.setObjectName("immediateInsertCheckBox") |
|
526 |
self.gridLayout_7.addWidget(self.immediateInsertCheckBox, 15, 1, 1, 3) |
|
527 |
self.spinBoxhasInstrumentLabel = QtWidgets.QSpinBox(self.scrollAreaWidgetContents) |
|
528 |
self.spinBoxhasInstrumentLabel.setMaximum(1) |
|
529 |
self.spinBoxhasInstrumentLabel.setObjectName("spinBoxhasInstrumentLabel") |
|
530 |
self.gridLayout_7.addWidget(self.spinBoxhasInstrumentLabel, 13, 1, 1, 3) |
|
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) |
|
430 |
font = QtGui.QFont() |
|
431 |
font.setBold(True) |
|
432 |
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) |
|
444 |
self.makeFlipLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
445 |
font = QtGui.QFont() |
|
446 |
font.setBold(True) |
|
447 |
font.setWeight(75) |
|
448 |
self.makeFlipLabel.setFont(font) |
|
449 |
self.makeFlipLabel.setObjectName("makeFlipLabel") |
|
450 |
self.gridLayout_7.addWidget(self.makeFlipLabel, 17, 0, 1, 1) |
|
451 |
self.addConnectionPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
452 |
self.addConnectionPointButton.setMinimumSize(QtCore.QSize(40, 0)) |
|
453 |
self.addConnectionPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
454 |
self.addConnectionPointButton.setText("") |
|
455 |
self.addConnectionPointButton.setIcon(icon18) |
|
456 |
self.addConnectionPointButton.setObjectName("addConnectionPointButton") |
|
457 |
self.gridLayout_7.addWidget(self.addConnectionPointButton, 12, 2, 1, 1) |
|
458 |
self.addTextAreaButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
459 |
self.addTextAreaButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
460 |
self.addTextAreaButton.setText("") |
|
461 |
self.addTextAreaButton.setIcon(icon18) |
|
462 |
self.addTextAreaButton.setObjectName("addTextAreaButton") |
|
463 |
self.gridLayout_7.addWidget(self.addTextAreaButton, 6, 2, 1, 1) |
|
464 |
self.additionalSymbolLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
465 |
font = QtGui.QFont() |
|
466 |
font.setBold(True) |
|
467 |
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) |
|
472 |
font = QtGui.QFont() |
|
473 |
font.setBold(True) |
|
474 |
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) |
|
485 |
self.groupBox = QtWidgets.QGroupBox(self.scrollAreaWidgetContents) |
|
486 |
font = QtGui.QFont() |
|
487 |
font.setBold(True) |
|
488 |
font.setWeight(75) |
|
489 |
self.groupBox.setFont(font) |
|
490 |
self.groupBox.setObjectName("groupBox") |
|
491 |
self.gridLayout_8 = QtWidgets.QGridLayout(self.groupBox) |
|
492 |
self.gridLayout_8.setObjectName("gridLayout_8") |
|
493 |
self.treeViewSymbolCategory = QtWidgets.QTreeView(self.groupBox) |
|
494 |
self.treeViewSymbolCategory.setObjectName("treeViewSymbolCategory") |
|
495 |
self.gridLayout_8.addWidget(self.treeViewSymbolCategory, 1, 0, 1, 1) |
|
496 |
self.lineEditFilter = QtWidgets.QLineEdit(self.groupBox) |
|
497 |
self.lineEditFilter.setObjectName("lineEditFilter") |
|
498 |
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) |
|
510 |
self.addOriginalPointButton = QtWidgets.QPushButton(self.scrollAreaWidgetContents) |
|
511 |
self.addOriginalPointButton.setMaximumSize(QtCore.QSize(40, 16777215)) |
|
512 |
self.addOriginalPointButton.setText("") |
|
513 |
self.addOriginalPointButton.setIcon(icon18) |
|
514 |
self.addOriginalPointButton.setObjectName("addOriginalPointButton") |
|
515 |
self.gridLayout_7.addWidget(self.addOriginalPointButton, 10, 2, 1, 1) |
|
516 |
self.connectionPointLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
517 |
font = QtGui.QFont() |
|
518 |
font.setBold(True) |
|
519 |
font.setWeight(75) |
|
520 |
self.connectionPointLabel.setFont(font) |
|
521 |
self.connectionPointLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter) |
|
522 |
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) |
|
528 |
font = QtGui.QFont() |
|
529 |
font.setBold(True) |
|
530 |
font.setWeight(75) |
|
531 |
self.immediateInsertLabel.setFont(font) |
|
532 |
self.immediateInsertLabel.setObjectName("immediateInsertLabel") |
|
533 |
self.gridLayout_7.addWidget(self.immediateInsertLabel, 16, 0, 1, 1) |
|
531 | 534 |
self.textAreaTableWidget = QtWidgets.QTableWidget(self.scrollAreaWidgetContents) |
532 | 535 |
self.textAreaTableWidget.setObjectName("textAreaTableWidget") |
533 | 536 |
self.textAreaTableWidget.setColumnCount(0) |
534 | 537 |
self.textAreaTableWidget.setRowCount(0) |
535 | 538 |
self.gridLayout_7.addWidget(self.textAreaTableWidget, 7, 1, 1, 3) |
539 |
self.label_6 = QtWidgets.QLabel(self.scrollAreaWidgetContents) |
|
540 |
font = QtGui.QFont() |
|
541 |
font.setBold(True) |
|
542 |
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) |
|
536 | 562 |
self.gridLayout_4.addLayout(self.gridLayout_7, 0, 0, 1, 1) |
537 | 563 |
self.scrollArea.setWidget(self.scrollAreaWidgetContents) |
538 | 564 |
self.verticalLayout.addWidget(self.scrollArea) |
... | ... | |
561 | 587 |
self.guidelineCheckbox.setText(_translate("SymbolEditorDialog", "Show Guideline")) |
562 | 588 |
self.label.setText(_translate("SymbolEditorDialog", "Normal Color :")) |
563 | 589 |
self.label_2.setText(_translate("SymbolEditorDialog", "Highlight Color :")) |
564 |
self.groupBox.setTitle(_translate("SymbolEditorDialog", "Base Symbol")) |
|
565 |
self.lineEditFilter.setPlaceholderText(_translate("SymbolEditorDialog", "Search...")) |
|
566 |
self.immediateInsertLabel.setText(_translate("SymbolEditorDialog", "Insert Symbol When Create")) |
|
567 |
self.additionalSymbolLabel.setText(_translate("SymbolEditorDialog", "Addition Symbol")) |
|
568 |
self.hasInstrumentLabel.setText(_translate("SymbolEditorDialog", "Include Text")) |
|
569 |
self.thresholdLabel.setText(_translate("SymbolEditorDialog", "Threshold(%)")) |
|
570 |
self.rotationCountLabel.setText(_translate("SymbolEditorDialog", "Rotation Detection Degree")) |
|
571 |
self.makeFlipLabel.setText(_translate("SymbolEditorDialog", "Detect Flip")) |
|
572 |
self.connectionPointLabel.setText(_translate("SymbolEditorDialog", "Connection Point")) |
|
573 |
self.pushButtonChange.setText(_translate("SymbolEditorDialog", "Change Item on Drawing without DB Update")) |
|
574 |
self.label_3.setText(_translate("SymbolEditorDialog", "Change Base, Additional")) |
|
575 |
self.isContainChildLabel.setText(_translate("SymbolEditorDialog", "Include Child Symbol")) |
|
576 |
self.originalPointLabel.setText(_translate("SymbolEditorDialog", "Original Point")) |
|
590 |
self.minMatchPointLabel.setText(_translate("SymbolEditorDialog", "Min Feature Count")) |
|
577 | 591 |
self.label_4.setText(_translate("SymbolEditorDialog", "Symbol Info on Drawing")) |
578 | 592 |
self.nameLabel.setText(_translate("SymbolEditorDialog", "Symbol Name")) |
579 |
self.minMatchPointLabel.setText(_translate("SymbolEditorDialog", "Min Feature Count"))
|
|
593 |
self.label_3.setText(_translate("SymbolEditorDialog", "Change Base, Additional"))
|
|
580 | 594 |
self.isExceptDetectLabel.setText(_translate("SymbolEditorDialog", "Exclude")) |
595 |
self.isContainChildLabel.setText(_translate("SymbolEditorDialog", "Include Child Symbol")) |
|
596 |
self.originalPointLabel.setText(_translate("SymbolEditorDialog", "Original Point")) |
|
581 | 597 |
self.label_5.setText(_translate("SymbolEditorDialog", "Text Area")) |
582 |
|
|
598 |
self.rotationCountLabel.setText(_translate("SymbolEditorDialog", "Rotation Detection Degree")) |
|
599 |
self.makeFlipLabel.setText(_translate("SymbolEditorDialog", "Detect Flip")) |
|
600 |
self.additionalSymbolLabel.setText(_translate("SymbolEditorDialog", "Addition Symbol")) |
|
601 |
self.thresholdLabel.setText(_translate("SymbolEditorDialog", "Threshold(%)")) |
|
602 |
self.groupBox.setTitle(_translate("SymbolEditorDialog", "Base Symbol")) |
|
603 |
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 |
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")) |
|
583 | 609 |
import MainWindow_rc |
584 | 610 |
|
611 |
|
|
585 | 612 |
if __name__ == "__main__": |
586 | 613 |
import sys |
587 | 614 |
app = QtWidgets.QApplication(sys.argv) |
... | ... | |
590 | 617 |
ui.setupUi(SymbolEditorDialog) |
591 | 618 |
SymbolEditorDialog.show() |
592 | 619 |
sys.exit(app.exec_()) |
593 |
|
DTI_PID/DTI_PID/UI/Configuration.ui | ||
---|---|---|
1695 | 1695 |
<layout class="QGridLayout" name="gridLayout_23"> |
1696 | 1696 |
<item row="0" column="0"> |
1697 | 1697 |
<layout class="QGridLayout" name="gridLayout_31"> |
1698 |
<item row="6" column="0"> |
|
1699 |
<widget class="QLabel" name="label_61"> |
|
1700 |
<property name="text"> |
|
1701 |
<string>Listening Port(2549) : </string> |
|
1702 |
</property> |
|
1703 |
</widget> |
|
1704 |
</item> |
|
1705 |
<item row="2" column="0"> |
|
1706 |
<widget class="QLabel" name="label_30"> |
|
1707 |
<property name="text"> |
|
1708 |
<string>Load Data From : </string> |
|
1709 |
</property> |
|
1710 |
</widget> |
|
1711 |
</item> |
|
1712 |
<item row="3" column="1"> |
|
1713 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
1714 |
<item> |
|
1715 |
<widget class="QRadioButton" name="radioButtonSaveUnknownYes"> |
|
1716 |
<property name="text"> |
|
1717 |
<string>Yes</string> |
|
1718 |
</property> |
|
1719 |
<property name="autoExclusive"> |
|
1720 |
<bool>true</bool> |
|
1721 |
</property> |
|
1722 |
<attribute name="buttonGroup"> |
|
1723 |
<string notr="true">buttonGroup_2</string> |
|
1724 |
</attribute> |
|
1725 |
</widget> |
|
1726 |
</item> |
|
1727 |
<item> |
|
1728 |
<widget class="QRadioButton" name="radioButtonSaveUnknownNo"> |
|
1729 |
<property name="text"> |
|
1730 |
<string>No</string> |
|
1731 |
</property> |
|
1732 |
<property name="autoExclusive"> |
|
1733 |
<bool>true</bool> |
|
1734 |
</property> |
|
1735 |
<attribute name="buttonGroup"> |
|
1736 |
<string notr="true">buttonGroup_2</string> |
|
1737 |
</attribute> |
|
1738 |
</widget> |
|
1739 |
</item> |
|
1740 |
</layout> |
|
1741 |
</item> |
|
1698 | 1742 |
<item row="3" column="0"> |
1699 | 1743 |
<widget class="QLabel" name="label_34"> |
1700 | 1744 |
<property name="text"> |
... | ... | |
1702 | 1746 |
</property> |
1703 | 1747 |
</widget> |
1704 | 1748 |
</item> |
1749 |
<item row="8" column="1"> |
|
1750 |
<widget class="QPushButton" name="pushButtonClearDatabase"> |
|
1751 |
<property name="text"> |
|
1752 |
<string>Clear</string> |
|
1753 |
</property> |
|
1754 |
</widget> |
|
1755 |
</item> |
|
1756 |
<item row="6" column="1"> |
|
1757 |
<widget class="QSpinBox" name="spinBoxListeningPort"> |
|
1758 |
<property name="maximum"> |
|
1759 |
<number>9999</number> |
|
1760 |
</property> |
|
1761 |
<property name="value"> |
|
1762 |
<number>2549</number> |
|
1763 |
</property> |
|
1764 |
</widget> |
|
1765 |
</item> |
|
1705 | 1766 |
<item row="4" column="1"> |
1706 | 1767 |
<layout class="QHBoxLayout" name="horizontalLayout_14"> |
1707 | 1768 |
<item> |
... | ... | |
1726 | 1787 |
</item> |
1727 | 1788 |
</layout> |
1728 | 1789 |
</item> |
1729 |
<item row="5" column="0"> |
|
1730 |
<widget class="QLabel" name="label_31"> |
|
1731 |
<property name="minimumSize"> |
|
1790 |
<item row="2" column="2"> |
|
1791 |
<spacer name="horizontalSpacer_3"> |
|
1792 |
<property name="orientation"> |
|
1793 |
<enum>Qt::Horizontal</enum> |
|
1794 |
</property> |
|
1795 |
<property name="sizeHint" stdset="0"> |
|
1732 | 1796 |
<size> |
1733 |
<width>200</width>
|
|
1734 |
<height>0</height> |
|
1797 |
<width>40</width>
|
|
1798 |
<height>20</height>
|
|
1735 | 1799 |
</size> |
1736 | 1800 |
</property> |
1737 |
<property name="text"> |
|
1738 |
<string>Clear Drawing Access Information : </string> |
|
1739 |
</property> |
|
1740 |
</widget> |
|
1801 |
</spacer> |
|
1741 | 1802 |
</item> |
1742 |
<item row="0" column="1">
|
|
1743 |
<widget class="QSpinBox" name="spinBoxSaveAlarm">
|
|
1803 |
<item row="7" column="1">
|
|
1804 |
<widget class="QSpinBox" name="spinBoxConnectionPort">
|
|
1744 | 1805 |
<property name="maximum"> |
1745 |
<number>100</number>
|
|
1806 |
<number>9999</number>
|
|
1746 | 1807 |
</property> |
1747 |
<property name="singleStep">
|
|
1748 |
<number>10</number>
|
|
1808 |
<property name="value">
|
|
1809 |
<number>3030</number>
|
|
1749 | 1810 |
</property> |
1750 | 1811 |
</widget> |
1751 | 1812 |
</item> |
1752 |
<item row="6" column="0">
|
|
1753 |
<widget class="QLabel" name="label_61">
|
|
1813 |
<item row="4" column="0">
|
|
1814 |
<widget class="QLabel" name="label_58">
|
|
1754 | 1815 |
<property name="text"> |
1755 |
<string>Listening Port(2549) : </string>
|
|
1816 |
<string>Line List by Using Stream No : </string>
|
|
1756 | 1817 |
</property> |
1757 | 1818 |
</widget> |
1758 | 1819 |
</item> |
1759 |
<item row="7" column="0"> |
|
1760 |
<widget class="QLabel" name="label_62"> |
|
1820 |
<item row="8" column="2"> |
|
1821 |
<widget class="QLineEdit" name="lineEditClearDatabase"/> |
|
1822 |
</item> |
|
1823 |
<item row="1" column="0"> |
|
1824 |
<widget class="QLabel" name="label_68"> |
|
1761 | 1825 |
<property name="text"> |
1762 |
<string>Connection Port(3030) : </string>
|
|
1826 |
<string>Save Alarm Before Link Attribute : </string>
|
|
1763 | 1827 |
</property> |
1764 | 1828 |
</widget> |
1765 | 1829 |
</item> |
1766 |
<item row="0" column="0"> |
|
1767 |
<widget class="QLabel" name="label_49"> |
|
1830 |
<item row="5" column="0"> |
|
1831 |
<widget class="QLabel" name="label_31"> |
|
1832 |
<property name="minimumSize"> |
|
1833 |
<size> |
|
1834 |
<width>200</width> |
|
1835 |
<height>0</height> |
|
1836 |
</size> |
|
1837 |
</property> |
|
1768 | 1838 |
<property name="text"> |
1769 |
<string>Save Alarm(min) : </string>
|
|
1839 |
<string>Clear Drawing Access Information : </string>
|
|
1770 | 1840 |
</property> |
1771 | 1841 |
</widget> |
1772 | 1842 |
</item> |
1773 |
<item row="5" column="1"> |
|
1774 |
<widget class="QPushButton" name="pushButtonClearAccessInfo"> |
|
1843 |
<item row="1" column="1"> |
|
1844 |
<layout class="QHBoxLayout" name="horizontalLayout_20"> |
|
1845 |
<item> |
|
1846 |
<widget class="QRadioButton" name="radioButtonSaveLinkYes"> |
|
1847 |
<property name="text"> |
|
1848 |
<string>Yes</string> |
|
1849 |
</property> |
|
1850 |
<attribute name="buttonGroup"> |
|
1851 |
<string notr="true">buttonGroup_17</string> |
|
1852 |
</attribute> |
|
1853 |
</widget> |
|
1854 |
</item> |
|
1855 |
<item> |
|
1856 |
<widget class="QRadioButton" name="radioButtonSaveLinkNo"> |
|
1857 |
<property name="text"> |
|
1858 |
<string>No</string> |
|
1859 |
</property> |
|
1860 |
<attribute name="buttonGroup"> |
|
1861 |
<string notr="true">buttonGroup_17</string> |
|
1862 |
</attribute> |
|
1863 |
</widget> |
|
1864 |
</item> |
|
1865 |
</layout> |
|
1866 |
</item> |
|
1867 |
<item row="0" column="0"> |
|
1868 |
<widget class="QLabel" name="label_49"> |
|
1775 | 1869 |
<property name="text"> |
1776 |
<string>Clear</string>
|
|
1870 |
<string>Save Alarm(min) : </string>
|
|
1777 | 1871 |
</property> |
1778 | 1872 |
</widget> |
1779 | 1873 |
</item> |
1780 |
<item row="2" column="0">
|
|
1781 |
<widget class="QLabel" name="label_30">
|
|
1874 |
<item row="7" column="0">
|
|
1875 |
<widget class="QLabel" name="label_62">
|
|
1782 | 1876 |
<property name="text"> |
1783 |
<string>Load Data From : </string>
|
|
1877 |
<string>Connection Port(3030) : </string>
|
|
1784 | 1878 |
</property> |
1785 | 1879 |
</widget> |
1786 | 1880 |
</item> |
... | ... | |
1824 | 1918 |
</item> |
1825 | 1919 |
</layout> |
1826 | 1920 |
</item> |
1827 |
<item row="2" column="2"> |
|
1828 |
<spacer name="horizontalSpacer_3"> |
|
1829 |
<property name="orientation"> |
|
1830 |
<enum>Qt::Horizontal</enum> |
|
1831 |
</property> |
|
1832 |
<property name="sizeHint" stdset="0"> |
|
1833 |
<size> |
|
1834 |
<width>40</width> |
|
1835 |
<height>20</height> |
|
1836 |
</size> |
|
1837 |
</property> |
|
1838 |
</spacer> |
|
1839 |
</item> |
|
1840 |
<item row="4" column="0"> |
|
1841 |
<widget class="QLabel" name="label_58"> |
|
1842 |
<property name="text"> |
|
1843 |
<string>Line List by Using Stream No : </string> |
|
1844 |
</property> |
|
1845 |
</widget> |
|
1846 |
</item> |
|
1847 |
<item row="3" column="1"> |
|
1848 |
<layout class="QHBoxLayout" name="horizontalLayout_4"> |
|
1849 |
<item> |
|
1850 |
<widget class="QRadioButton" name="radioButtonSaveUnknownYes"> |
|
1851 |
<property name="text"> |
|
1852 |
<string>Yes</string> |
|
1853 |
</property> |
|
1854 |
<property name="autoExclusive"> |
|
1855 |
<bool>true</bool> |
|
1856 |
</property> |
|
1857 |
<attribute name="buttonGroup"> |
|
1858 |
<string notr="true">buttonGroup_2</string> |
|
1859 |
</attribute> |
|
1860 |
</widget> |
|
1861 |
</item> |
|
1862 |
<item> |
|
1863 |
<widget class="QRadioButton" name="radioButtonSaveUnknownNo"> |
|
1864 |
<property name="text"> |
|
1865 |
<string>No</string> |
|
1866 |
</property> |
|
1867 |
<property name="autoExclusive"> |
|
1868 |
<bool>true</bool> |
|
1869 |
</property> |
|
1870 |
<attribute name="buttonGroup"> |
|
1871 |
<string notr="true">buttonGroup_2</string> |
|
1872 |
</attribute> |
|
1873 |
</widget> |
|
1874 |
</item> |
|
1875 |
</layout> |
|
1876 |
</item> |
|
1877 |
<item row="7" column="1"> |
|
1878 |
<widget class="QSpinBox" name="spinBoxConnectionPort"> |
|
1921 |
<item row="0" column="1"> |
|
1922 |
<widget class="QSpinBox" name="spinBoxSaveAlarm"> |
|
1879 | 1923 |
<property name="maximum"> |
1880 |
<number>9999</number>
|
|
1924 |
<number>100</number>
|
|
1881 | 1925 |
</property> |
1882 |
<property name="value">
|
|
1883 |
<number>3030</number>
|
|
1926 |
<property name="singleStep">
|
|
1927 |
<number>10</number>
|
|
1884 | 1928 |
</property> |
1885 | 1929 |
</widget> |
1886 | 1930 |
</item> |
... | ... | |
1891 | 1935 |
</property> |
1892 | 1936 |
</widget> |
1893 | 1937 |
</item> |
1894 |
<item row="8" column="1">
|
|
1895 |
<widget class="QPushButton" name="pushButtonClearDatabase">
|
|
1938 |
<item row="5" column="1">
|
|
1939 |
<widget class="QPushButton" name="pushButtonClearAccessInfo">
|
|
1896 | 1940 |
<property name="text"> |
1897 | 1941 |
<string>Clear</string> |
1898 | 1942 |
</property> |
1899 | 1943 |
</widget> |
1900 | 1944 |
</item> |
1901 |
<item row="6" column="1"> |
|
1902 |
<widget class="QSpinBox" name="spinBoxListeningPort"> |
|
1903 |
<property name="maximum"> |
|
1904 |
<number>9999</number> |
|
1905 |
</property> |
|
1906 |
<property name="value"> |
|
1907 |
<number>2549</number> |
|
1908 |
</property> |
|
1909 |
</widget> |
|
1910 |
</item> |
|
1911 |
<item row="8" column="2"> |
|
1912 |
<widget class="QLineEdit" name="lineEditClearDatabase"/> |
|
1913 |
</item> |
|
1914 |
<item row="1" column="0"> |
|
1915 |
<widget class="QLabel" name="label_68"> |
|
1945 |
<item row="9" column="0"> |
|
1946 |
<widget class="QLabel" name="label_71"> |
|
1916 | 1947 |
<property name="text"> |
1917 |
<string>Save Alarm Before Link Attribute : </string>
|
|
1948 |
<string>Use Converting Point : </string>
|
|
1918 | 1949 |
</property> |
1919 | 1950 |
</widget> |
1920 | 1951 |
</item> |
1921 |
<item row="1" column="1">
|
|
1922 |
<layout class="QHBoxLayout" name="horizontalLayout_20">
|
|
1952 |
<item row="9" column="1">
|
|
1953 |
<layout class="QHBoxLayout" name="horizontalLayout_22">
|
|
1923 | 1954 |
<item> |
1924 |
<widget class="QRadioButton" name="radioButtonSaveLinkYes">
|
|
1955 |
<widget class="QRadioButton" name="radioButtonConvertingPointYes">
|
|
1925 | 1956 |
<property name="text"> |
1926 | 1957 |
<string>Yes</string> |
1927 | 1958 |
</property> |
1928 | 1959 |
<attribute name="buttonGroup"> |
1929 |
<string notr="true">buttonGroup_17</string>
|
|
1960 |
<string notr="true">buttonGroup_19</string>
|
|
1930 | 1961 |
</attribute> |
1931 | 1962 |
</widget> |
1932 | 1963 |
</item> |
1933 | 1964 |
<item> |
1934 |
<widget class="QRadioButton" name="radioButtonSaveLinkNo">
|
|
1965 |
<widget class="QRadioButton" name="radioButtonConvertingPointNo">
|
|
1935 | 1966 |
<property name="text"> |
1936 | 1967 |
<string>No</string> |
1937 | 1968 |
</property> |
1938 | 1969 |
<attribute name="buttonGroup"> |
1939 |
<string notr="true">buttonGroup_17</string>
|
|
1970 |
<string notr="true">buttonGroup_19</string>
|
|
1940 | 1971 |
</attribute> |
1941 | 1972 |
</widget> |
1942 | 1973 |
</item> |
... | ... | |
2387 | 2418 |
</connection> |
2388 | 2419 |
</connections> |
2389 | 2420 |
<buttongroups> |
2390 |
<buttongroup name="buttonGroup_5"/>
|
|
2391 |
<buttongroup name="buttonGroup"/> |
|
2392 |
<buttongroup name="buttonGroup_8"/>
|
|
2421 |
<buttongroup name="buttonGroup_18"/>
|
|
2422 |
<buttongroup name="buttonGroup_14"/>
|
|
2423 |
<buttongroup name="buttonGroup_11"/>
|
|
2393 | 2424 |
<buttongroup name="buttonGroup_15"/> |
2394 |
<buttongroup name="buttonGroup_10"/> |
|
2395 |
<buttongroup name="buttonGroup_12"/> |
|
2396 |
<buttongroup name="buttonGroup_16"/> |
|
2397 |
<buttongroup name="buttonGroup_3"/> |
|
2398 |
<buttongroup name="buttonGroup_6"/> |
|
2425 |
<buttongroup name="buttonGroup_8"/> |
|
2399 | 2426 |
<buttongroup name="buttonGroup_2"/> |
2427 |
<buttongroup name="buttonGroup_6"/> |
|
2428 |
<buttongroup name="buttonGroup_17"/> |
|
2429 |
<buttongroup name="buttonGroup_16"/> |
|
2400 | 2430 |
<buttongroup name="buttonGroup_9"/> |
2431 |
<buttongroup name="buttonGroup_10"/> |
|
2432 |
<buttongroup name="buttonGroup_3"/> |
|
2433 |
<buttongroup name="buttonGroup_13"/> |
|
2434 |
<buttongroup name="buttonGroup_5"/> |
|
2401 | 2435 |
<buttongroup name="buttonGroup_7"/> |
2402 |
<buttongroup name="buttonGroup_14"/> |
|
2403 | 2436 |
<buttongroup name="buttonGroup_4"/> |
2404 |
<buttongroup name="buttonGroup_11"/> |
|
2405 |
<buttongroup name="buttonGroup_13"/> |
|
2406 |
<buttongroup name="buttonGroup_17"/> |
|
2407 |
<buttongroup name="buttonGroup_18"/> |
|
2437 |
<buttongroup name="buttonGroup"/> |
|
2438 |
<buttongroup name="buttonGroup_12"/> |
|
2439 |
<buttongroup name="buttonGroup_19"/> |
|
2408 | 2440 |
</buttongroups> |
2409 | 2441 |
</ui> |
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="5" column="0" colspan="4">
|
|
585 |
<widget class="QGroupBox" name="groupBox">
|
|
584 |
<item row="2" column="0">
|
|
585 |
<widget class="QLabel" name="minMatchPointLabel">
|
|
586 | 586 |
<property name="font"> |
587 | 587 |
<font> |
588 | 588 |
<weight>75</weight> |
589 | 589 |
<bold>true</bold> |
590 | 590 |
</font> |
591 | 591 |
</property> |
592 |
<property name="title">
|
|
593 |
<string>Base Symbol</string>
|
|
592 |
<property name="text">
|
|
593 |
<string>Min Feature Count</string>
|
|
594 | 594 |
</property> |
595 |
<layout class="QGridLayout" name="gridLayout_8"> |
|
596 |
<item row="1" column="0"> |
|
597 |
<widget class="QTreeView" name="treeViewSymbolCategory"/> |
|
598 |
</item> |
|
599 |
<item row="0" column="0"> |
|
600 |
<widget class="QLineEdit" name="lineEditFilter"> |
|
601 |
<property name="placeholderText"> |
|
602 |
<string>Search...</string> |
|
603 |
</property> |
|
604 |
</widget> |
|
605 |
</item> |
|
606 |
</layout> |
|
607 | 595 |
</widget> |
608 | 596 |
</item> |
609 |
<item row="15" column="0"> |
|
610 |
<widget class="QLabel" name="immediateInsertLabel"> |
|
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 |
</property> |
|
605 |
</widget> |
|
606 |
</item> |
|
607 |
<item row="19" column="0"> |
|
608 |
<widget class="QLabel" name="label_4"> |
|
611 | 609 |
<property name="font"> |
612 | 610 |
<font> |
613 | 611 |
<weight>75</weight> |
... | ... | |
615 | 613 |
</font> |
616 | 614 |
</property> |
617 | 615 |
<property name="text"> |
618 |
<string>Insert Symbol When Create</string>
|
|
616 |
<string>Symbol Info on Drawing</string>
|
|
619 | 617 |
</property> |
620 | 618 |
</widget> |
621 | 619 |
</item> |
622 |
<item row="8" column="0"> |
|
623 |
<widget class="QLabel" name="additionalSymbolLabel"> |
|
620 |
<item row="2" column="1" colspan="3"> |
|
621 |
<widget class="QLineEdit" name="minMatchPointLineEdit"> |
|
622 |
<property name="enabled"> |
|
623 |
<bool>false</bool> |
|
624 |
</property> |
|
625 |
</widget> |
|
626 |
</item> |
|
627 |
<item row="0" column="0"> |
|
628 |
<widget class="QLabel" name="nameLabel"> |
|
624 | 629 |
<property name="font"> |
625 | 630 |
<font> |
626 | 631 |
<weight>75</weight> |
... | ... | |
628 | 633 |
</font> |
629 | 634 |
</property> |
630 | 635 |
<property name="text"> |
631 |
<string>Addition Symbol</string>
|
|
636 |
<string>Symbol Name</string>
|
|
632 | 637 |
</property> |
633 | 638 |
</widget> |
634 | 639 |
</item> |
635 |
<item row="13" column="0">
|
|
636 |
<widget class="QLabel" name="hasInstrumentLabel">
|
|
640 |
<item row="18" column="0">
|
|
641 |
<widget class="QLabel" name="label_3">
|
|
637 | 642 |
<property name="font"> |
내보내기 Unified diff