A common interface for main window component such as dock widget, tool bar and so on.
WindowComponentFlags
Flags describing behaviour of the main window component.
@ WCF_FLOATABLE
Element can be float from the main window to be standalone window.
virtual bool AddToMainWindow(QMainWindow &mainWindow)=0
Add this component to main window.
virtual bool RemoveFromMainWindow(QMainWindow &mainWindow)=0
Remove this component from main window.
virtual int GetFlags() const =0
Get properties of of the window component.
virtual QString GetTitle() const =0
Get the title of the main window component.