![]() |
ICF 3.0.5.47
Technical documentation of ICF Libraries
|
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. | |
A common interface for main window component such as dock widget, tool bar and so on.
Definition at line 25 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 31 of file IMainWindowComponent.h.
|
pure virtual |
Add this component to main window.
Implemented in istdgui::CDockWidgetGuiComp, istdgui::CStatusBarWidgetComp, and istdgui::CToolBarGuiCompBase.
|
pure virtual |
Get properties of of the window component.
Implemented in istdgui::CDockWidgetGuiComp, istdgui::CStatusBarWidgetComp, and istdgui::CToolBarGuiCompBase.
|
pure virtual |
Get the title of the main window component.
Implemented in istdgui::CDockWidgetGuiComp, istdgui::CStatusBarWidgetComp, and istdgui::CToolBarGuiCompBase.
|
pure virtual |
Remove this component from main window.
Implemented in istdgui::CDockWidgetGuiComp, istdgui::CStatusBarWidgetComp, and istdgui::CToolBarGuiCompBase.
© Witold Gantzke and Kirill Lepskiy