1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-04 06:54:39 -04:00

Allow replay time offset to be set by ctrl+left click in waterfall.

This commit is contained in:
srcejon
2023-12-06 10:09:30 +00:00
parent 364dfc1fc5
commit 238a40b9e0
17 changed files with 70 additions and 12 deletions
@@ -691,6 +691,11 @@ void RTLSDRGui::on_replayLoop_toggled(bool checked)
sendSettings();
}
void RTLSDRGui::setReplayTime(float time)
{
ui->replayOffset->setValue(std::ceil(time * 10.0f));
}
void RTLSDRGui::makeUIConnections()
{
QObject::connect(ui->centerFrequency, &ValueDial::changed, this, &RTLSDRGui::on_centerFrequency_changed);