mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 08:24:43 -04:00
SSB mod: restored channel marker slot
This commit is contained in:
@@ -114,6 +114,13 @@ bool SSBModGUI::handleMessage(const Message& message)
|
||||
}
|
||||
}
|
||||
|
||||
void SSBModGUI::channelMarkerChanged()
|
||||
{
|
||||
m_settings.m_inputFrequencyOffset = m_channelMarker.getCenterFrequency();
|
||||
displaySettings();
|
||||
applySettings();
|
||||
}
|
||||
|
||||
void SSBModGUI::channelMarkerUpdate()
|
||||
{
|
||||
m_settings.m_rgbColor = m_channelMarker.getColor().rgb();
|
||||
@@ -479,6 +486,8 @@ SSBModGUI::SSBModGUI(PluginAPI* pluginAPI, DeviceSinkAPI *deviceAPI, QWidget* pa
|
||||
m_channelMarker.setCenterFrequency(0);
|
||||
m_channelMarker.setVisible(true);
|
||||
|
||||
connect(&m_channelMarker, SIGNAL(changed()), this, SLOT(channelMarkerChanged()));
|
||||
|
||||
m_deviceAPI->registerChannelInstance(m_channelID, this);
|
||||
m_deviceAPI->addChannelMarker(&m_channelMarker);
|
||||
m_deviceAPI->addRollupWidget(this);
|
||||
|
||||
Reference in New Issue
Block a user