Rajagopalan Srinivasan wrote:
> 
> My gui however does show these widgets even after executing this. I will be
> happy to send the project - but perhaps there is an explanation.
> 
Here is description of removeWidget:

"Removes the widget widget from the layout. After this call, it is the
caller's responsibility to give the widget a reasonable geometry or to
put the widget back into a layout."

So, program works exactly as expected. Remove widget from layout doesn't
mean it destroyed in any way. You can hide widget using QWidget::hide()
operation or destroy widget using QObject::deleteLater() operation (or
event instance of Qt_Ada.Object_Unchecked_Deallocation).


_______________________________________________
qtada-users mailing list
[email protected]
http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to