Results 1 to 6 of 6

Thread: QGridLayout

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Jan 2006
    Location
    Mountain View, CA
    Posts
    279
    Thanked 42 Times in 37 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QGridLayout

    Quote Originally Posted by ToddAtWSU
    Also, is it just me or should removeWidget( ) actually remove the widget from the layout? If not, what does this function actually do since it does not appear to remove any widgets? Thanks again!
    Yes, the widget will be removed from the layout, but that does not mean that it is removed from the screen. You have to call hide() to do that.

    In general, what you are trying to achieve should be easy to do just by causing hide() and show() on the relevant widgets. You should not have to manipulate the layout at all.
    Save yourself some pain. Learn C++ before learning Qt.

  2. The following user says thank you to Chicken Blood Machine for this useful post:

    bits (30th June 2006)

Similar Threads

  1. QPixmap and QGridLayout
    By Talon_Karrde in forum Qt Programming
    Replies: 5
    Last Post: 22nd February 2006, 12:27

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.