18 #include "ui_discreterangegui.h" 36 ui->rangeLabel->setText(text);
41 ui->rangeUnits->setText(units);
46 ui->rangeCombo->blockSignals(
true);
47 ui->rangeCombo->addItem(itemStr);
49 ui->rangeCombo->blockSignals(
false);
65 ui->rangeCombo->blockSignals(
true);
66 ui->rangeCombo->setCurrentIndex(index);
67 ui->rangeCombo->blockSignals(
false);
const std::string & getCurrentValue()
void setValue(const std::string &value)
std::vector< std::string > itemValues
void on_rangeCombo_currentIndexChanged(int index)
StringRangeGUI(QWidget *parent=0)
void setLabel(const QString &text)
void addItem(const QString &itemStr, const std::string &itemValue)
Ui::DiscreteRangeGUI * ui
void setUnits(const QString &units)
virtual ~StringRangeGUI()