CLineProjectionSupplierGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtipr_CLineProjectionSupplierGuiComp_included
2 #define iqtipr_CLineProjectionSupplierGuiComp_included
3 
4 
5 // ACF includes
7 #include "imod/IObserver.h"
8 #include "imod/TModelWrap.h"
9 #include "i2d/CPosition2d.h"
10 #include "iqtgui/IGuiObject.h"
12 
13 // ACF-Solutions includes
17 
19 
20 #include "iqtipr/iqtipr.h"
21 
22 #include "GeneratedFiles/iqtipr/ui_CLineProjectionSupplierGuiComp.h"
23 
24 
25 namespace iqtipr
26 {
27 
28 
30  Ui::CLineProjectionSupplierGuiComp,
31  imeas::IDataSequenceProvider>
32 {
33  Q_OBJECT
34 
35 public:
37  Ui::CLineProjectionSupplierGuiComp,
39 
40  I_BEGIN_COMPONENT(CLineProjectionSupplierGuiComp);
41  I_ASSIGN(m_projectionObserverCompPtr, "ProjectionObserver", "Observer for the generated line projection", true, "ProjectionObserver");
42  I_ASSIGN_TO(m_projectionObserverGuiCompPtr, m_projectionObserverCompPtr, true);
43  I_END_COMPONENT;
44 
45 protected Q_SLOTS:
46  void on_TestButton_clicked();
49 
50 protected:
51  // reimplemented (iqtinsp::TSupplierGuiCompBase)
52  virtual QWidget* GetParamsWidget() const;
53 
54  // reimplemented (iqt2d::TViewExtenderCompBase)
55  virtual void CreateShapes(int sceneId, Shapes& result);
56 
57  // reimplemented (iqtgui::TGuiObserverWrap)
58  virtual void OnGuiModelAttached();
59  virtual void UpdateGui(int updateFlags = 0);
60 
61  // reimplemented (iqtgui::IGuiObject)
62  virtual void OnGuiCreated();
63  virtual void OnGuiDestroyed();
64 
65 private:
67 
68  I_REF(imod::IObserver, m_projectionObserverCompPtr);
69  I_REF(iqtgui::IGuiObject, m_projectionObserverGuiCompPtr);
70 };
71 
72 
73 } // namespace iqtipr
74 
75 
76 #endif // !iqtipr_CLineProjectionSupplierGuiComp_included
77 
78 
iqtinsp::TSupplierGuiCompBase< Ui::CLineProjectionSupplierGuiComp, imeas::IDataSequenceProvider > BaseClass
I_ASSIGN_TO(m_projectionObserverGuiCompPtr, m_projectionObserverCompPtr, true)
virtual void CreateShapes(int sceneId, Shapes &result)
virtual void UpdateGui(int updateFlags=0)
Simple data sequence provider.
virtual QWidget * GetParamsWidget() const
Get parameters widget object.

© 2007-2011 Witold Gantzke and Kirill Lepskiy