You call hide() on the widget you want to hide. Or you use QStackedWidget.
You call hide() on the widget you want to hide. Or you use QStackedWidget.
Got it resolved. Thanks.
First I had to remove the rows from the model and then hide. only this way I am able to hide.
Bookmarks