| 25 | using namespace SigDigger; |
| 26 | |
| 27 | HistogramDialog::HistogramDialog(QWidget *parent) : |
| 28 | QDialog(parent), |
| 29 | ui(new Ui::HistogramDialog) |
| 30 | { |
| 31 | this->ui->setupUi(this); |
| 32 | |
| 33 | this->ui->spanLabel->setFixedWidth( |
| 34 | SuWidgetsHelpers::getWidgetTextWidth( |
| 35 | this->ui->spanLabel, |
| 36 | "XXXXXXXXXXXXX (XXXXXXX seconds)")); |
| 37 | |
| 38 | this->ui->selRangeLabel->setFixedWidth( |
| 39 | SuWidgetsHelpers::getWidgetTextWidth( |
| 40 | this->ui->selRangeLabel, |
| 41 | "XXXXXXXXXXXXX to XXXXXXXXXXXXX")); |
| 42 | |
| 43 | this->ui->histogram->setDecider(&this->dummyDecider); |
| 44 | this->ui->histogram->setUpdateDecider(false); |
| 45 | this->ui->histogram->setDrawThreshold(false); |
| 46 | |
| 47 | this->setWindowFlags( |
| 48 | this->windowFlags() | Qt::Window | Qt::WindowMaximizeButtonHint); |
| 49 | |
| 50 | this->connectAll(); |
| 51 | |
| 52 | this->reset(); |
| 53 | } |
| 54 | |
| 55 | void |
| 56 | HistogramDialog::connectAll(void) |
nothing calls this directly
no test coverage detected