How to impliment standard save functionality
Solved
General and Desktop
-
wrote on 31 Mar 2017, 08:37 last edited by
I have QDialog box with Ok button . WHen I press ok I want following dialog box to save the file . how to get the same
-
I have QDialog box with Ok button . WHen I press ok I want following dialog box to save the file . how to get the same
@Qt-Enthusiast QString QFileDialog::getSaveFileName creates a dialog that on completion returns a QString(path+Name) of the potential new file.
You'll have to do the QFile::open/QFile::write stuff yourself of course.
-
wrote on 31 Mar 2017, 08:53 last edited by
QFileDialog::getSaveFileName( seems to be a solution to me
2/3