Results 1 to 2 of 2

Thread: Drawing the expansion dialog widget

  1. #1
    Join Date
    Jun 2008
    Posts
    89
    Thanks
    1
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Drawing the expansion dialog widget

    Hi,

    How can we draw the expansion dialog widget.
    The one that we as 'Advanced Settings' in some dialogs..
    There is one trianlge and when we click on that triangle then underneath dialog opens up.

  2. #2
    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: Drawing the expansion dialog widget

    Its not a new dialog...
    its kinda trick with layouts or stacked widgets

    When u click the triangle, the hidden widget is shown, and it gives u impression of expanding.

    In some cases, u can change the widget in the stacked widget on button clicked. The same effect can be obtained

    Hope u get the idea

Similar Threads

  1. Drawing a widget in QItemDelegate's paint method
    By darkadept in forum Qt Programming
    Replies: 17
    Last Post: 11th August 2009, 06:15
  2. Replies: 2
    Last Post: 23rd April 2008, 15:13
  3. closing dialog in hidden main Widget
    By Lele in forum Qt Programming
    Replies: 3
    Last Post: 6th December 2006, 11:35
  4. Previewing a stack widget dialog
    By mikeh in forum Qt Tools
    Replies: 4
    Last Post: 2nd October 2006, 11:19
  5. dialog box
    By Bahar in forum Qt Programming
    Replies: 3
    Last Post: 31st January 2006, 15:52

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.