Results 1 to 6 of 6

Thread: Deleting children of a widget

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Apr 2009
    Location
    www.JaminGrey.com
    Posts
    71
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt5
    Platforms
    Windows

    Default Deleting children of a widget

    I have a QScrollArea and a QWidget in it, and I don't want to delete the widget, but I want to delete all the children and the layout in the widget. What is the official Qt way of doing that?
    Last edited by ComServant; 24th September 2011 at 04:07.

Similar Threads

  1. Deleting rows (children) from a qstandarditem
    By Valheru in forum Qt Programming
    Replies: 4
    Last Post: 29th March 2012, 16:04
  2. focus events of widget children
    By daemonna in forum Newbie
    Replies: 1
    Last Post: 25th January 2011, 20:15
  3. deleting a widget
    By john_god in forum General Programming
    Replies: 1
    Last Post: 30th December 2010, 09:36
  4. Replies: 2
    Last Post: 7th July 2010, 14:49
  5. Replies: 0
    Last Post: 15th March 2010, 06:08

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.