mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-03 06:24:48 -04:00
Scope: save/load traces memory: fixed trace length and pre trigger info propagation to GUI
This commit is contained in:
+10
-2
@@ -938,11 +938,15 @@ void GLScope::setTimeBase(int timeBase)
|
||||
update();
|
||||
}
|
||||
|
||||
void GLScope::setTriggerPre(uint32_t triggerPre)
|
||||
void GLScope::setTriggerPre(uint32_t triggerPre, bool emitSignal)
|
||||
{
|
||||
m_triggerPre = triggerPre;
|
||||
m_configChanged = true;
|
||||
update();
|
||||
|
||||
if (emitSignal) {
|
||||
emit preTriggerChanged(m_triggerPre);
|
||||
}
|
||||
}
|
||||
|
||||
void GLScope::setTimeOfsProMill(int timeOfsProMill)
|
||||
@@ -966,11 +970,15 @@ void GLScope::setDisplayMode(DisplayMode displayMode)
|
||||
update();
|
||||
}
|
||||
|
||||
void GLScope::setTraceSize(int traceSize)
|
||||
void GLScope::setTraceSize(int traceSize, bool emitSignal)
|
||||
{
|
||||
m_traceSize = traceSize;
|
||||
m_configChanged = true;
|
||||
update();
|
||||
|
||||
if (emitSignal) {
|
||||
emit traceSizeChanged(m_traceSize);
|
||||
}
|
||||
}
|
||||
|
||||
void GLScope::updateDisplay()
|
||||
|
||||
Reference in New Issue
Block a user