mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
BFM demod: change channel color
This commit is contained in:
parent
5b1592598e
commit
274626d58f
@ -145,10 +145,11 @@ bool BFMDemodGUI::deserialize(const QByteArray& data)
|
|||||||
d.readS32(5, &tmp, -40);
|
d.readS32(5, &tmp, -40);
|
||||||
ui->squelch->setValue(tmp);
|
ui->squelch->setValue(tmp);
|
||||||
|
|
||||||
|
/*
|
||||||
if(d.readU32(7, &u32tmp))
|
if(d.readU32(7, &u32tmp))
|
||||||
{
|
{
|
||||||
m_channelMarker.setColor(u32tmp);
|
m_channelMarker.setColor(u32tmp);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
d.readBlob(8, &bytetmp);
|
d.readBlob(8, &bytetmp);
|
||||||
ui->spectrumGUI->deserialize(bytetmp);
|
ui->spectrumGUI->deserialize(bytetmp);
|
||||||
@ -289,7 +290,8 @@ BFMDemodGUI::BFMDemodGUI(PluginAPI* pluginAPI, QWidget* parent) :
|
|||||||
connect(&m_pluginAPI->getMainWindow()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick()));
|
connect(&m_pluginAPI->getMainWindow()->getMasterTimer(), SIGNAL(timeout()), this, SLOT(tick()));
|
||||||
|
|
||||||
//m_channelMarker = new ChannelMarker(this);
|
//m_channelMarker = new ChannelMarker(this);
|
||||||
m_channelMarker.setColor(Qt::blue);
|
//m_channelMarker.setColor(Qt::blue);
|
||||||
|
m_channelMarker.setColor(QColor(80, 120, 228));
|
||||||
m_channelMarker.setBandwidth(12500);
|
m_channelMarker.setBandwidth(12500);
|
||||||
m_channelMarker.setCenterFrequency(0);
|
m_channelMarker.setCenterFrequency(0);
|
||||||
m_channelMarker.setVisible(true);
|
m_channelMarker.setVisible(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user