def zmianaSciezkiF(self):
fileName = QtGui.QFileDialog().getSaveFileName(None, 'Save as', QtCore.QDir.homePath(), supSoftware[self.exportType.programName]['format'])
if fileName[0]:
fileName = fileName[0]
program = str(self.listaFormatow.currentItem().data(QtCore.Qt.UserRole))
if not fileName.endswith('.{0}'.format(supSoftware[program]['format'].split('.')[1])):
fileName += '.{0}'.format(supSoftware[program]['format'].split('.')[1])
self.pathToFile.setText(fileName)
#***********************************************************************
#* CONSOLE
#***********************************************************************
评论列表
文章目录