Results 1 to 2 of 2

Thread: Is it possible to extend the open and save dialogs in Windows?

  1. #1
    Join Date
    Nov 2014
    Posts
    35
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Is it possible to extend the open and save dialogs in Windows?

    Hello,

    I am using QFileDialog to open and save files in my Qt application, which for the moment runs only in Windows.

    As far as I can tell, QFileDialog calls the native Windows dialogs for saving and opening files... My question is... can we extend these open and save dialogs with new widgets? I'd like to add a dropdown list with the last 5 or 10 directories where files of a type (project, image, etc) where saved/opened.

    Thank you!
    pixaeiro
    http://www.pixaflux.com
    Non-destructive Image Editor

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Is it possible to extend the open and save dialogs in Windows?

    If native dialogs are used, you cannot alter them. You can use native API to trigger a file dialog and if the API allows it, you can extend the dialog with whatever you want.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 2
    Last Post: 10th May 2011, 23:03
  2. Problem getting some Windows and Dialogs to show.
    By billw in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2010, 12:51
  3. Replies: 0
    Last Post: 23rd April 2010, 17:25
  4. Open/Save dialog with images preview
    By mchara in forum Qt Programming
    Replies: 8
    Last Post: 5th November 2007, 07:25
  5. Setting default icon for all windows / dialogs
    By steg90 in forum Qt Programming
    Replies: 1
    Last Post: 5th July 2007, 10:04

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.