mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
New scope: added trace and trigger number display methods
This commit is contained in:
parent
d74e7d87d7
commit
c56f852a85
@ -384,6 +384,11 @@ void GLScopeNGGUI::on_freerun_toggled(bool checked)
|
||||
ui->freerun->isChecked()); // TODO: implement one shot feature
|
||||
}
|
||||
|
||||
void GLScopeNGGUI::setTraceIndexDisplay()
|
||||
{
|
||||
ui->traceText->setText(tr("%1").arg(ui->trace->value()));
|
||||
}
|
||||
|
||||
void GLScopeNGGUI::setTimeScaleDisplay()
|
||||
{
|
||||
m_sampleRate = m_glScope->getSampleRate();
|
||||
@ -514,6 +519,11 @@ void GLScopeNGGUI::setAmpOfsDisplay()
|
||||
}
|
||||
}
|
||||
|
||||
void GLScopeNGGUI::setTrigIndexDisplay()
|
||||
{
|
||||
ui->trigText->setText(tr("%1").arg(ui->trig->value()));
|
||||
}
|
||||
|
||||
void GLScopeNGGUI::setTrigLevelDisplay()
|
||||
{
|
||||
double t = (ui->trigLevelCoarse->value() / 100.0f) + (ui->trigLevelFine->value() / 20000.0f);
|
||||
|
@ -65,6 +65,7 @@ private:
|
||||
|
||||
void applySettings();
|
||||
// First row
|
||||
void setTraceIndexDisplay();
|
||||
void setTimeScaleDisplay();
|
||||
void setTraceLenDisplay();
|
||||
void setTimeOfsDisplay();
|
||||
@ -72,6 +73,7 @@ private:
|
||||
void setAmpScaleDisplay();
|
||||
void setAmpOfsDisplay();
|
||||
// Third row
|
||||
void setTrigIndexDisplay();
|
||||
void setTrigLevelDisplay();
|
||||
void setTrigDelayDisplay();
|
||||
void setTrigPreDisplay();
|
||||
|
Loading…
Reference in New Issue
Block a user