| 1123 | } |
| 1124 | |
| 1125 | void |
| 1126 | PanoramicDialog::onBandPlanChanged(int) |
| 1127 | { |
| 1128 | int val = this->ui->allocationCombo->currentData().value<int>(); |
| 1129 | |
| 1130 | if (this->currentFAT.size() > 0) |
| 1131 | this->ui->waterfall->removeFAT(this->currentFAT); |
| 1132 | |
| 1133 | if (val >= 0) { |
| 1134 | this->ui->waterfall->setFATsVisible(true); |
| 1135 | this->ui->waterfall->pushFAT(this->FATs[static_cast<unsigned>(val)]); |
| 1136 | this->currentFAT = this->FATs[static_cast<unsigned>(val)]->getName(); |
| 1137 | } else { |
| 1138 | this->ui->waterfall->setFATsVisible(false); |
| 1139 | this->currentFAT = ""; |
| 1140 | } |
| 1141 | } |
| 1142 | |
| 1143 | void |
| 1144 | PanoramicDialog::onGainChanged(QString name, float val) |