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)
def _save(self): """ :return: """ obj = self._item name = self._item._name+".dprj" read_and_write.write(obj, name)