19 #include <QMessageBox>
26 QObject::connect(okButton, SIGNAL(clicked()),
this, SLOT(
inputValidator()));
31 return rangeMinDoubleSpinBox->value();
36 return rangeMaxDoubleSpinBox->value();
41 rangeMinDoubleSpinBox->setValue(rangeMin);
46 rangeMaxDoubleSpinBox->setValue(rangeMax);
51 if (!(rangeMinDoubleSpinBox->value() < rangeMaxDoubleSpinBox->value()))
53 QMessageBox::critical(
this,
55 "Upper limit has to be greater than lower limit.\n"
56 "Please enter limits again.");
QmitkLevelWindowRangeChangeDialog(QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
void setUpperLimit(double rangeMax)
void setLowerLimit(double rangeMin)