CWizardOptionsListGuiComp.h
Go to the documentation of this file.
1 #ifndef iwizgui_CWizardOptionsListGuiComp_included
2 #define iwizgui_CWizardOptionsListGuiComp_included
3 
4 
5 // Qt includes
6 #include<QtCore/QtGlobal>
7 #if QT_VERSION >= 0x050000
8 #include <QtWidgets/QComboBox>
9 #include <QtWidgets/QRadioButton>
10 #else
11 #include <QtGui/QComboBox>
12 #include <QtGui/QRadioButton>
13 #endif
14 
15 // ACF includes
16 #include "istd/TPointerVector.h"
17 
19 
21 
22 #include "GeneratedFiles/iwizgui/ui_CWizardOptionsListGuiComp.h"
23 
24 
25 namespace iwizgui
26 {
27 
28 
34  Ui::CWizardOptionsListGuiComp, iwiz::IParamsManagerWizard>
35 {
36  Q_OBJECT
37 
38 public:
40  Ui::CWizardOptionsListGuiComp, iwiz::IParamsManagerWizard> BaseClass;
41 
42  enum DataRole
43  {
44  DR_PAGE_INDEX = Qt::UserRole + 1,
45  };
46 
47  I_BEGIN_COMPONENT(CWizardOptionsListGuiComp);
48  I_END_COMPONENT;
49 
50  // reimplemented (imod::IModelEditor)
51  virtual void UpdateModel() const;
52 
53 protected:
54  // reimplemented (iqtgui::TGuiObserverWrap)
55  virtual void UpdateGui(int updateFlags = 0);
56 
57  // reimplemented (CGuiComponentBase)
58  void OnGuiCreated();
59 
60 protected Q_SLOTS:
62 
63 private:
64  void CreateOptionsTree(const iwiz::IParamsManagerWizard* paramsManagerPtr, QTreeWidgetItem* parentItemPtr = NULL);
65 };
66 
67 
68 } // namespace iwizgui
69 
70 
71 #endif // !iwizgui_CWizardOptionsListGuiComp_included
72 
73 
Interface for wizard implementation based on parameter manager.
virtual void UpdateGui(int updateFlags=0)
An editor for an exclusive option selection implemented as a list of options.
virtual void UpdateModel() const
iqtgui::TDesignerGuiObserverCompBase< Ui::CWizardOptionsListGuiComp, iwiz::IParamsManagerWizard > BaseClass

© 2007-2011 Witold Gantzke and Kirill Lepskiy