src/widgets.cpp

changeset 313
7e2cc227cfa0
parent 311
c6e38e5e4f33
child 395
5210bcb1d7e0
equal deleted inserted replaced
312:97620579d86c 313:7e2cc227cfa0
173 } 173 }
174 174
175 bool CheckBoxGroup::buttonChecked (int key) { 175 bool CheckBoxGroup::buttonChecked (int key) {
176 return m_vals[key]->isChecked (); 176 return m_vals[key]->isChecked ();
177 } 177 }
178
179 SpinBox::SpinBox( QWidget* parent ) : QSpinBox( parent ) {}
180 SpinBox::SpinBox() : QSpinBox() {}
181
182 void SpinBox::enable()
183 {
184 setEnabled( true );
185 }
186
187 void SpinBox::disable()
188 {
189 setEnabled( false );
190 }

mercurial