I would like to swap layouts in a QWidget. Is that possible? I see the the 
setLayout(...) and layout() functions but when I try to set my layout using 
setLayout() I get an error message saying that there is already a layout. Ok, 
Sounds reasonable. There doesn't seem to be any "removeLayout()" method though. 
I tried setLayout(NULL) that I got another error saying setting a layout to 0 
is not allowed.
  The issue is that depending on what is present I would like to display a 
QLabel that is better laid out with a Grid Layout and some spacers rather than 
my current VerticalLayout scheme.

Searching google indicates that this may not really be possible.

Thanks for any advice.
----
Mike Jackson
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to