[Interest] Taking back a widget from a QBoxLayout?
giuseppe.dangelo at kdab.com
Fri Feb 22 20:27:05 CET 2019
Il 22/02/19 19:04, René J.V. Bertin ha scritto:
>> I am not 100% sure, it's been a while, but I would assume that the layout is not the true parent, combined is.
> The docs aren't exactly clear on this subject, at least not with the sort of reading glasses I usually have on when I don't exactly want to be reading them ;)
Widgets can only have other widgets as parents.
When you add a widget to a layout, the layout will reparent that widget
to the widget the layout is installed onto.
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4007 bytes
Desc: Firma crittografica S/MIME
More information about the Interest