CExtendedConsoleGuiComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_CExtendedConsoleGuiComp_included
2 #define iqt2d_CExtendedConsoleGuiComp_included
3 
4 
5 // ACF includes
7 
9 
10 #include <GeneratedFiles/iqt2d/ui_CExtendedConsoleGuiComp.h>
11 
12 
13 namespace iqt2d
14 {
15 
16 
17 class CExtendedConsoleGuiComp: public iqtgui::TDesignerGuiCompBase<Ui::CExtendedConsoleGuiComp>
18 {
19 public:
21 
22  I_BEGIN_COMPONENT(CExtendedConsoleGuiComp);
23  I_ASSIGN(m_viewProviderGuiCompPtr, "ViewProvider", "Provider of the 2D-View", true, "ViewProvider");
24  I_ASSIGN(m_toolBarCompPtr, "ToolBar", "Tool bar showing the commands of the view provider", false, "ToolBar");
25  I_ASSIGN(m_statusInfoGuiCompPtr, "StatusInfoGui", "UI for status information of the 2D-console", false, "StatusInfoGui");
26  I_ASSIGN(m_isFloatingToolbarAttr, "FloatingToolbar", "Makes the toolbar floating", true, false);
27  I_END_COMPONENT;
28 
29 protected:
30  // reimplemented (CGuiComponentBase)
31  virtual void OnGuiCreated();
32  virtual void OnGuiDestroyed();
33 
34  // reimplemented (QObject)
35  virtual bool eventFilter(QObject* sourcePtr, QEvent* eventPtr);
36 
37 private:
38  I_REF(iqtgui::IGuiObject, m_viewProviderGuiCompPtr);
39  I_REF(iqtgui::IGuiObject, m_toolBarCompPtr);
40  I_REF(iqtgui::IGuiObject, m_statusInfoGuiCompPtr);
41  I_ATTR(bool, m_isFloatingToolbarAttr);
42 };
43 
44 
45 } // namespace iqt2d
46 
47 
48 #endif // !iqt2d_CExtendedConsoleGuiComp_included
49 
50 
virtual void OnGuiCreated()
Called just after GUI is initialized.
virtual void OnGuiDestroyed()
Called just before GUI is released.
Base class for all Qt GUI components, which use the Qt designer's UI.
iqtgui::TDesignerGuiCompBase< Ui::CExtendedConsoleGuiComp > BaseClass
Common interface for GUI objects using in component context.
Definition: IGuiObject.h:25
virtual bool eventFilter(QObject *sourcePtr, QEvent *eventPtr)

© 2007-2017 Witold Gantzke and Kirill Lepskiy