Implement a way for modules to add widgets to the main application using signals and slots. A widget type can be identified by an enum like WT_TOOLBAR, WT_SIDEBAR, WT_MAIN etc. and the application adds the widget according to the type at the right position.
Implement a way for modules to add widgets to the main application using signals and slots. A widget type can be identified by an enum like WT_TOOLBAR, WT_SIDEBAR, WT_MAIN etc. and the application adds the widget according to the type at the right position.