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 protected:
51  // reimplemented (iqtgui::TGuiObserverWrap)
52  virtual void UpdateModel() const;
53  virtual void UpdateGui(const istd::IChangeable::ChangeSet& changeSet);
54 
55  // reimplemented (CGuiComponentBase)
56  void OnGuiCreated();
57 
58 protected Q_SLOTS:
60 
61 private:
62  void CreateOptionsTree(const iwiz::IParamsManagerWizard* paramsManagerPtr, QTreeWidgetItem* parentItemPtr = NULL);
63 };
64 
65 
66 } // namespace iwizgui
67 
68 
69 #endif // !iwizgui_CWizardOptionsListGuiComp_included
70 
71 
Interface for wizard implementation based on parameter manager.
An editor for an exclusive option selection implemented as a list of options.
virtual void UpdateModel() const
iqtgui::TDesignerGuiObserverCompBase< Ui::CWizardOptionsListGuiComp, iwiz::IParamsManagerWizard > BaseClass
virtual void UpdateGui(const istd::IChangeable::ChangeSet &changeSet)

© 2007-2017 Witold Gantzke and Kirill Lepskiy