1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 21:54:55 -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
@@ -769,6 +769,11 @@ void USRPInputGUI::on_replayLoop_toggled(bool checked)
sendSettings();
}
void USRPInputGUI::setReplayTime(float time)
{
ui->replayOffset->setValue(std::ceil(time * 10.0f));
}
void USRPInputGUI::makeUIConnections()
{
QObject::connect(ui->startStop, &ButtonSwitch::toggled, this, &USRPInputGUI::on_startStop_toggled);