| 1476 | } |
| 1477 | |
| 1478 | void |
| 1479 | TimeWindow::onChangePaletteContrast(int contrast) |
| 1480 | { |
| 1481 | qreal realContrast = std::pow( |
| 1482 | static_cast<qreal>(10), |
| 1483 | static_cast<qreal>(contrast / 20.)); |
| 1484 | |
| 1485 | this->ui->realWaveform->setPhaseDiffContrast(realContrast); |
| 1486 | this->ui->imagWaveform->setPhaseDiffContrast(realContrast); |
| 1487 | |
| 1488 | emit configChanged(); |
| 1489 | } |
| 1490 | |
| 1491 | void |
| 1492 | TimeWindow::onTaskCancelling(void) |