개정판 ed5d25a0
fix zoom commend
Change-Id: I5593fcd9aa3f8bacc4c6f1c4f7ebe814e83136e7
DTI_PID/DTI_PID/ImportTextFromCADDialog.py | ||
---|---|---|
306 | 306 |
configs = app_doc_data.getConfigs('Cad State', 'Auto') |
307 | 307 |
self.ui.checkBoxAuto.setChecked(bool(int((configs[0].value)))) if 1 == len(configs) else \ |
308 | 308 |
self.ui.checkBoxAuto.setChecked(True) |
309 |
self.ui.checkBoxGenDrawing.setChecked(False) |
|
309 | 310 |
|
310 | 311 |
def importClicked(self): |
311 | 312 |
if self.ui.checkBoxLegend.isChecked(): |
DTI_PID/DTI_PID/QtImageViewer.py | ||
---|---|---|
482 | 482 |
numDegrees = event.angleDelta() / 8 |
483 | 483 |
if numDegrees is not None: |
484 | 484 |
if numDegrees.y() > 0: |
485 |
self.zoomImage(True, event) |
|
485 |
self.zoomImage(True, event, 1.5)
|
|
486 | 486 |
elif numDegrees.y() < 0: |
487 | 487 |
self.zoomImage(False, event, 0.5) |
488 | 488 |
else: |
내보내기 Unified diff