개정판 b7219b67
issue #000: remove dialog
Change-Id: I9d02f22ae09598acc0c2ff98668707b97b2e834d
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
681 | 681 | |
682 | 682 |
from TextItemEditDialog import QTextItemEditDialog |
683 | 683 | |
684 |
self.dlgTextItemEdit = QTextItemEditDialog(self)
|
|
685 |
self.dlgTextItemEdit.show()
|
|
686 |
self.dlgTextItemEdit.exec_()
|
|
684 |
dlgTextItemEdit = QTextItemEditDialog(self) |
|
685 |
dlgTextItemEdit.show() |
|
686 |
dlgTextItemEdit.exec_() |
|
687 | 687 | |
688 | 688 |
def validationGlobalClicked(self): |
689 | 689 |
""" global validation dialog """ |
690 | 690 |
from ValidationGlobalDialog import QValidationGlobalDialog |
691 | 691 | |
692 |
self.dlgGValidation = QValidationGlobalDialog(self)
|
|
693 |
self.dlgGValidation.show()
|
|
694 |
self.dlgGValidation.exec_()
|
|
692 |
dlgGValidation = QValidationGlobalDialog(self) |
|
693 |
dlgGValidation.show() |
|
694 |
dlgGValidation.exec_() |
|
695 | 695 | |
696 | 696 |
def replaceInsertSymbolClicked(self): |
697 | 697 |
"""pop up replace and insert dialog""" |
... | ... | |
701 | 701 | |
702 | 702 |
from ReplaceSymbolDialog import QReplaceSymbolDialog |
703 | 703 | |
704 |
self.dlgReplace = QReplaceSymbolDialog(self)
|
|
705 |
self.dlgReplace.show()
|
|
706 |
self.dlgReplace.exec_()
|
|
704 |
dlgReplace = QReplaceSymbolDialog(self) |
|
705 |
dlgReplace.show() |
|
706 |
dlgReplace.exec_() |
|
707 | 707 | |
708 | 708 |
def on_recognize_line(self): |
709 | 709 |
"""recognize lines in selected area""" |
... | ... | |
1253 | 1253 |
self.showImageSelectionMessageBox() |
1254 | 1254 |
return |
1255 | 1255 |
self.onCommandRejected() |
1256 |
self.dlgConfigurationArea = QConfigurationAreaDialog(self)
|
|
1257 |
self.dlgConfigurationArea.show()
|
|
1258 |
self.dlgConfigurationArea.exec_()
|
|
1256 |
dlgConfigurationArea = QConfigurationAreaDialog(self) |
|
1257 |
dlgConfigurationArea.show() |
|
1258 |
dlgConfigurationArea.exec_() |
|
1259 | 1259 | |
1260 | 1260 |
''' |
1261 | 1261 |
@brief configuration |
... | ... | |
1264 | 1264 |
def configuration(self): |
1265 | 1265 |
from ConfigurationDialog import QConfigurationDialog |
1266 | 1266 | |
1267 |
self.dlgConfiguration = QConfigurationDialog(self)
|
|
1268 |
if QDialog.Accepted == self.dlgConfiguration.exec_():
|
|
1267 |
dlgConfiguration = QConfigurationDialog(self) |
|
1268 |
if QDialog.Accepted == dlgConfiguration.exec_(): |
|
1269 | 1269 |
QEngineeringLineItem.LINE_TYPE_COLORS.clear() |
1270 | 1270 |
QEngineeringInstrumentItem.INST_COLOR = None |
1271 | 1271 |
내보내기 Unified diff