| 106 | } |
| 107 | |
| 108 | void |
| 109 | InspToolWidget::applyConfig(void) |
| 110 | { |
| 111 | this->refreshInspectorCombo(); |
| 112 | this->setInspectorClass(this->panelConfig->inspectorClass); |
| 113 | this->setPrecise(this->panelConfig->precise); |
| 114 | this->timeWindow->postLoadInit(); |
| 115 | this->timeWindow->setPalette(this->panelConfig->palette); |
| 116 | this->timeWindow->setPaletteOffset(this->panelConfig->paletteOffset); |
| 117 | this->timeWindow->setPaletteContrast(this->panelConfig->paletteContrast); |
| 118 | this->ui->frequencySpinBox->setEditable(false); |
| 119 | this->ui->frequencySpinBox->setMinimum(-18e9); |
| 120 | this->ui->triggerSpin->setValue( |
| 121 | static_cast<qreal>(this->panelConfig->autoSquelchTriggerSNR)); |
| 122 | |
| 123 | this->setProperty("collapsed", this->panelConfig->collapsed); |
| 124 | |
| 125 | // Track changes now |
| 126 | connect( |
| 127 | this->timeWindow, |
| 128 | SIGNAL(configChanged(void)), |
| 129 | this, |
| 130 | SLOT(onTimeWindowConfigChanged(void))); |
| 131 | } |
| 132 | |
| 133 | bool |
| 134 | InspToolWidget::event(QEvent *event) |
nothing calls this directly
no test coverage detected