ICF 3.1.1.10
Technical documentation of ICF Libraries
CRectangleParamsGuiComp.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/CRectangle.h>
10
12
14#include <GeneratedFiles/i2dgui/ui_CRectangleParamsGuiComp.h>
15
16
17namespace i2dgui
18{
19
20
23 Ui::CRectangleParamsGuiComp,
24 iview::CRectangleShape,
25 i2d::CRectangle>
26{
27 Q_OBJECT
28
29public:
31 Ui::CRectangleParamsGuiComp,
34
35 I_BEGIN_COMPONENT(CRectangleParamsGuiComp);
36 I_END_COMPONENT;
37
38protected:
39 // reimplemented (istdgui::TGuiObserverWrap)
40 void OnGuiModelAttached() override;
41 void OnGuiModelDetached() override;
42 void UpdateModel() const override;
43 void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
44
45 // reimplemented (istdgui::CGuiComponentBase)
46 void OnGuiRetranslate() override;
47
48protected Q_SLOTS:
49 void OnParamsChanged(double value);
50};
51
52
53} // namespace i2dgui
54
55
Definition of rectangle area orthogonal to axis of coordination system.
Definition CRectangle.h:31
void OnParamsChanged(double value)
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
void OnGuiModelDetached() override
void OnGuiRetranslate() override
Called from widget event filter when GUI should be retranslated.
i2dgui::TShapeParamsGuiCompBase< Ui::CRectangleParamsGuiComp, iview::CRectangleShape, i2d::CRectangle > BaseClass
void UpdateModel() const override
void OnGuiModelAttached() override
Set of change flags (its IDs).
Definition IChangeable.h:38
Interactive shape object for iview::CSearchArea.
This package contains Qt based implementations for 2D graphic objects.

© Witold Gantzke and Kirill Lepskiy