OK. You can hardcode that or you can devise some mechanism that will allow users to choose what they need, but this really depends on how you plan to expand your application.
Yes, removeWidget() just removes the widget from the layout. To delete it you have to use the delete operator.
It's an object which knows how to create other objects. If you had a page factory, then if you would need to show some page, the manager class could check if such page exists and show it or ask the factory to create it.
Bookmarks