PDA

View Full Version : Is it possible to extend the open and save dialogs in Windows?



pixaeiro
10th April 2015, 20:51
Hello,

I am using QFileDialog to open and save files in my Qt application, which for the moment runs only in Windows.

As far as I can tell, QFileDialog calls the native Windows dialogs for saving and opening files... My question is... can we extend these open and save dialogs with new widgets? I'd like to add a dropdown list with the last 5 or 10 directories where files of a type (project, image, etc) where saved/opened.

Thank you!

wysota
10th April 2015, 23:31
If native dialogs are used, you cannot alter them. You can use native API to trigger a file dialog and if the API allows it, you can extend the dialog with whatever you want.