Mercurial > hg > svgui
diff widgets/PluginParameterBox.cpp @ 103:5064eeb1c76f
* #1492875: Increase fractional digits of plugin parameter values
author | Chris Cannam |
---|---|
date | Thu, 15 Jun 2006 11:08:22 +0000 |
parents | 967193b6c7aa |
children | 53b9c7656798 |
line wrap: on
line diff
--- a/widgets/PluginParameterBox.cpp Fri May 12 16:51:19 2006 +0000 +++ b/widgets/PluginParameterBox.cpp Thu Jun 15 11:08:22 2006 +0000 @@ -170,6 +170,7 @@ spinbox->setSuffix(QString(" %1").arg(unit)); spinbox->setSingleStep(qtz); spinbox->setValue(value); + spinbox->setDecimals(4); connect(spinbox, SIGNAL(valueChanged(double)), this, SLOT(spinBoxChanged(double))); m_layout->addWidget(spinbox, i + offset, 2);