개정판 52dbb0fa
cad ui off
Change-Id: I985c199a0eb0aee805c73ecf09e7e91f20f1cc82
DTI_PID/DTI_PID/ImportTextFromCADDialog.py | ||
---|---|---|
313 | 313 |
self.ui.checkBoxGenDrawing.setChecked(False) |
314 | 314 |
|
315 | 315 |
# disabel manual cal. |
316 |
''' |
|
316 |
#'''
|
|
317 | 317 |
self.ui.label.setVisible(False) |
318 | 318 |
self.ui.spinBoxX.setVisible(False) |
319 | 319 |
self.ui.spinBoxY.setVisible(False) |
... | ... | |
333 | 333 |
self.ui.doubleSpinBox.setVisible(False) |
334 | 334 |
self.ui.doubleSpinBox_2.setVisible(False) |
335 | 335 |
self.ui.checkBoxAuto.setVisible(False) |
336 |
''' |
|
336 |
#'''
|
|
337 | 337 |
|
338 | 338 |
def importClicked(self): |
339 | 339 |
if self.ui.checkBoxLegend.isChecked(): |
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1585 | 1585 |
options = QFileDialog.Options() |
1586 | 1586 |
options |= QFileDialog.DontUseNativeDialog |
1587 | 1587 |
file_name, _ = QFileDialog.getSaveFileName(self, "Export PDF", name, "pdf files(*.pdf)", options=options) |
1588 |
name += '.png' |
|
1589 | 1588 |
if file_name: |
1590 |
self.save_PDF(name) |
|
1589 |
file_name += '.png' |
|
1590 |
self.save_PDF(file_name) |
|
1591 | 1591 |
|
1592 |
elif len(checked_drawings) > 1: |
|
1592 |
elif len(checked_drawings) >= 1:
|
|
1593 | 1593 |
name = os.path.join(project.getTempPath(), 'Select a Folder') |
1594 | 1594 |
|
1595 | 1595 |
file_name = None |
내보내기 Unified diff