CFreeWidgetGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtgui_CFreeWidgetGuiComp_included
2 #define iqtgui_CFreeWidgetGuiComp_included
3 
4 
5 // Qt includes
6 #include <QtCore/QtGlobal>
7 #if QT_VERSION >= 0x050000
8 #include <QtWidgets/QMainWindow>
9 #else
10 #include <QtGui/QMainWindow>
11 #endif
12 
13 
14 // ACF includes
15 #include <icomp/CComponentBase.h>
16 
17 #include <iqtgui/IGuiObject.h>
18 
19 
20 namespace iqtgui
21 {
22 
23 
25 {
26 public:
28 
29  I_BEGIN_COMPONENT(CFreeWidgetGuiComp);
30  I_ASSIGN(m_slaveGuiCompPtr, "SlaveGui", "Slave GUI for this window", true, "SlaveGui");
31  I_ASSIGN(m_titleAttrPtr, "Title", "Specify the window title ", true, "Free Window");
32  I_END_COMPONENT;
33 
34 protected:
35  // reimplemented (icomp::CComponentBase)
36  virtual void OnComponentCreated();
37  virtual void OnComponentDestroyed();
38 
39  I_REF(iqtgui::IGuiObject, m_slaveGuiCompPtr);
40  I_TEXTATTR(m_titleAttrPtr);
41 
43 };
44 
45 
46 } // namespace iqtgui
47 
48 
49 #endif // !iqtgui_CFreeWidgetGuiComp_included
50 
I_TEXTATTR(m_titleAttrPtr)
Base class for component implementation.
icomp::CComponentBase BaseClass
Common interface for GUI objects using in component context.
Definition: IGuiObject.h:25
virtual void OnComponentCreated()
istd::TDelPtr< QMainWindow > m_mainWindowPtr
virtual void OnComponentDestroyed()

© 2007-2017 Witold Gantzke and Kirill Lepskiy