Mercurial > hg > svgui
comparison widgets/ItemEditDialog.cpp @ 686:f46da276b21c tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Thu, 28 Nov 2013 16:49:30 +0000 |
parents | b6397738444c |
children | e4773943c9c1 |
comparison
equal
deleted
inserted
replaced
684:917039d333bb | 686:f46da276b21c |
---|---|
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; |