ICF 3.1.1.10
Technical documentation of ICF Libraries
COrientedCircleEditorComp.h
Go to the documentation of this file.
1/********************************************************************************
2** This file is part of the ICF Framework. Copyright (C) Witold Gantzke & Kirill Lepskiy
3** ICF Framework may be used under the terms of the LGPL License v. 2.1 by the Free Software Foundation.
4********************************************************************************/
5
6#pragma once
7
8
9// ICF includes
10#include <i2d/COrientedCircle.h>
13
14
15namespace i2dgui
16{
17
18
21 iview::COrientedCircleShape,
22 i2d::COrientedCircle>
23{
24 Q_OBJECT
25
26public:
30
31 I_BEGIN_COMPONENT(COrientedCircleEditorComp);
32 I_END_COMPONENT;
33
35
36protected:
37 // reimplemented (i2dgui::TCircleBasedParamsGuiComp)
38 bool PopulateActions(QWidget& host, imod::IModel* modelPtr) override;
39
40 // reimplemented (istdgui::CGuiComponentBase)
41 void OnGuiRetranslate() override;
42
43protected Q_SLOTS:
44 void OnParamsChanged(double value);
45
46 // reimplemented (i2dgui::TShapeParamsGuiCompBase)
47 void OnActionTriggered(QAction* actionPtr) override;
48
49protected:
51};
52
53
54} // namespace i2dgui
55
56
Definition of an oriented graphical circle object.
void OnActionTriggered(QAction *actionPtr) override
bool PopulateActions(QWidget &host, imod::IModel *modelPtr) override
void OnParamsChanged(double value)
void OnGuiRetranslate() override
Called from widget event filter when GUI should be retranslated.
i2dgui::TCircleBasedParamsGuiComp< iview::COrientedCircleShape, i2d::COrientedCircle > BaseClass
Common interface for model objects, that supports Model/Observer design pattern.
Definition IModel.h:29
This package contains Qt based implementations for 2D graphic objects.

© Witold Gantzke and Kirill Lepskiy