Results 1 to 4 of 4

Thread: QWidget *parent = 0 question

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Dec 2008
    Location
    Czech
    Posts
    44
    Thanks
    2
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default QWidget *parent = 0 question

    Hi,
    I have a question what is purpose of a default initialization for QWidget *parent = 0 in a constructor of any widget? Should it always be there? Is there any exceptions?
    Last edited by radek.z; 18th May 2009 at 08:30.

Similar Threads

  1. Non-transparent QWidget on semi-transparent parent
    By EuroElessar in forum Qt Programming
    Replies: 0
    Last Post: 29th August 2008, 16:20
  2. Enable QWidget child while parent disabled
    By ^NyAw^ in forum Qt Programming
    Replies: 2
    Last Post: 30th May 2008, 10:53
  3. QWidget question
    By MarkoSan in forum Qt Programming
    Replies: 1
    Last Post: 24th March 2008, 05:33
  4. Problem with Parent QWidget and Buttons not working
    By VireX in forum Qt Programming
    Replies: 7
    Last Post: 11th May 2007, 22:24
  5. Replies: 5
    Last Post: 4th August 2006, 10:12

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.