2 #include "ui_rangedialog.h" 17 QString range_label_text = QString::number(min) +
" - " + QString::number(max);
18 ui->rangeLabel->setText(range_label_text);
19 ui->minBox->setRange(min, max);
20 ui->maxBox->setRange(min, max);
30 void RangeDialog::on_buttonBox_accepted()
32 min_ = ui->minBox->value();
33 max_ = ui->maxBox->value();
void GetRange(double &min, double &max)
VESPUCCI_EXPORT arma::uword max(arma::uword a, arma::uword b)
Vespucci::Math::max.
void DialogAccepted(double min, double max)
VESPUCCI_EXPORT arma::uword min(arma::uword a, arma::uword b)
Vespucci::Math::min.
RangeDialog(QWidget *parent, double min, double max)
RangeDialog::RangeDialog.