MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / HistogramDialog

Method HistogramDialog

Components/HistogramDialog.cpp:27–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25using namespace SigDigger;
26
27HistogramDialog::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
55void
56HistogramDialog::connectAll(void)

Callers

nothing calls this directly

Calls 2

connectAllMethod · 0.95
resetMethod · 0.95

Tested by

no test coverage detected