> you need to delete both the layouts and their contents:
>
> def unfill(self):
> def deleteItems(layout):
> if layout is not None:
> while layout.count():
> item = layout.takeAt(0)
> widget = item.widget()
>
Lee Harr wrote:
I wrote about this a couple of weeks ago, but I did not have a small
working example to show the problem I'm having. Now I do.
I have a layout created in Qt4 Designer which I fill with a series of
complex layouts at runtime. That works great. Later on, I want
to completely remov
I wrote about this a couple of weeks ago, but I did not have a small
working example to show the problem I'm having. Now I do.
I have a layout created in Qt4 Designer which I fill with a series of
complex layouts at runtime. That works great. Later on, I want
to completely remove all of them and