CSimpleLensCorrectionEditorComp.h
Go to the documentation of this file.
1 #ifndef icalibgui_CSimpleLensCorrectionEditorComp_included
2 #define icalibgui_CSimpleLensCorrectionEditorComp_included
3 
4 
5 // ACF includes
8 
9 // ACF-Solutions includes
11 #include <GeneratedFiles/icalibgui/ui_CSimpleLensCorrectionEditorComp.h>
12 
13 
14 namespace icalibgui
15 {
16 
17 
19  public iqtgui::TDesignerGuiObserverCompBase<Ui::CSimpleLensCorrectionEditorComp, icalib::CSimpleLensCorrection>,
21 {
22  Q_OBJECT
23 
24 public:
26 
27  I_BEGIN_COMPONENT(CSimpleLensCorrectionEditorComp);
28  I_ASSIGN(m_calibProviderCompPtr, "CalibrationProvider", "Optional calibration provider for calibrate button", false, "CalibrationProvider");
29  I_ASSIGN_TO(m_calibProviderModelCompPtr, m_calibProviderCompPtr, false);
30  I_END_COMPONENT;
31 
32 protected:
33  // reimplemented (iqtgui::TGuiObserverWrap)
34  virtual void UpdateModel() const;
35  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
36 
37  // reimplemented (iqtgui::CGuiComponentBase)
38  virtual void OnGuiCreated();
39  virtual void OnGuiDestroyed();
40 
41  // reimplemented (iqtgui::CGuiComponentBase)
42  virtual void OnModelChanged(int modelId, const istd::IChangeable::ChangeSet& changeSet);
43 
44 protected Q_SLOTS:
46  void OnParamsChanged(double value);
47 
48 private:
49  I_REF(i2d::ICalibrationProvider, m_calibProviderCompPtr);
50  I_REF(imod::IModel, m_calibProviderModelCompPtr);
51 };
52 
53 
54 } // namespace icalibgui
55 
56 
57 #endif // !icalibgui_CSimpleLensCorrectionEditorComp_included
58 
59 
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
virtual void OnModelChanged(int modelId, const istd::IChangeable::ChangeSet &changeSet)
iqtgui::TDesignerGuiObserverCompBase< Ui::CSimpleLensCorrectionEditorComp, icalib::CSimpleLensCorrection > BaseClass

© 2007-2017 Witold Gantzke and Kirill Lepskiy