src/widgets.cpp

changeset 311
c6e38e5e4f33
parent 252
3f9067022d74
child 313
7e2cc227cfa0
--- a/src/widgets.cpp	Mon Jul 01 23:07:35 2013 +0300
+++ b/src/widgets.cpp	Tue Jul 02 00:06:06 2013 +0300
@@ -174,4 +174,17 @@
 
 bool CheckBoxGroup::buttonChecked (int key) {
 	return m_vals[key]->isChecked ();
+}
+
+SpinBox::SpinBox( QWidget* parent ) : QSpinBox( parent ) {}
+SpinBox::SpinBox() : QSpinBox() {}
+
+void SpinBox::enable()
+{
+	setEnabled( true );
+}
+
+void SpinBox::disable()
+{
+	setEnabled( false );
 }
\ No newline at end of file

mercurial