Qt-interest Archive, March 2002
How to remove a Widget from a Layout ?
Message 1 in thread
Hello,
I need to remove a Widget from a QGridLayout.
It was added with addWidget.
I can't find any method like deleteWidget or removeWidget.
Do I need to delete the layout and all the widgets and then to create
them again ?
Thanks in advance
Olivier
Message 2 in thread
Just delete it.
I'm not sure whether I found the answer in the manual or the archive.
Marcel
On Friday 15 March 2002 04:30, you wrote:
> Hello,
>
> I need to remove a Widget from a QGridLayout.
> It was added with addWidget.
> I can't find any method like deleteWidget or removeWidget.
> Do I need to delete the layout and all the widgets and then to create
> them again ?
>
> Thanks in advance
>
> Olivier
--
[ signature omitted ]