As an FYI, you have to read the details in the doc... the interface
QString QFileDialog::getSaveFileName ( QWidget * parent = 0, const
QString & caption = QString(), const QString & dir = QString(), const
QString & filter = QString(), QString * selectedFilter = 0, Options
options = 0 )
Doesn't appear to have the ability to set a default file name, however
in the docs:
"The file dialog's working directory will be set to dir. If dir includes
a file name, the file will be selected."
This is the same, and works for all the static QFileDialog methods
> -----Original Message-----
> From: Keith Esau [mailto:keith.esau@xxxxxxx]
> Sent: Tuesday, November 21, 2006 10:55 AM
> To: Scott Aron Bloom; Qt Interest
> Subject: Re: native QFileDialog and some Extras?
> Maybe its a bug in our code, but I seem to remember Trolltech support
> telling us that it didn't work with the native dialogs. I cannot find
> track for it though. I am working on more critical issues at the
> I can't do testing or verification right now.
> On 11-21-2006 12:21 PM, "Scott Aron Bloom" wrote:
> > However, I am interested in your second comment, what do you mean
> > cannot set the default (file?)name to use? I do all the time for
> > and open...
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/