CEnableableParamGuiComp.h
Go to the documentation of this file.
1 #ifndef iqtprm_CEnableableParamGuiComp_included
2 #define iqtprm_CEnableableParamGuiComp_included
3 
4 
5 // ACF includes
8 
9 #include <GeneratedFiles/iqtprm/ui_CEnableableParamGuiComp.h>
10 
11 
12 namespace iqtprm
13 {
14 
15 
17  Ui::CEnableableParamGuiComp,
18  iprm::IEnableableParam>
19 {
20  Q_OBJECT
21 
22 public:
24  Ui::CEnableableParamGuiComp,
26 
27  I_BEGIN_COMPONENT(CEnableableParamGuiComp);
28  I_ASSIGN(m_enableableLabelAttrPtr, "Label", "Label for the enable/disable control", false, "");
29  I_END_COMPONENT;
30 
31  // reimplemented (iqtgui::CGuiComponentBase)
32  virtual void OnGuiCreated();
33  virtual void OnGuiRetranslate();
34 
35  // reimplemented (iqtgui::TGuiObserverWrap)
36  virtual void OnGuiModelAttached();
37  virtual void UpdateModel() const;
38  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
39 
40 protected Q_SLOTS:
41  void on_EnableableCheck_stateChanged(int state);
42 
43 private:
44  I_TEXTATTR(m_enableableLabelAttrPtr);
45 };
46 
47 
48 } // namespace iqtprm
49 
50 
51 #endif // !iqtprm_CEnableableParamGuiComp_included
52 
53 
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
Do update of the GUI to reflect the state of model.
virtual void OnGuiRetranslate()
Called from widget event filter when GUI should be retranslated.
virtual void OnGuiModelAttached()
Called when model is attached and GUI is created.
Interface for objects which can be enabled/disabled.
iqtgui::TDesignerGuiObserverCompBase< Ui::CEnableableParamGuiComp, iprm::IEnableableParam > BaseClass
Base class for all Qt GUI components.
virtual void UpdateModel() const
Do update of the model to reflect the current contents of GUI.
Set of change flags (its IDs).
Definition: IChangeable.h:30
virtual void OnGuiCreated()
Called just after GUI is initialized.
void on_EnableableCheck_stateChanged(int state)

© 2007-2017 Witold Gantzke and Kirill Lepskiy