src/widgets.h

changeset 504
6a1fa662bfc1
parent 498
791c831c8020
child 541
0e38beeb050a
equal deleted inserted replaced
503:bebe09014dd6 504:6a1fa662bfc1
38 // ============================================================================= 38 // =============================================================================
39 class RadioGroup : public QGroupBox 39 class RadioGroup : public QGroupBox
40 { Q_OBJECT 40 { Q_OBJECT
41 41
42 public: 42 public:
43 typedef List<QRadioButton*>::Iterator Iterator; 43 typedef QList<QRadioButton*>::Iterator Iterator;
44 44
45 explicit RadioGroup() 45 explicit RadioGroup()
46 { init (Qt::Vertical); 46 { init (Qt::Vertical);
47 } 47 }
48 48
73 void buttonPressed (int btn); 73 void buttonPressed (int btn);
74 void buttonReleased (int btn); 74 void buttonReleased (int btn);
75 void valueChanged (int val); 75 void valueChanged (int val);
76 76
77 private: 77 private:
78 List<QRadioButton*> m_objects; 78 QList<QRadioButton*> m_objects;
79 List<QBoxLayout*> m_layouts; 79 QList<QBoxLayout*> m_layouts;
80 QBoxLayout* m_coreLayout; 80 QBoxLayout* m_coreLayout;
81 QBoxLayout* m_currentLayout; 81 QBoxLayout* m_currentLayout;
82 bool m_vert; 82 bool m_vert;
83 int m_curId, m_defId, m_oldId; 83 int m_curId, m_defId, m_oldId;
84 QButtonGroup* m_buttonGroup; 84 QButtonGroup* m_buttonGroup;

mercurial