qt-interest@trolltech.com
[Top] [All Lists]

RE: native QFileDialog and some Extras?

Subject: RE: native QFileDialog and some Extras?
From: "Scott Aron Bloom"
Date: Tue, 21 Nov 2006 11:18:25 -0800
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

Scot

> -----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
a
> bug
> track for it though. I am working on more critical issues at the
moment,
> so
> I can't do testing or verification right now.
> 
> Keith
> 
> On 11-21-2006 12:21 PM, "Scott Aron Bloom" wrote:
> 
> > However, I am interested in your second comment, what do you mean
you
> > cannot set the default (file?)name to use?  I do all the time for
save
> > 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/

<Prev in Thread] Current Thread [Next in Thread>