Thanks. That seemed to have done it with some careful pointer checking.
Thanks
Mike Jackson
On Jun 28, 2012, at 3:52 PM, Jeff Heyob wrote:
> Mike,
>
> Call layout() to get the current layout and delete it so that the widget
> releases ownership.
> Then setLayout(...) will work.
> If you need to
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()" me