Results 1 to 5 of 5

Thread: How to resize the dialog window displayed through getSaveFileName()

  1. #1
    Join Date
    Jun 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default How to resize the dialog window displayed through getSaveFileName()

    Hello,

    I want to set the size of dialog displayed by getSaveFileName(). Please let me know if this is possible and if yes then how?

    I allready tried creating a object of QDialog and setting it's size and pass this dialog as parent to getSaveFileName(). But this didn't worked.

    Regards,
    Abhilasha Jha

  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: How to resize the dialog window displayed through getSaveFileName()

    Why would it work?

    Anyway... If you want to resize the dialog, then use QFileDialog as a regular class, not through its static method.
    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.


  3. #3
    Join Date
    Jun 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to resize the dialog window displayed through getSaveFileName()

    How can I get the name of file given by user to save the file content through QFileDialog.

  4. #4
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to resize the dialog window displayed through getSaveFileName()


  5. #5
    Join Date
    Jun 2009
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: How to resize the dialog window displayed through getSaveFileName()

    Thanks !! It worked out.

Similar Threads

  1. resize Dialog to minimum height
    By pospiech in forum Qt Programming
    Replies: 7
    Last Post: 25th June 2009, 14:04
  2. Issue with Modelless dialog on Mac
    By Satyanarayana Chebrolu in forum Qt Programming
    Replies: 0
    Last Post: 24th February 2009, 10:10
  3. Replies: 3
    Last Post: 1st February 2009, 15:49
  4. How to resize window with pushbutton
    By kaydknight in forum Newbie
    Replies: 2
    Last Post: 13th January 2007, 12:17
  5. Replies: 3
    Last Post: 23rd July 2006, 18:02

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.