CAnnulusSegmentParamsGuiComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_CAnnulusSegmentParamsGuiComp_included
2 #define iqt2d_CAnnulusSegmentParamsGuiComp_included
3 
4 
5 // ACF includes
6 #include <i2d/CAnnulusSegment.h>
9 
10 #include <GeneratedFiles/iqt2d/ui_CAnnulusSegmentParamsGuiComp.h>
11 
12 
13 namespace iqt2d
14 {
15 
16 
19  Ui::CAnnulusSegmentParamsGuiComp,
20  iview::CAnnulusSegmentShape,
21  i2d::CAnnulusSegment>
22 {
23  Q_OBJECT
24 
25 public:
27  Ui::CAnnulusSegmentParamsGuiComp,
30 
31  I_BEGIN_COMPONENT(CAnnulusSegmentParamsGuiComp);
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  void OnActionTriggered(QAction* actionPtr);
47 };
48 
49 
50 } // namespace iqt2d
51 
52 
53 #endif // !iqt2d_CAnnulusSegmentParamsGuiComp_included
54 
55 
void OnActionTriggered(QAction *actionPtr)
virtual void OnGuiDestroyed()
Called just before GUI is released.
iqt2d::TShapeParamsGuiCompBase< Ui::CAnnulusSegmentParamsGuiComp, iview::CAnnulusSegmentShape, i2d::CAnnulusSegment > BaseClass
virtual void OnGuiRetranslate()
Called from widget event filter when GUI should be retranslated.
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
Do update of the GUI to reflect the state of model.
virtual void OnGuiCreated()
Called just after GUI is initialized.
Set of change flags (its IDs).
Definition: IChangeable.h:30
Radial segment of the annulus object.
virtual void UpdateModel() const
Do update of the model to reflect the current contents of GUI.

© 2007-2017 Witold Gantzke and Kirill Lepskiy