![]() |
Qt "getOpenFileName" caption not working?
Here's an obscure Qt question (this is Qt 4.8 with the Maemo toolchain) -- I'm making a call to QFileDialog::getOpenFileName(), and while the call works just fine, I cannot for the life of me get it to change the caption of the dialog box. (This is the second parameter to the call.) All I ever get is the default "Open File" caption. Anybody have an idea why this would be?
Here's the call itself: Code:
QString filename = QFileDialog::getOpenFileName( |
Re: Qt "getOpenFileName" caption not working?
I don't think the Hildon FileChooserDialog (which is what is created when using the static QFileDialog methods) has an option to set the caption/title, so that paramater will not be used in QtMaemo5.
When opening an existing file, the Hildon FileChooserDialog is constructed like this: Code:
Hildon::FileChooserDialog dialog(*this, Gtk::FILE_CHOOSER_ACTION_OPEN); |
All times are GMT. The time now is 21:57. |
vBulletin® Version 3.8.8