예제 #1
0
파일: dys.py 프로젝트: jankoslavic/DyS
 def showSaveAsFileDialog(self):
     """
     
     """
     saveAs_dialog = QtGui.QFileDialog
     filename, file_type = saveAs_dialog.getSaveFileNameAndFilter(self, 'Save File', self.current_working_directory, ("DyS Project Files (*.dprj)"))
     
     read_and_write.write(self.MBD_system, filename)
예제 #2
0
    def _save(self):
        """

        :return:
        """
        obj = self._item
        name = self._item._name+".dprj"
        read_and_write.write(obj, name)