개정판 f516a04c
issue #501: recognition item check box fix
Change-Id: Ie5bd7a3e8326b8bb87e1b51535a2f0376a78c8b0
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
2351 | 2351 |
else: |
2352 | 2352 |
self.ui.checkBoxTraining.setVisible(False) |
2353 | 2353 |
|
2354 |
self.ui.checkBoxSymbol.setCheckState(Qt.Checked) |
|
2355 |
self.ui.lineCheckBox.setCheckState(Qt.Unchecked) |
|
2356 |
self.ui.checkBoxText.setCheckState(Qt.Unchecked) |
|
2354 |
if len(self.path) == 1 and appDocData.activeDrawing and appDocData.activeDrawing.file_path == self.path[0]: |
|
2355 |
self.ui.checkBoxSymbol.setCheckState(Qt.Checked) |
|
2356 |
self.ui.lineCheckBox.setCheckState(Qt.Unchecked) |
|
2357 |
self.ui.checkBoxText.setCheckState(Qt.Unchecked) |
|
2358 |
else: |
|
2359 |
self.ui.checkBoxSymbol.setCheckState(Qt.Checked) |
|
2360 |
self.ui.lineCheckBox.setCheckState(Qt.Checked) |
|
2361 |
self.ui.checkBoxText.setCheckState(Qt.Checked) |
|
2362 |
self.ui.checkBoxSymbol.setEnabled(False) |
|
2363 |
self.ui.lineCheckBox.setEnabled(False) |
|
2364 |
self.ui.checkBoxText.setEnabled(False) |
|
2357 | 2365 |
|
2358 | 2366 |
self.ui.progressBarBatch.setFormat('{}/{}'.format('0', str(len(self.path)))) |
2359 | 2367 |
|
내보내기 Unified diff