CPatternTeachingControllerGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtipr_CPatternTeachingControllerGuiComp_included
2 #define iqtipr_CPatternTeachingControllerGuiComp_included
3 
4 
5 // ACF includes
7 
8 // ACF-Solutions includes
10 
11 #include "GeneratedFiles/iqtipr/ui_CPatternTeachingControllerGuiComp.h"
12 
13 
14 namespace iqtipr
15 {
16 
17 
20  Ui::CPatternTeachingControllerGuiComp,
21  iipr::IPatternController>
22 {
23  Q_OBJECT
24 public:
26  Ui::CPatternTeachingControllerGuiComp,
28 
29  I_BEGIN_COMPONENT(CPatternTeachingControllerGuiComp);
30  I_ASSIGN(m_patternEditorCompPtr, "PatternEditor", "Pattern editor", false, "PatternEditor");
31  I_ASSIGN_TO(m_patternEditorObserverCompPtr, m_patternEditorCompPtr, false);
32 
33  I_ASSIGN(m_patternViewCompPtr, "PatternView", "GUI representing learned pattern", false, "PatternView");
34  I_ASSIGN(m_patternViewObserverCompPtr, "PatternObserver", "Pattern GUI observer", false, "PatternObserver");
35  I_END_COMPONENT;
36 
37 protected Q_SLOTS:
39  void on_EditButton_clicked();
40 
41 protected:
42  // reimplemented (iqtgui::TGuiObserverWrap)
43  virtual void UpdateGui(int updateFlags = 0);
44 
45  // reimplemented (iqt::CGuiObjectBase)
46  virtual void OnGuiCreated();
47  virtual void OnGuiDestroyed();
48 
49 private:
50  I_REF(iqtgui::IGuiObject, m_patternEditorCompPtr);
51  I_REF(imod::IObserver, m_patternEditorObserverCompPtr);
52 
53  I_REF(iqtgui::IGuiObject, m_patternViewCompPtr);
54  I_REF(imod::IObserver, m_patternViewObserverCompPtr);
55 };
56 
57 
58 } // namespace iqtipr
59 
60 
61 #endif // !iqtipr_CPatternTeachingControllerGuiComp_included
62 
63 
I_ASSIGN_TO(m_patternEditorObserverCompPtr, m_patternEditorCompPtr, false)
iqtgui::TDesignerGuiObserverCompBase< Ui::CPatternTeachingControllerGuiComp, iipr::IPatternController > BaseClass
virtual void UpdateGui(int updateFlags=0)

© 2007-2011 Witold Gantzke and Kirill Lepskiy