CCheckableOptionsEditorComp.h
Go to the documentation of this file.
1 #ifndef iqtprm_CCheckableOptionsEditorComp_included
2 #define iqtprm_CCheckableOptionsEditorComp_included
3 
4 
5 // ACF includes
7 #include <iprm/IOptionsManager.h>
8 
9 #include <GeneratedFiles/iqtprm/ui_CCheckableOptionsEditorComp.h>
10 
11 
12 namespace iqtprm
13 {
14 
15 
18  Ui::CCheckableOptionsEditorComp,
19  iprm::IOptionsManager>
20 {
21  Q_OBJECT
22 public:
24  Ui::CCheckableOptionsEditorComp,
26 
27  I_BEGIN_COMPONENT(CCheckableOptionsEditorComp);
28  I_ASSIGN(m_useHorizontalLayoutAttrPtr, "UseHorizontalLayout", "Horizontal mode for GUI", true, true);
29  I_END_COMPONENT;
30 
31 protected Q_SLOTS:
32  void OnParameterChanged();
33 
34 protected:
35  // reimplemented (iqtgui::TGuiObserverWrap)
36  virtual void UpdateModel() const;
37  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
38 
39 private:
40  I_ATTR(bool, m_useHorizontalLayoutAttrPtr);
41 };
42 
43 
44 } // namespace iqtprm
45 
46 
47 #endif // !iqtprm_CCheckableOptionsEditorComp_included
48 
49 
virtual void UpdateModel() const
Do update of the model to reflect the current contents of GUI.
Common interface for the management of the dynamic selection constraints.
Base class for all Qt GUI components.
Set of change flags (its IDs).
Definition: IChangeable.h:30
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)
Do update of the GUI to reflect the state of model.
iqtgui::TDesignerGuiObserverCompBase< Ui::CCheckableOptionsEditorComp, iprm::IOptionsManager > BaseClass

© 2007-2017 Witold Gantzke and Kirill Lepskiy