the reason i said if it was possible to add and remove QStacked Widgets is because architectural i could group pages together so that say guys in the sales department will have 5 pages they use all the time and the accounts department may have 6 different pages they use all the time.The question is: do you really need nested stacked widgets? Maybe you need the "managed" version only for top-level pages?
OK when i said that there should be a Stacked widget class for adding and deleting pages on the fly i was referring to the methods that are in it all ready (or lack there of). because the remove Widget() method does not actually delete the widget from memory.
Unless you know of a method to Delete the Widget from memory not in this class?
programmatically in know that i have to tell qt to add and delete when its needed some time i probably would not delete the widget and leave it in memory. it just depends on the situation.
But im new to QT and i was not sure of a way to add and delete pages from Qstacked Widgets programmatically in the way i design the application.
Excuse my ignorance but what do you mean by a factory?
Bookmarks