Results 1 to 11 of 11

Thread: advanced split widget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Moscow, Russia
    Posts
    20
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default advanced split widget needed

    Hi

    I need the widget like in the attached picture. It consists of some child widgets (like dock widgets of dock area) but they haven't been undocked. The split configuration is set with use of some methods and user haven't an ability to change this configuration. User may hide some child widgets by pressing on 'X' button and maximize particular child widget by pressing 'M' (other widgets will be hidden). The ability to show hidden (iconified) widgets should be provided.

    QDockArea is not the case because it manages widgets only whether horizontally or vertically but not in the grid, isn't it?

    smart_split_widget.png


    The desired use of the class:

    Qt Code:
    1. SmarlSplitWidget container;
    2.  
    3. // Add a widget at 0 row and 0 col like in QGridLayout.
    4. container.addWidget(
    5. new QWidget(container), // pointer to widget
    6. "First", // label
    7. 0, // row 0 (like in QGridLayout)
    8. 0); // column 0
    9.  
    10. container.addWidget( new QWidget(container), "Second", 1, 0);
    11. container.addMultiCellWidget( new QWidget(container), "Fourth", 0, 1, 1, 1);
    12. container.addMultiCellWidget( new QWidget(container), "Third", 2, 2, 0, 1);
    To copy to clipboard, switch view to plain text mode 

    Is anybody may help to find the widget like this?

    Thanks,
    Vitaly
    Last edited by vitaly; 17th January 2006 at 15:21.

Similar Threads

  1. QDockWidget inside another widget in the center?
    By Antebios in forum Qt Programming
    Replies: 1
    Last Post: 16th February 2010, 07:06
  2. How to Open & Close a Widget ?!!
    By Fatla in forum Qt Programming
    Replies: 6
    Last Post: 13th June 2008, 20:39
  3. Tricky problem with ARGB widget / UpdateLayeredWindow
    By nooky59 in forum Qt Programming
    Replies: 3
    Last Post: 21st February 2008, 10:35
  4. Creating advanced widget in a delegate.
    By bunjee in forum Qt Programming
    Replies: 8
    Last Post: 5th February 2007, 08:09
  5. [Qt 4.1.0] Split a widget on demand
    By Townk in forum Qt Programming
    Replies: 3
    Last Post: 17th February 2006, 14:16

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.