ICF 3.0.5.47
Technical documentation of ICF Libraries
CAnnulusSegmentParamsGuiComp.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/CAnnulusSegment.h>
13
14#include <GeneratedFiles/i2dgui/ui_CAnnulusSegmentParamsGuiComp.h>
15
16
17namespace i2dgui
18{
19
20
23 Ui::CAnnulusSegmentParamsGuiComp,
24 iview::CAnnulusSegmentShape,
25 i2d::CAnnulusSegment>
26{
27 Q_OBJECT
28
29public:
31 Ui::CAnnulusSegmentParamsGuiComp,
34
35 I_BEGIN_COMPONENT(CAnnulusSegmentParamsGuiComp);
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 // reimplemented (i2dgui::TShapeParamsGuiCompBase)
52 void OnActionTriggered(QAction* actionPtr) override;
53};
54
55
56} // namespace i2dgui
57
58
Radial segment of the annulus object.
i2dgui::TShapeParamsGuiCompBase< Ui::CAnnulusSegmentParamsGuiComp, iview::CAnnulusSegmentShape, i2d::CAnnulusSegment > BaseClass
void OnGuiCreated() override
Called just after GUI is initialized.
void OnGuiRetranslate() override
Called from widget event filter when GUI should be retranslated.
void UpdateModel() const override
void OnActionTriggered(QAction *actionPtr) override
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
void OnGuiDestroyed() override
Called just before GUI is released.
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