CQuadrangleParamsGuiComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_CQuadrangleParamsGuiComp_included
2 #define iqt2d_CQuadrangleParamsGuiComp_included
3 
4 
5 // ACF includes
6 #include <i2d/CQuadrangle.h>
7 
9 
11 #include <GeneratedFiles/iqt2d/ui_CQuadrangleParamsGuiComp.h>
12 
13 
14 namespace iqt2d
15 {
16 
17 
20  Ui::CQuadrangleParamsGuiComp,
21  iview::CParallelogramShape,
22  i2d::CQuadrangle>
23 {
24  Q_OBJECT
25 
26 public:
28  Ui::CQuadrangleParamsGuiComp,
31 
32  I_BEGIN_COMPONENT(CQuadrangleParamsGuiComp);
33  I_END_COMPONENT;
34 
35 protected:
36  // reimplemented (iqtgui::TGuiObserverWrap)
37  virtual void UpdateModel() const;
38  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
39 
40  // reimplemented (iqtgui::CGuiComponentBase)
41  virtual void OnGuiCreated();
42  virtual void OnGuiDestroyed();
43  virtual void OnGuiRetranslate();
44 
45 protected Q_SLOTS:
46  void OnParamsChanged(double value);
47 };
48 
49 
50 } // namespace iqt2d
51 
52 
53 #endif // !iqt2d_CQuadrangleParamsGuiComp_included
54 
55 
virtual void OnGuiRetranslate()
Called from widget event filter when GUI should be retranslated.
virtual void UpdateModel() const
Do update of the model to reflect the current contents of GUI.
void OnParamsChanged(double value)
iqt2d::TShapeParamsGuiCompBase< Ui::CQuadrangleParamsGuiComp, iview::CParallelogramShape, i2d::CQuadrangle > BaseClass
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
Do update of the GUI to reflect the state of model.
Set of change flags (its IDs).
Definition: IChangeable.h:30
virtual void OnGuiCreated()
Called just after GUI is initialized.
Definition of convexes quadrangle object.
Definition: CQuadrangle.h:18
virtual void OnGuiDestroyed()
Called just before GUI is released.

© 2007-2017 Witold Gantzke and Kirill Lepskiy