PDA

View Full Version : Save file dialog



yxtx1984
22nd January 2010, 10:06
I just curious about how to save a file with QFIleDialog, but not to use the static method getSaveFileName, althought it's very convenient. And then how to get the path of the save file?

Thank you!

wysota
22nd January 2010, 11:00
QFileDialog is a dialog. Instantiate it, set its options and call exec(). Then you can use QFileDialog::selectedFiles() to get the output.