PDA

View Full Version : How to resize the dialog window displayed through getSaveFileName()



abhilashajha
9th June 2009, 13:57
Hello,

I want to set the size of dialog displayed by getSaveFileName(). Please let me know if this is possible and if yes then how?

I allready tried creating a object of QDialog and setting it's size and pass this dialog as parent to getSaveFileName(). But this didn't worked.

Regards,
Abhilasha Jha

wysota
9th June 2009, 14:56
Why would it work?

Anyway... If you want to resize the dialog, then use QFileDialog as a regular class, not through its static method.

abhilashajha
10th June 2009, 06:21
How can I get the name of file given by user to save the file content through QFileDialog.

aamer4yu
10th June 2009, 06:45
QFileDialog::selectedFiles

abhilashajha
10th June 2009, 12:29
Thanks !! It worked out.