ICF 3.1.1.10
Technical documentation of ICF Libraries
CQuadrangleParamsGuiComp.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/CQuadrangle.h>
11
13
15#include <GeneratedFiles/i2dgui/ui_CQuadrangleParamsGuiComp.h>
16
17
18namespace i2dgui
19{
20
21
24 Ui::CQuadrangleParamsGuiComp,
25 iview::CParallelogramShape,
26 i2d::CQuadrangle>
27{
28 Q_OBJECT
29
30public:
32 Ui::CQuadrangleParamsGuiComp,
35
36 I_BEGIN_COMPONENT(CQuadrangleParamsGuiComp);
37 I_END_COMPONENT;
38
39protected:
40 // reimplemented (istdgui::TGuiObserverWrap)
41 void UpdateModel() const override;
42 void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
43
44 // reimplemented (istdgui::CGuiComponentBase)
45 void OnGuiCreated() override;
46 void OnGuiDestroyed() override;
47 void OnGuiRetranslate() override;
48
49protected Q_SLOTS:
50 void OnParamsChanged(double value);
51};
52
53
54} // namespace i2dgui
55
56
Definition of convexes quadrangle object.
Definition CQuadrangle.h:23
void OnParamsChanged(double value)
void OnGuiRetranslate() override
Called from widget event filter when GUI should be retranslated.
void OnGuiCreated() override
Called just after GUI is initialized.
i2dgui::TShapeParamsGuiCompBase< Ui::CQuadrangleParamsGuiComp, iview::CParallelogramShape, i2d::CQuadrangle > BaseClass
void UpdateModel() const override
void OnGuiDestroyed() override
Called just before GUI is released.
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
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