Changed max and min value for double spin box in table of variables.

--HG--
branch : develop
This commit is contained in:
dismine 2013-10-14 15:18:42 +03:00
parent 23a7efbc6a
commit 1f89b0038a

View File

@ -56,8 +56,8 @@
QWidget *DoubleSpinBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &/* option */, QWidget *DoubleSpinBoxDelegate::createEditor(QWidget *parent, const QStyleOptionViewItem &/* option */,
const QModelIndex &/* index */) const{ const QModelIndex &/* index */) const{
QDoubleSpinBox *editor = new QDoubleSpinBox(parent); QDoubleSpinBox *editor = new QDoubleSpinBox(parent);
editor->setMinimum(-1000.0); editor->setMinimum(-10000.0);
editor->setMaximum(1000.0); editor->setMaximum(10000.0);
return editor; return editor;
} }