Dear All,
I would like to disable file save dialog's save button if the current selected folder is read only folder, I mean I want read only folder indication the moment user selects folder on file save dialog.
Here is the code, I have written to show file save dialog...
// Show the SaveAs dialog
pParent,
("Save Session File"),
primarySessionPath,
("Sessions (*.sess)") );
// Show the SaveAs dialog
QString sessionNameStr = QFileDialog::getSaveFileName(
pParent,
("Save Session File"),
primarySessionPath,
("Sessions (*.sess)") );
To copy to clipboard, switch view to plain text mode
This problem is on Mac OS (El Capitan)
I am using Qt 4.7.3.
Please suggest me a solution, if any one has any idea about it.
Overriding QFileDialog or writing some other custom class is the last option I would like to choose.
Thanks,
Bookmarks