CAffineTransformationParamsGuiComp.h
Go to the documentation of this file.
1 #ifndef CAffineTransformationParamsGui_included
2 #define CAffineTransformationParamsGui_included
3 
4 // ACF includes
8 
9 #include <GeneratedFiles/iqt2d/ui_CAffineTransformationParamsGui.h>
10 
11 
12 namespace iqt2d
13 {
14 
15 
21  Ui::CAffineTransformationParamsGui,
22  iview::CAffineTransformation2dShape,
23  i2d::CAffineTransformation2d>
24 {
25  Q_OBJECT
26 
27 public:
29  Ui::CAffineTransformationParamsGui,
32 
33  I_BEGIN_COMPONENT(CAffineTransformationParamsGuiComp);
34  I_END_COMPONENT;
35 
36 protected:
37  // reimplemented (iqt2d::TViewExtenderCompBase)
38  virtual void CreateShapes(int sceneId, Shapes& result);
39 
40  // reimplemented (iqtgui::TGuiObserverWrap)
41  virtual void OnGuiModelAttached();
42  virtual void OnGuiModelDetached();
43  virtual void UpdateModel() const;
44  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
45 
46 protected Q_SLOTS:
47  void OnParamsChanged(double value);
48  void on_ResetButton_clicked(bool = false);
49 };
50 
51 
52 } // namespace iqt2d
53 
54 
55 #endif // CAffineTransformationParamsGui_included
56 
virtual void OnGuiModelDetached()
Called when model is detached or GUI is destroyed.
virtual void CreateShapes(int sceneId, Shapes &result)
iqt2d::TShapeParamsGuiCompBase< Ui::CAffineTransformationParamsGui, iview::CAffineTransformation2dShape, i2d::CAffineTransformation2d > 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
Gui Editor for shape affine transformation parameters.
Interactive shape to visualize i2d::CAffineTransformation2d.
virtual void OnGuiModelAttached()
Called when model is attached and GUI is created.
Definition of an affine transformation for 2D-spaces.
virtual void UpdateModel() const
Do update of the model to reflect the current contents of GUI.

© 2007-2017 Witold Gantzke and Kirill Lepskiy