How to delete the widget from the stack in Qt

Posted by Solitaire on Stack Overflow See other posts from Stack Overflow or by Solitaire
Published on 2010-03-24T09:50:32Z Indexed on 2010/03/24 9:53 UTC
Read the original article Hit count: 292

Filed under:
|
|
|
|

Hi, i am using Qstackedwidget to switch between the views, i will be able to traverse between the views, i am facing problem in some scenario, where i do not require the widgets, i want to remove them completely.. stackedwidget provides the functionality to removewidgets, still the ownership of the widget will be there, i mean widget will be hidden.

i dont want this to be happen, when i call remove widget the widget should be deleted. how to handle this?

© Stack Overflow or respective owner

Related posts about qt

Related posts about qt4