How to delete the widget from the stack in Qt
- by Solitaire
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?