| 25 | using namespace SigDigger; |
| 26 | |
| 27 | AddBookmarkDialog::AddBookmarkDialog(QWidget *parent) : |
| 28 | QDialog(parent), |
| 29 | ui(new Ui::AddBookmarkDialog) |
| 30 | { |
| 31 | ui->setupUi(this); |
| 32 | |
| 33 | this->setFixedSize(window()->sizeHint()); |
| 34 | |
| 35 | this->ui->frequencySpinBox->setMinimum(-300e9); |
| 36 | this->ui->frequencySpinBox->setMaximum(+300e9); |
| 37 | this->ui->frequencySpinBox->setAutoUnitMultiplierEnabled(true); |
| 38 | |
| 39 | this->ui->bandwidthSpinBox->setMinimum(-300e9); // TODO |
| 40 | this->ui->bandwidthSpinBox->setMaximum(+300e9); |
| 41 | this->ui->bandwidthSpinBox->setAutoUnitMultiplierEnabled(true); |
| 42 | |
| 43 | this->setColorHint(QColor::fromRgb(0xff, 0xff, 0xff)); |
| 44 | } |
| 45 | |
| 46 | void |
| 47 | AddBookmarkDialog::setFrequencyHint(qint64 val) |
nothing calls this directly
no test coverage detected