BFM demod: change channel color

This commit is contained in:
f4exb 2015-12-09 03:05:23 +01:00
parent 5b1592598e
commit 274626d58f
1 changed files with 4 additions and 2 deletions

View File

@ -145,10 +145,11 @@ bool BFMDemodGUI::deserialize(const QByteArray& data)
d.readS32(5, &tmp, -40);
ui->squelch->setValue(tmp);
/*
if(d.readU32(7, &u32tmp))
{
m_channelMarker.setColor(u32tmp);
}
}*/
d.readBlob(8, &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()));
//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.setCenterFrequency(0);
m_channelMarker.setVisible(true);