diff --git a/sdrbase/gui/glscopegui.cpp b/sdrbase/gui/glscopegui.cpp index 4fe9721c5..6b2053a0e 100644 --- a/sdrbase/gui/glscopegui.cpp +++ b/sdrbase/gui/glscopegui.cpp @@ -485,6 +485,7 @@ void GLScopeGUI::on_scope_traceSizeChanged(int) void GLScopeGUI::on_scope_sampleRateChanged(int) { m_sampleRate = m_glScope->getSampleRate(); + ui->sampleRateText->setText(tr("%1\nkS/s").arg(m_sampleRate / 1000.0f, 0, 'f', 2)); setTimeScaleDisplay(); setTraceLenDisplay(); setTimeOfsDisplay(); @@ -796,6 +797,7 @@ void GLScopeGUI::on_memIndex_valueChanged(int value) ui->trigLevelFine->setDisabled(value != 0); ui->trigDelay->setDisabled(value != 0); ui->trigPre->setDisabled(value != 0); + // Set value m_glScope->setMemHistoryShift(value); emit traceMemoryChanged(value); } diff --git a/sdrbase/gui/glscopegui.ui b/sdrbase/gui/glscopegui.ui index c99920812..25a31d419 100644 --- a/sdrbase/gui/glscopegui.ui +++ b/sdrbase/gui/glscopegui.ui @@ -6,8 +6,8 @@ 0 0 - 583 - 118 + 656 + 214 @@ -23,16 +23,7 @@ 3 - - 0 - - - 0 - - - 0 - - + 0 @@ -411,6 +402,33 @@ + + + + Qt::Vertical + + + + + + + + 52 + 0 + + + + Currently displayed trace sample rate (kS/s) + + + 00000.00 +kS/s + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + +