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

Method PanoramicDialog

Components/PanoramicDialog.cpp:157–181  ·  view source on GitHub ↗

//////////////////////// PanoramicDialog //////////////////////////////////

Source from the content-addressed store, hash-verified

155
156///////////////////////////// PanoramicDialog //////////////////////////////////
157PanoramicDialog::PanoramicDialog(QWidget *parent) :
158 QDialog(parent),
159 ui(new Ui::PanoramicDialog)
160{
161 ui->setupUi(static_cast<QDialog *>(this));
162
163 this->assertConfig();
164 this->setWindowFlags(Qt::Window);
165 this->ui->sampleRateSpin->setUnits("sps");
166
167 this->ui->centerLabel->setFixedWidth(
168 SuWidgetsHelpers::getWidgetTextWidth(
169 this->ui->centerLabel,
170 "XXX.XXXXXXXXX XHz"));
171
172 this->ui->bwLabel->setFixedWidth(
173 SuWidgetsHelpers::getWidgetTextWidth(
174 this->ui->bwLabel,
175 "XXX.XXXXXXXXX XHz"));
176
177 this->ui->lnbDoubleSpinBox->setMinimum(-300e9);
178 this->ui->lnbDoubleSpinBox->setMaximum(300e9);
179
180 this->connectAll();
181}
182
183PanoramicDialog::~PanoramicDialog()
184{

Callers

nothing calls this directly

Calls 3

connectAllMethod · 0.95
assertConfigMethod · 0.80
setUnitsMethod · 0.80

Tested by

no test coverage detected