[Qt-interest] Problem about QFileDialog::getOpenFileName() style
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Wed Feb 24 11:57:05 CET 2010
?? wrote on Wednesday, February 24, 2010 10:25 AM:
> ...
> I use QFileDialog::getOpenFileName() to open a file chooser. I read
> the document that this static function will invoke native dialog on
> Windows. I run it on Windows XP, but the style of this dialog is not
> XP theme. It is just like Windows 98.
Hmmm, you are right: in my application I do get the "native" dialog (with the "Last used", "Desktop" etc. icons on the left), but it indeed looks a bit different (really more like the "Windows 2000 look") than the "File open" dialog I get from the Notepad application for example, see attached screenshot. And the rest of my application *does* "look like Windows XP" (so I am using the Windows XP Qt style).
As seen on Windows XP SP 3, Qt 4.6.1, compiled from source with VS 2005 Express.
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MyFileOpenDialog.png
Type: image/png
Size: 7202 bytes
Desc: MyFileOpenDialog.png
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100224/c54e5e1b/attachment.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NotepadFileOpenDialog.png
Type: image/png
Size: 8002 bytes
Desc: NotepadFileOpenDialog.png
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100224/c54e5e1b/attachment-0001.png
More information about the Qt-interest-old
mailing list