buttonbox.h

changeset 140
2e8c1626aef7
parent 136
13db97be14cb
equal deleted inserted replaced
139:5e31a96adaa2 140:2e8c1626aef7
131 131
132 int value () { 132 int value () {
133 return buttonGroup->checkedId (); 133 return buttonGroup->checkedId ();
134 } 134 }
135 135
136 void setValue (int val) {
137 static_cast<R*> (buttonGroup->button (val))->setChecked (true);
138 }
139
136 R* const& begin () { 140 R* const& begin () {
137 return objects.begin (); 141 return objects.begin ();
138 } 142 }
139 143
140 R* const& end () { 144 R* const& end () {

mercurial