//////////////////////// PanoramicDialog //////////////////////////////////
| 155 | |
| 156 | ///////////////////////////// PanoramicDialog ////////////////////////////////// |
| 157 | PanoramicDialog::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 | |
| 183 | PanoramicDialog::~PanoramicDialog() |
| 184 | { |
nothing calls this directly
no test coverage detected