|
ACF $AcfVersion:0$
|
A common interface for main window component such as dock widget, tool bar and so on. More...
#include <IMainWindowComponent.h>
Public Types | |
| enum | WindowComponentFlags { WCF_NONE = 0 , WCF_CLOSABLE = 1 , WCF_MOVEABLE = 2 , WCF_FLOATABLE = 4 } |
| Flags describing behaviour of the main window component. More... | |
Public Member Functions | |
| 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 QString | GetTitle () const =0 |
| Get the title of the main window component. | |
| virtual int | GetFlags () const =0 |
| Get properties of of the window component. | |
Public Member Functions inherited from istd::IPolymorphic | |
| virtual | ~IPolymorphic () |
A common interface for main window component such as dock widget, tool bar and so on.
Definition at line 20 of file IMainWindowComponent.h.
Flags describing behaviour of the main window component.
| Enumerator | |
|---|---|
| WCF_NONE | |
| WCF_CLOSABLE | Element can be closed. |
| WCF_MOVEABLE | Element can be moved. |
| WCF_FLOATABLE | Element can be float from the main window to be standalone window. |
Definition at line 26 of file IMainWindowComponent.h.
|
pure virtual |
Add this component to main window.
Implemented in iqtgui::CDockWidgetGuiComp, iqtgui::CStatusBarWidgetComp, and iqtgui::CToolBarGuiCompBase.
|
pure virtual |
Get properties of of the window component.
Implemented in iqtgui::CDockWidgetGuiComp, iqtgui::CStatusBarWidgetComp, and iqtgui::CToolBarGuiCompBase.
|
pure virtual |
Get the title of the main window component.
Implemented in iqtgui::CDockWidgetGuiComp, iqtgui::CStatusBarWidgetComp, and iqtgui::CToolBarGuiCompBase.
|
pure virtual |
Remove this component from main window.
Implemented in iqtgui::CDockWidgetGuiComp, iqtgui::CStatusBarWidgetComp, and iqtgui::CToolBarGuiCompBase.