COrientedCircleEditorComp.h
Go to the documentation of this file.
1 #ifndef iqt2d_COrientedCircleEditorComp_included
2 #define iqt2d_COrientedCircleEditorComp_included
3 
4 
5 // ACF includes
6 #include <i2d/COrientedCircle.h>
9 
10 
11 namespace iqt2d
12 {
13 
14 
17  iview::COrientedCircleShape,
18  i2d::COrientedCircle>
19 {
20  Q_OBJECT
21 
22 public:
26 
27  I_BEGIN_COMPONENT(COrientedCircleEditorComp);
28  I_END_COMPONENT;
29 
31 
32 protected:
33  // reimplemented (iqt2d::TCircleBasedParamsGuiComp)
34  virtual bool PopulateActions(QWidget& host, imod::IModel* modelPtr);
35 
36  // reimplemented (iqtgui::CGuiComponentBase)
37  virtual void OnGuiRetranslate();
38 
39 protected Q_SLOTS:
40  void OnParamsChanged(double value);
41  void OnActionTriggered(QAction* actionPtr);
42 
43 protected:
45 };
46 
47 
48 } // namespace iqt2d
49 
50 
51 #endif // !iqt2d_COrientedCircleEditorComp_included
52 
53 
Definition of an oriented graphical circle object.
virtual bool PopulateActions(QWidget &host, imod::IModel *modelPtr)
void OnParamsChanged(double value)
virtual void OnGuiRetranslate()
Called from widget event filter when GUI should be retranslated.
iqt2d::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle > BaseClass
void OnActionTriggered(QAction *actionPtr)
Common interface for model objects, that supports Model/Observer design pattern.
Definition: IModel.h:23

© 2007-2017 Witold Gantzke and Kirill Lepskiy