Mercurial > hg > svgui
comparison widgets/ItemEditDialog.cpp @ 706:97ea68f62c1f imaf_enc
Merge from default branch
author | Chris Cannam |
---|---|
date | Thu, 05 Dec 2013 09:47:02 +0000 |
parents | b6397738444c |
children | e4773943c9c1 |
comparison
equal
deleted
inserted
replaced
678:26c5f7fd4807 | 706:97ea68f62c1f |
---|---|
145 subgrid->addWidget(new QLabel(tr("Value:")), subrow, 0); | 145 subgrid->addWidget(new QLabel(tr("Value:")), subrow, 0); |
146 | 146 |
147 m_valueSpinBox = new QDoubleSpinBox; | 147 m_valueSpinBox = new QDoubleSpinBox; |
148 m_valueSpinBox->setSuffix(QString(" %1").arg(valueUnits)); | 148 m_valueSpinBox->setSuffix(QString(" %1").arg(valueUnits)); |
149 m_valueSpinBox->setDecimals(10); | 149 m_valueSpinBox->setDecimals(10); |
150 m_valueSpinBox->setMinimum(-1e100); | 150 m_valueSpinBox->setMinimum(-1e10); |
151 m_valueSpinBox->setMaximum(1e100); | 151 m_valueSpinBox->setMaximum(1e10); |
152 connect(m_valueSpinBox, SIGNAL(valueChanged(double)), | 152 connect(m_valueSpinBox, SIGNAL(valueChanged(double)), |
153 this, SLOT(valueChanged(double))); | 153 this, SLOT(valueChanged(double))); |
154 subgrid->addWidget(m_valueSpinBox, subrow, 1); | 154 subgrid->addWidget(m_valueSpinBox, subrow, 1); |
155 | 155 |
156 ++subrow; | 156 ++subrow; |