ACF $AcfVersion:0$
COrientedCircleEditorComp.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
11namespace iqt2d
12{
13
14
17 iview::COrientedCircleShape,
18 i2d::COrientedCircle>
19{
20 Q_OBJECT
21
22public:
26
27 I_BEGIN_COMPONENT(COrientedCircleEditorComp);
28 I_END_COMPONENT;
29
31
32protected:
33 // reimplemented (iqt2d::TCircleBasedParamsGuiComp)
34 virtual bool PopulateActions(QWidget& host, imod::IModel* modelPtr) override;
35
36 // reimplemented (iqtgui::CGuiComponentBase)
37 virtual void OnGuiRetranslate() override;
38
39protected Q_SLOTS:
40 void OnParamsChanged(double value);
41 void OnActionTriggered(QAction* actionPtr);
42
43protected:
45};
46
47
48} // namespace iqt2d
49
50
Definition of an oriented graphical circle object.
Common interface for model objects, that supports Model/Observer design pattern.
Definition IModel.h:25
iqt2d::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle > BaseClass
virtual bool PopulateActions(QWidget &host, imod::IModel *modelPtr) override
void OnParamsChanged(double value)
virtual void OnGuiRetranslate() override
void OnActionTriggered(QAction *actionPtr)
This package contains Qt based implementations for 2D graphic objects.