ICF 3.1.1.10
Technical documentation of ICF Libraries
CArcParamsGuiComp.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#include <i2d/CArc.h>
10
11#include <iview/CArcShape.h>
12
14#include <GeneratedFiles/i2dgui/ui_CArcParamsGuiComp.h>
15
16
17namespace i2dgui
18{
19
20
23 Ui::CArcParamsGuiComp,
24 iview::CArcShape,
25 i2d::CArc>
26{
27 Q_OBJECT
28
29public:
31 Ui::CArcParamsGuiComp,
34
35 I_BEGIN_COMPONENT(CArcParamsGuiComp);
36 I_END_COMPONENT;
37
38protected:
39 // reimplemented (istdgui::TGuiObserverWrap)
40 void UpdateModel() const override;
41 void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
42
43 // reimplemented (istdgui::CGuiComponentBase)
44 void OnGuiCreated() override;
45 void OnGuiDestroyed() override;
46 void OnGuiRetranslate() override;
47
48protected Q_SLOTS:
49 void OnParamsChanged(double value);
50};
51
52
53} // namespace i2dgui
54
55
Definition of graphical circle object.
Definition CCircle.h:26
i2dgui::TShapeParamsGuiCompBase< Ui::CArcParamsGuiComp, iview::CArcShape, i2d::CCircle > CArc
void OnGuiDestroyed() override
Called just before GUI is released.
void UpdateModel() const override
void OnGuiRetranslate() override
Called from widget event filter when GUI should be retranslated.
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
void OnGuiCreated() override
Called just after GUI is initialized.
void OnParamsChanged(double value)
Set of change flags (its IDs).
Definition IChangeable.h:38
This package contains Qt based implementations for 2D graphic objects.

© Witold Gantzke and Kirill Lepskiy