ICF 3.1.1.10
Technical documentation of ICF Libraries
CEnableableParamGuiComp.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#ifndef iqtprm_CEnableableParamGuiComp_included
7#define iqtprm_CEnableableParamGuiComp_included
8
9
10// ICF includes
13
14#include <GeneratedFiles/iprmgui/ui_CEnableableParamGuiComp.h>
15
16
17namespace iprmgui
18{
19
20
22 Ui::CEnableableParamGuiComp,
23 iprm::IEnableableParam>
24{
25 Q_OBJECT
26
27public:
29 Ui::CEnableableParamGuiComp,
31
32 I_BEGIN_COMPONENT(CEnableableParamGuiComp);
33 I_ASSIGN(m_enableableLabelAttrPtr, "Label", "Label for the enable/disable control", false, "");
34 I_END_COMPONENT;
35
36 // reimplemented (istdgui::CGuiComponentBase)
37 void OnGuiCreated() override;
38 void OnGuiRetranslate() override;
39
40 // reimplemented (istdgui::TGuiObserverWrap)
41 void OnGuiModelAttached() override;
42 void UpdateModel() const override;
43 void UpdateGui(const istd::IChangeable::ChangeSet& changeSet) override;
44
45protected Q_SLOTS:
47
48private:
49 I_TEXTATTR(m_enableableLabelAttrPtr);
50};
51
52
53} // namespace iprmgui
54
55
56#endif // !iqtprm_CEnableableParamGuiComp_included
57
58
Interface for objects which can be enabled/disabled.
void OnGuiCreated() override
Called just after GUI is initialized.
void on_EnableableCheck_stateChanged(int state)
void OnGuiRetranslate() override
Called from widget event filter when GUI should be retranslated.
void UpdateModel() const override
void UpdateGui(const istd::IChangeable::ChangeSet &changeSet) override
istdgui::TDesignerGuiObserverCompBase< Ui::CEnableableParamGuiComp, iprm::IEnableableParam > BaseClass
Set of change flags (its IDs).
Definition IChangeable.h:38
Base class for all Qt GUI components.
This package contains Qt based implementations of standard parameter components.

© Witold Gantzke and Kirill Lepskiy