10-19-2013 09:25 AM
I want to save my app json data to a txt file which user can use.So I want an invocation or other similiar API which just
realize saving files UI function and I realize writing files function.
I have searched but can't find it. Anyone have information?
Solved! Go to Solution.
10-19-2013 03:20 PM
10-19-2013 11:16 PM - edited 10-20-2013 01:47 AM
QFile is for operating files.Qt have a QFileDialog to show a file dialog.
Like the function "Save as" of the "bb.action.VIEW" invocation.
Does Casacdes have a class to show saving file dialog?Or I need crate a dialog by myself?
10-20-2013 03:52 AM - edited 10-20-2013 03:56 AM
10-20-2013 08:30 AM - edited 10-20-2013 08:36 AM
Use filepicker for choosing the path to save and then use QFile for save the file.
Set FilePickerMode to Saver
This mode allows the application to select a location for saving a file, for example, saving an email attachment or saving a modified document.
Try to read docs
10-20-2013 10:06 AM