support protocol2
This commit is contained in:
@@ -2023,13 +2023,24 @@ void QGLWidebandPanel::setPanGridStatus(bool value, int rx) {
|
||||
update();
|
||||
}
|
||||
|
||||
void QGLWidebandPanel::sampleRateChanged(QObject *sender, int value) {
|
||||
|
||||
Q_UNUSED(sender)
|
||||
|
||||
m_sampleRate = value;
|
||||
update();
|
||||
}
|
||||
void QGLWidebandPanel::sampleRateChanged(QObject *sender, int value) {
|
||||
|
||||
Q_UNUSED(sender)
|
||||
|
||||
if (m_sampleRate == value)
|
||||
return;
|
||||
|
||||
m_sampleRate = value;
|
||||
m_freqScaleUpdate = true;
|
||||
m_freqScaleRenew = true;
|
||||
m_panGridUpdate = true;
|
||||
m_panGridRenew = true;
|
||||
m_spectrumUpdate = true;
|
||||
m_spectrumVertexColorUpdate = true;
|
||||
m_spectrumColorsChanged = true;
|
||||
m_widebandPanSpectrumBins.clear();
|
||||
update();
|
||||
}
|
||||
|
||||
void QGLWidebandPanel::freqScaleUpdate(bool value) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user