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

Method FACTab

Default/GenericInspector/FACTab.cpp:69–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69FACTab::FACTab(QWidget *parent) :
70 QWidget(parent),
71 ui(new Ui::FACTab)
72{
73 unsigned int i;
74
75 ui->setupUi(this);
76
77 this->connectAll();
78
79 for (i = 9; i < 20; ++i)
80 this->ui->facSizeCombo->addItem(
81 QString::number(1 << i),
82 QVariant::fromValue<int>(1 << i));
83
84 this->ui->facSizeCombo->setCurrentIndex(16 - 9);
85
86 this->ui->facWaveform->setRealComponent(true);
87 this->ui->facWaveform->setEnableFeedback(false);
88 this->onUnitsChanged();
89
90 this->onChangeFACSize();
91 this->onAdjustAveraging();
92 this->onChangePeakDetect();
93
94 this->ui->facWaveform->zoomVertical(
95 static_cast<qreal>(0),
96 static_cast<qreal>(1));
97
98 gettimeofday(&this->lastRefresh, nullptr);
99}
100
101FACTab::~FACTab()
102{

Callers

nothing calls this directly

Calls 5

connectAllMethod · 0.95
onUnitsChangedMethod · 0.95
onChangeFACSizeMethod · 0.95
onAdjustAveragingMethod · 0.95
onChangePeakDetectMethod · 0.95

Tested by

no test coverage detected