Results 1 to 6 of 6

Thread: List of child widgets includes layout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Feb 2008
    Posts
    491
    Thanks
    12
    Thanked 142 Times in 135 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11

    Default Re: List of child widgets includes layout

    Maybe QObject::findChildren() is what you are looking for:
    Qt Code:
    1. ui->container->findChildren<QWidget *>()
    To copy to clipboard, switch view to plain text mode 

  2. The following user says thank you to norobro for this useful post:

    JovianGhost (11th May 2010)

Similar Threads

  1. Replies: 5
    Last Post: 18th April 2010, 23:31
  2. How to get the child widgets from a Widget?
    By prykHetQuo in forum Qt Programming
    Replies: 2
    Last Post: 29th January 2009, 13:26
  3. Child Widgets In MainWindow
    By RY in forum Newbie
    Replies: 3
    Last Post: 4th October 2008, 08:39
  4. setClipPath on child widgets.
    By bunjee in forum Qt Programming
    Replies: 9
    Last Post: 27th May 2007, 19:12
  5. Global includes with designer custom widgets
    By mab in forum Qt Programming
    Replies: 2
    Last Post: 5th October 2006, 22:06

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
  •  
Qt is a trademark of The Qt Company.