QFileDialog only asks user for the file name. It won't save your data, because it doesn't even know what data to save.
In C++ you would do this:
Qt Code:
// store data in f f.close();To copy to clipboard, switch view to plain text mode
QFileDialog only asks user for the file name. It won't save your data, because it doesn't even know what data to save.
In C++ you would do this:
Qt Code:
// store data in f f.close();To copy to clipboard, switch view to plain text mode
spagatoni (1st December 2008)
Bookmarks