CCaliperParamsGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtipr_CCaliperParamsGuiComp_included
2 #define iqtipr_CCaliperParamsGuiComp_included
3 
4 
5 #include <iipr/ICaliperParams.h>
6 
8 
9 #include <GeneratedFiles/iqtipr/ui_CCaliperParamsGuiComp.h>
10 
11 
12 namespace iqtipr
13 {
14 
15 
17  Ui::CCaliperParamsGuiComp,
18  iipr::ICaliperParams>
19 {
20  Q_OBJECT
21 
22 public:
24  Ui::CCaliperParamsGuiComp,
26 
27  I_BEGIN_COMPONENT(CCaliperParamsGuiComp);
28  I_ASSIGN(m_hideEdgePolarityAttrPtr, "HideEdgePolarityParameterEditor", "If enabled, edge polarity selection editor will be hidden", true, false);
29  I_ASSIGN(m_hideDirectionAttrPtr, "HideDirectionParameterEditor", "If enabled, edge search direction editor will be hidden", true, 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 
40 protected Q_SLOTS:
41  void on_ThresholdSB_valueChanged(int value);
43  void on_DirectionCB_currentIndexChanged(int index);
44 
45 private:
46  I_ATTR(bool, m_hideEdgePolarityAttrPtr);
47  I_ATTR(bool, m_hideDirectionAttrPtr);
48 };
49 
50 
51 } // namespace iqtipr
52 
53 
54 #endif // !iqtipr_CCaliperParamsGuiComp_included
55 
56 
virtual void UpdateModel() const
void on_EdgePolarityCB_currentIndexChanged(int index)
iqtgui::TDesignerGuiObserverCompBase< Ui::CCaliperParamsGuiComp, iipr::ICaliperParams > BaseClass
void on_DirectionCB_currentIndexChanged(int index)
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
void on_ThresholdSB_valueChanged(int value)

© 2007-2017 Witold Gantzke and Kirill Lepskiy