개정판 b6603e12
ff ui on going
Change-Id: Idea4d369593d02698c9ae25b177e9cb218c0ae5c
DTI_PID/DTI_PID/ConfigurationDialog.py | ||
---|---|---|
563 | 563 |
configs = docData.getConfigs('Project', 'Operation') |
564 | 564 |
if configs: |
565 | 565 |
size = int(configs[0].value) |
566 |
self.ui.radioButtonOpModeGenenal.setChecked(True if size == 1 else False)
|
|
566 |
self.ui.radioButtonOpModeGeneral.setChecked(True if size == 1 else False)
|
|
567 | 567 |
self.ui.radioButtonOpModeInst.setChecked(True if size == -1 else False) |
568 | 568 |
else: |
569 |
self.ui.radioButtonOpModeGenenal.setChecked(True)
|
|
569 |
self.ui.radioButtonOpModeGeneral.setChecked(True)
|
|
570 | 570 |
self.ui.radioButtonOpModeInst.setChecked(False) |
571 | 571 |
|
572 | 572 |
# app config for individual user |
... | ... | |
1323 | 1323 |
# ai mode |
1324 | 1324 |
configs.append(Config('Engine', 'AI', '1' if self.ui.radioButtonAI1.isChecked() else ('2' if self.ui.radioButtonAI2.isChecked() else '3'))) |
1325 | 1325 |
configs.append(Config('Engine', 'OCR', '1' if self.ui.radioButtonOCRLocal.isChecked() else '-1')) |
1326 |
configs.append(Config('Project', 'Operation', '1' if self.ui.radioButtonOpModeGenenal.isChecked() else '-1'))
|
|
1326 |
configs.append(Config('Project', 'Operation', '1' if self.ui.radioButtonOpModeGeneral.isChecked() else '-1'))
|
|
1327 | 1327 |
|
1328 | 1328 |
# app config |
1329 | 1329 |
app_configs = [] |
내보내기 Unified diff