[Qt-interest] Removing widget from layout

NARCISO, Rui RUI.NARCISO at airbus.com
Fri Feb 6 13:48:16 CET 2009


Hi all

I have a 2x2 QGridLayout and at the push of button I want to keep on my layout only one of the widgets on this layout and hide the others.

I have so far been able to make sure the selected widget takes up the entire layout, however the other 3 widgets that i remove using the QGridLayout::removeWiget command remain on screen in front of the one that takes the entire layout...

I have to use the QGridLayout apporach I just mentioned due to architecture decisions.

What am I doing wrong? 
Do I need to refresh something ?

Rui

The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other then the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.





More information about the Qt-interest-old mailing list