20 #include "ui_intervalslidergui.h" 39 ui->intervalLabel->setText(text);
44 ui->intervalUnits->setText(units);
49 ui->intervalSlider->blockSignals(
true);
50 ui->intervalSlider->setMinimum(minimum);
51 ui->intervalSlider->setMaximum(maximum);
52 ui->intervalSlider->blockSignals(
false);
59 return ui->intervalSlider->value();
64 ui->intervalSlider->setValue(value);
65 ui->valueText->setText(QString(
"%1").
arg(
ui->intervalSlider->value()));
70 ui->valueText->setText(QString(
"%1").
arg(value));
void setUnits(const QString &units)
void valueChanged(double value)
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
virtual ~IntervalSliderGUI()
void setInterval(double minimum, double maximum)
IntervalSliderGUI(QWidget *parent=0)
void on_intervalSlider_valueChanged(int value)
virtual double getCurrentValue()
void setLabel(const QString &text)
Ui::IntervalSliderGUI * ui
virtual void setValue(double value)