Results 1 to 3 of 3

Thread: Doubt about QFileDialog::getOpenFileName(), etc...

  1. #1
    Join Date
    Jun 2007
    Posts
    20
    Thanks
    7
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Doubt about QFileDialog::getOpenFileName(), etc...

    Hi,

    I have a doubt about QFileDialog::getOpenFileName() (and other open/save dialogs) in Windows XP (using the XP theme).

    Why these dialogs: getOpenFileName(), getOpenFileNames(), getSaveFileName() are not displayed with the current Windows XP theme (instead of display them using the classic theme!)... and why the getExistingDirectory() dialog use the current windows theme!?

    I don't like see the program using the windows XP theme and the open/save dialogs using the windows classic theme!

    Best regards, hehe!

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Doubt about QFileDialog::getOpenFileName(), etc...

    I would say - RTM: http://doc.trolltech.com/4.3/qfiledialog.html#details

    The easiest way to create a QFileDialog is to use the static functions. On Windows, these static functions will call the native Windows file dialog, and on Mac OS X these static function will call the native Mac OS X file dialog.

  3. #3
    Join Date
    Jun 2007
    Posts
    20
    Thanks
    7
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Doubt about QFileDialog::getOpenFileName(), etc...

    Yes, I supoused all the time which these dialogs were native, but it don't exlpain why these dialogs aren't displayed with the current windows theme.

    In Delphi (for example) these dialogs are displayed using the current windows theme, and they are native dialogs too.

    Is possible add a Windows XP Manifest file into the Qt program (compiled statically)? It should fix the "problem", no?

    Best regards!

Similar Threads

  1. Doubt about includes
    By xEsk in forum Newbie
    Replies: 2
    Last Post: 15th November 2007, 21:20
  2. QGraphicsItem HoverEvent Doubt
    By arjunasd in forum Qt Programming
    Replies: 1
    Last Post: 7th August 2007, 18:40
  3. QGraphicsPathItem Doubt
    By arjunasd in forum Qt Programming
    Replies: 7
    Last Post: 29th July 2007, 04:30
  4. Doubt ?
    By Cutey in forum Qt Tools
    Replies: 2
    Last Post: 3rd March 2007, 10:45
  5. QT 4.1 in OSX I have a doubt
    By askot in forum Installation and Deployment
    Replies: 9
    Last Post: 25th February 2006, 07:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.