20 #include "ui_intervalrangegui.h" 39 ui->rangeLabel->setText(text);
44 ui->rangeUnits->setText(units);
49 ui->rangeInterval->blockSignals(
true);
50 ui->rangeInterval->addItem(QString(
"%1").
arg(
m_minima.size()));
51 ui->rangeInterval->blockSignals(
false);
64 if (log10(it) > maxLog) {
71 ui->rangeInterval->blockSignals(
true);
72 ui->rangeInterval->setCurrentIndex(0);
73 ui->rangeInterval->blockSignals(
false);
78 ui->rangeInterval->setDisabled(
true);
84 return ui->value->getValueNew();
89 ui->value->setValue(value);
void on_value_changed(qint64 value)
std::vector< double > m_maxima
void valueChanged(double value)
void on_rangeInterval_currentIndexChanged(int index)
virtual double getCurrentValue()
std::vector< double > m_minima
Fixed< IntType, IntBits > arg(const std::complex< Fixed< IntType, IntBits > > &val)
virtual void setValue(double value)
Ui::IntervalRangeGUI * ui
void setLabel(const QString &text)
virtual ~IntervalRangeGUI()
IntervalRangeGUI(QWidget *parent=0)
void addInterval(double minimum, double maximum)
void setUnits(const QString &units)