Results 1 to 2 of 2

Thread: qt designer 4.4.1 dialog properties

  1. #1
    Join Date
    Sep 2007
    Posts
    83
    Thanks
    6
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default qt designer 4.4.1 dialog properties

    Hi,

    using the qt designer,i am developing the individual dialogs,my problem is i am not getting maximized and minimized buttons at right corner of the dialog header.
    ---How can i get that options visible for the Dialog?

    one more thing,As per my application requirement,i have to store the GUI information on the file.that file should be saved on the hard disk as per user requested directory.how can i implement this?is there any widget to show the paths of hard disk directories.

    please give me any suggestions on this both issues.

    Thanking you.

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qt designer 4.4.1 dialog properties

    Quote Originally Posted by jjbabu View Post
    Hi,

    using the qt designer,i am developing the individual dialogs,my problem is i am not getting maximized and minimized buttons at right corner of the dialog header.
    ---How can i get that options visible for the Dialog?
    you need to use
    Qt Code:
    1. void QWidget::setWindowFlags ( Qt::WindowFlags type )
    To copy to clipboard, switch view to plain text mode 
    or pass flags in ctor of yours dialog.
    e.g. in you case you should do something like this
    Qt Code:
    1. ...
    2. setWindowFlags(windowFlags() | Qt::WindowMinMaxButtonsHint);
    3. ...
    To copy to clipboard, switch view to plain text mode 


    Quote Originally Posted by jjbabu View Post
    one more thing,As per my application requirement,i have to store the GUI information on the file.that file should be saved on the hard disk as per user requested directory.how can i implement this?is there any widget to show the paths of hard disk directories.

    please give me any suggestions on this both issues.

    Thanking you.
    see, QSettings

  3. The following user says thank you to spirit for this useful post:

    jjbabu (1st October 2008)

Similar Threads

  1. Replies: 15
    Last Post: 25th March 2007, 03:40
  2. Limiting values for custom designer properties
    By high_flyer in forum Qt Programming
    Replies: 4
    Last Post: 16th March 2006, 12:27

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.