CScaleCalibrationEditorComp.h
Go to the documentation of this file.
1 #ifndef iqtcam_CScaleCalibrationEditorComp_included
2 #define iqtcam_CScaleCalibrationEditorComp_included
3 
4 
5 // Qt includes
6 #include<QtCore/QtGlobal>
7 #if QT_VERSION >= 0x050000
8 #include <QtWidgets/QFrame>
9 #include <QtWidgets/QGroupBox>
10 #else
11 #include <QtGui/QFrame>
12 #include <QtGui/QGroupBox>
13 #endif
14 
15 // ACF includes
17 #include "istd/TPointerVector.h"
18 
19 // ACF-Solutions includes
21 
22 #include "GeneratedFiles/iqtcam/ui_CScaleCalibrationEditorComp.h"
23 
24 
25 namespace iqtcam
26 {
27 
28 
31  Ui::CScaleCalibrationEditorComp, imeas::INumericValue>
32 {
33  Q_OBJECT
34 public:
36  Ui::CScaleCalibrationEditorComp, imeas::INumericValue> BaseClass;
37 
38  I_BEGIN_COMPONENT(CScaleCalibrationEditorComp);
39  I_ASSIGN(m_circleProviderPtr, "CircleProvider", "External circle provider providing radius used for scale calibration\nThe provider must provide a numeric value of type VTI_RADIUS", false, "CircleProvider");
40  I_REGISTER_INTERFACE(imod::IModelEditor);
41  I_END_COMPONENT;
42 
43 protected:
44  // reimplemented (imod::IModelEditor)
45  virtual void UpdateModel() const;
46 
47  // reimplemented (iqtgui::CGuiComponentBase)
48  virtual void OnGuiCreated();
49 
50  // reimplemented (iqtgui::TGuiObserverWrap)
51  virtual void UpdateGui(int changeFlags);
52 
53 private Q_SLOTS:
54  void OnValueChanged(double);
55  void on_CalibrateButton_clicked();
56  void on_NominalRadiusSpinBox_valueChanged(double d);
57 
58 private:
59  I_REF(imeas::INumericValueProvider, m_circleProviderPtr);
60 };
61 
62 
63 } // namespace iqtcam
64 
65 
66 #endif // !iqtcam_CScaleCalibrationEditorComp_included
67 
68 
virtual void UpdateGui(int changeFlags)
iqtgui::TDesignerGuiObserverCompBase< Ui::CScaleCalibrationEditorComp, imeas::INumericValue > BaseClass
Provide access to the list of the numeric values.
General parameter set containing list of numeric values.
Definition: INumericValue.h:19
virtual void UpdateModel() const

© 2007-2011 Witold Gantzke and Kirill Lepskiy