ACF $AcfVersion:0$
CAffineTransformationParamsGuiComp.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ACF-Commercial
2#pragma once
3
4
5// ACF includes
9
10#include <GeneratedFiles/iqt2d/ui_CAffineTransformationParamsGui.h>
11
12
13namespace iqt2d
14{
15
16
22 Ui::CAffineTransformationParamsGui,
23 iview::CAffineTransformation2dShape,
24 i2d::CAffineTransformation2d>
25{
26 Q_OBJECT
27
28public:
30 Ui::CAffineTransformationParamsGui,
33
34 I_BEGIN_COMPONENT(CAffineTransformationParamsGuiComp);
35 I_END_COMPONENT;
36
37protected:
38 // reimplemented (iqt2d::TViewExtenderCompBase)
39 virtual void CreateShapes(int sceneId, Shapes& result) override;
40
41 // reimplemented (iqtgui::TGuiObserverWrap)
42 virtual void OnGuiModelAttached() override;
43 virtual void OnGuiModelDetached() override;
44 virtual void UpdateModel() const override;
45 virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
46
47protected Q_SLOTS:
48 void OnParamsChanged(double value);
49 void on_ResetButton_clicked(bool = false);
50};
51
52
53} // namespace iqt2d
54
55
Definition of an affine transformation for 2D-spaces.
Gui Editor for shape affine transformation parameters.
virtual void OnGuiModelAttached() override
virtual void UpdateModel() const override
virtual void CreateShapes(int sceneId, Shapes &result) override
Create shapes for the view.
iqt2d::TShapeParamsGuiCompBase< Ui::CAffineTransformationParamsGui, iview::CAffineTransformation2dShape, i2d::CAffineTransformation2d > BaseClass
virtual void OnGuiModelDetached() override
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
Set of change flags (its IDs).
Definition IChangeable.h:36
Implementation of a pointer container, which controls the live cycle of the pointer object.
Interactive shape to visualize i2d::CAffineTransformation2d.
This package contains Qt based implementations for 2D graphic objects.