CToolBarWidgetGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtgui_CToolBarWidgetGuiComp_included
2 #define iqtgui_CToolBarWidgetGuiComp_included
3 
4 
5 // ACF includes
7 
8 
9 namespace iqtgui
10 {
11 
12 
17 {
18 public:
20 
21 
22  I_BEGIN_COMPONENT(CToolBarWidgetGuiComp);
23  I_REGISTER_INTERFACE(iqtgui::IMainWindowComponent);
24  I_ASSIGN(m_toolbarWidgetCompPtr, "ToolBarWidget", "Widget to place into the tool bar", true, "ToolBarWidget");
25  I_END_COMPONENT;
26 
27 protected:
28  // reimplemented (CGuiComponentBase)
29  virtual void OnGuiCreated();
30  virtual void OnGuiDestroyed();
31 
32 private:
33  I_REF(iqtgui::IGuiObject, m_toolbarWidgetCompPtr);
34 };
35 
36 
37 } // namespace iqtgui
38 
39 
40 #endif // !iqtgui_CToolBarWidgetGuiComp_included
41 
virtual void OnGuiDestroyed()
Called just before GUI is released.
A common interface for main window component such as dock widget, tool bar and so on...
Common interface for GUI objects using in component context.
Definition: IGuiObject.h:25
virtual void OnGuiCreated()
Called just after GUI is initialized.
Basic implementation of a tool bar component.
Component for construction of a tool bar with an inserted widget.

© 2007-2017 Witold Gantzke and Kirill Lepskiy