mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-29 05:22:25 -04:00
GLScopeGUI: fixed QMetaObject::connectSlotsByName warnings
This commit is contained in:
parent
07a81679d8
commit
d9e1034f9a
@ -105,9 +105,9 @@ void GLScopeGUI::setBuddies(MessageQueue* messageQueue, ScopeVis* scopeVis, GLSc
|
|||||||
settingsTraceAdd(traceData);
|
settingsTraceAdd(traceData);
|
||||||
|
|
||||||
setEnabled(true);
|
setEnabled(true);
|
||||||
connect(m_glScope, SIGNAL(sampleRateChanged(int)), this, SLOT(on_scope_sampleRateChanged(int)));
|
connect(m_glScope, SIGNAL(sampleRateChanged(int)), this, SLOT(onScopeSampleRateChanged(int)));
|
||||||
connect(m_glScope, SIGNAL(traceSizeChanged(uint32_t)), this, SLOT(on_scope_traceSizeChanged(uint32_t)));
|
connect(m_glScope, SIGNAL(traceSizeChanged(uint32_t)), this, SLOT(onScopeTraceSizeChanged(uint32_t)));
|
||||||
connect(m_glScope, SIGNAL(preTriggerChanged(uint32_t)), this, SLOT(on_scope_preTriggerChanged(uint32_t)));
|
connect(m_glScope, SIGNAL(preTriggerChanged(uint32_t)), this, SLOT(onScopePreTriggerChanged(uint32_t)));
|
||||||
|
|
||||||
ui->traceMode->clear();
|
ui->traceMode->clear();
|
||||||
fillProjectionCombo(ui->traceMode);
|
fillProjectionCombo(ui->traceMode);
|
||||||
@ -144,7 +144,7 @@ void GLScopeGUI::setSampleRate(int sampleRate)
|
|||||||
m_sampleRate = sampleRate;
|
m_sampleRate = sampleRate;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLScopeGUI::on_scope_sampleRateChanged(int sampleRate)
|
void GLScopeGUI::onScopeSampleRateChanged(int sampleRate)
|
||||||
{
|
{
|
||||||
//m_sampleRate = m_glScope->getSampleRate();
|
//m_sampleRate = m_glScope->getSampleRate();
|
||||||
m_sampleRate = sampleRate;
|
m_sampleRate = sampleRate;
|
||||||
@ -157,17 +157,17 @@ void GLScopeGUI::on_scope_sampleRateChanged(int sampleRate)
|
|||||||
setTrigDelayDisplay();
|
setTrigDelayDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLScopeGUI::on_scope_traceSizeChanged(uint32_t traceNbSamples)
|
void GLScopeGUI::onScopeTraceSizeChanged(uint32_t traceNbSamples)
|
||||||
{
|
{
|
||||||
qDebug("GLScopeGUI::on_scope_traceSizeChanged: %u", traceNbSamples);
|
qDebug("GLScopeGUI::onScopeTraceSizeChanged: %u", traceNbSamples);
|
||||||
m_traceLenMult = traceNbSamples / m_scopeVis->getTraceChunkSize();
|
m_traceLenMult = traceNbSamples / m_scopeVis->getTraceChunkSize();
|
||||||
ui->traceLen->setValue(m_traceLenMult);
|
ui->traceLen->setValue(m_traceLenMult);
|
||||||
setTraceLenDisplay();
|
setTraceLenDisplay();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GLScopeGUI::on_scope_preTriggerChanged(uint32_t preTriggerNbSamples)
|
void GLScopeGUI::onScopePreTriggerChanged(uint32_t preTriggerNbSamples)
|
||||||
{
|
{
|
||||||
qDebug("GLScopeGUI::on_scope_preTriggerChanged: %u", preTriggerNbSamples);
|
qDebug("GLScopeGUI::onScopePreTriggerChanged: %u", preTriggerNbSamples);
|
||||||
ui->trigPre->setValue(preTriggerNbSamples*100 / m_glScope->getTraceSize()); // slider position is a percentage value of the trace size
|
ui->trigPre->setValue(preTriggerNbSamples*100 / m_glScope->getTraceSize()); // slider position is a percentage value of the trace size
|
||||||
setTrigPreDisplay();
|
setTrigPreDisplay();
|
||||||
}
|
}
|
||||||
|
@ -193,9 +193,9 @@ private:
|
|||||||
void settingsTriggerMove(uint32_t triggerIndex, bool upElseDown);
|
void settingsTriggerMove(uint32_t triggerIndex, bool upElseDown);
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
void on_scope_sampleRateChanged(int value);
|
void onScopeSampleRateChanged(int value);
|
||||||
void on_scope_traceSizeChanged(uint32_t value);
|
void onScopeTraceSizeChanged(uint32_t value);
|
||||||
void on_scope_preTriggerChanged(uint32_t value);
|
void onScopePreTriggerChanged(uint32_t value);
|
||||||
// First row
|
// First row
|
||||||
void on_onlyX_toggled(bool checked);
|
void on_onlyX_toggled(bool checked);
|
||||||
void on_onlyY_toggled(bool checked);
|
void on_onlyY_toggled(bool checked);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user