Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 6

Qt-interest Archive, March 2002
File dialog discrepancy


Message 1 in thread

Hi,

I am using Qt 2.2.4 commercial on windows NT/2000 and Solaris (Sparc). I am
facing a problem with Qt file dialog.

On Windows :
when I use Static function "getOpenFilename" function provided in
QFileDialog, it opens Windows file dialog and if QFileDialog dialog is
instantiated for open file dialog, then Qt Native file dialog is opened.
I don't understand why is this happening ?
Is this a bug?
bye,
--Ajay

Ph. 91-20-4101872 ext 332
      91-20-2930332
************************************************************************
This e-mail communication and any attachments are privileged and
confidential and intended only for the use of the recipients named above.
If you are not the intended recipient, please do not review, disclose,
disseminate, distribute or copy this e-mail and attachments. If you have
received this communication in error, please notify the sender immediately
by email or telephone at +91-20-2930332.
************************************************************************


Message 2 in thread

Am Donnerstag, 14. März 2002 06:34 schrieb Ajay Kale:
> Hi,
>
> I am using Qt 2.2.4 commercial on windows NT/2000 and Solaris (Sparc). I am
> facing a problem with Qt file dialog.
>
> On Windows :
> when I use Static function "getOpenFilename" function provided in
> QFileDialog, it opens Windows file dialog and if QFileDialog dialog is
> instantiated for open file dialog, then Qt Native file dialog is opened.
> I don't understand why is this happening ?
> Is this a bug?
> bye,
> --Ajay
>

I don't have the Qt2 docs at hand, but in QT3 the documentation states that 
on Win32 and Mac the static functions call the native Dialog from the OS and 
instatiations from QFileDialog use QT's Dialog. The reason for this is 
probably that you can go along with the OS's native version for just 
selecting a filename, but you need your own dialog if you want to plug in 
your own widgets, extensions and stuff like that.

greetings,

P.J.

-- 
 [ signature omitted ]