CArcParamsGuiComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_CArcParamsGuiComp_included
2 #define iqt2d_CArcParamsGuiComp_included
3 
4 
5 #include <i2d/CArc.h>
6 
7 #include <iview/CArcShape.h>
8 
10 #include <GeneratedFiles/iqt2d/ui_CArcParamsGuiComp.h>
11 
12 
13 namespace iqt2d
14 {
15 
16 
19  Ui::CArcParamsGuiComp,
20  iview::CArcShape,
21  i2d::CArc>
22 {
23  Q_OBJECT
24 
25 public:
27  Ui::CArcParamsGuiComp,
30 
31  I_BEGIN_COMPONENT(CArcParamsGuiComp);
32  I_END_COMPONENT;
33 
34 protected:
35  // reimplemented (iqtgui::TGuiObserverWrap)
36  virtual void UpdateModel() const;
37  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
38 
39  // reimplemented (iqtgui::CGuiComponentBase)
40  virtual void OnGuiCreated();
41  virtual void OnGuiDestroyed();
42  virtual void OnGuiRetranslate();
43 
44 protected Q_SLOTS:
45  void OnParamsChanged(double value);
46 };
47 
48 
49 } // namespace iqt2d
50 
51 
52 #endif // !iqt2d_CArcParamsGuiComp_included
53 
54 
iqt2d::TShapeParamsGuiCompBase< Ui::CArcParamsGuiComp, iview::CArcShape, i2d::CCircle > CArc
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.
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
Do update of the GUI to reflect the state of model.
void OnParamsChanged(double value)
virtual void OnGuiDestroyed()
Called just before GUI is released.
Definition of graphical circle object.
Definition: CCircle.h:21
Set of change flags (its IDs).
Definition: IChangeable.h:30
virtual void OnGuiCreated()
Called just after GUI is initialized.

© 2007-2017 Witold Gantzke and Kirill Lepskiy