23 m_Slider->setOrientation(Qt::Horizontal);
24 m_Slider->setMinimum(0);
25 m_Slider->setMaximum(0);
26 m_Slider->setValue(0);
27 m_Slider->setSingleStep(1);
28 m_Slider->setPageStep(10);
30 m_SpinBox->setMinimum( 0 );
31 m_SpinBox->setMaximum(0);
32 m_SpinBox->setValue(0);
33 m_SpinBox->setDecimals(0);
34 m_SpinBox->setSingleStep(1);
63 m_Slider->setMaximum(0);
64 m_Slider->setValue(0);
65 m_SpinBox->setMaximum(0);
66 m_SpinBox->setValue(0);
70 m_Slider->setMaximum(
m_Stepper->GetSteps() - 1);
80 m_SpinBox->setMaximum(
m_Stepper->GetSteps() - 1);
94 m_SliderLabelLeft->setHidden(
false);
95 m_SliderLabelRight->setHidden(
false);
115 m_SliderLabelLeft->setHidden(
true);
116 m_SliderLabelRight->setHidden(
true);
186 if (value < -10000000.0)
190 else if (value > 10000000.0)
196 return QString::number(value,
'f', 2);
226 QString minText =
"<p align='center'><font size='2'>" + this->
GetMinValueLabel();
228 QString maxText =
"<p align='center'><font size='2'>" + this->
GetMaxValueLabel();
238 minText +=
"<br>(pos 0)";
243 maxText +=
"<br>(pos " + QString::number(
m_Stepper->GetSteps() - 1) +
")";
246 minText +=
"</font></p>";
247 maxText +=
"</font></p>";
249 m_SliderLabelLeft->setText(minText);
250 m_SliderLabelRight->setText(maxText);
306 m_Slider->setInvertedAppearance(invertedControls);
307 m_Slider->setInvertedControls(invertedControls);
308 m_SpinBox->setInvertedControls(invertedControls);
Helper class to step through a list.