Thanks for the information.

And why the hell the method is called getSaveFileName() ??? And the displayed dialog contents the SAVE button? Is this a joke?

I suggested that:
Qt Code:
  1. filename = QtGui.QFileDialog.getSaveFileName(self, "Save file", "", ".conf")
To copy to clipboard, switch view to plain text mode 
will save the content of filename with the .conf extention... but no! I will do it manualy as you suggested... thanks!