SDRAngel
4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
|
#include <bfmdemodgui.h>
Public Slots | |
void | channelMarkerChangedByCursor () |
void | channelMarkerHighlightedByCursor () |
Public Member Functions | |
virtual void | destroy () |
void | setName (const QString &name) |
QString | getName () const |
virtual qint64 | getCenterFrequency () const |
virtual void | setCenterFrequency (qint64 centerFrequency) |
void | resetToDefaults () |
QByteArray | serialize () const |
bool | deserialize (const QByteArray &data) |
virtual MessageQueue * | getInputMessageQueue () |
virtual bool | handleMessage (const Message &message) |
Public Member Functions inherited from RollupWidget | |
RollupWidget (QWidget *parent=NULL) | |
void | setTitleColor (const QColor &c) |
void | setHighlighted (bool highlighted) |
Public Member Functions inherited from PluginInstanceGUI | |
PluginInstanceGUI () | |
virtual | ~PluginInstanceGUI () |
Static Public Member Functions | |
static BFMDemodGUI * | create (PluginAPI *pluginAPI, DeviceUISet *deviceAPI, BasebandSampleSink *rxChannel) |
Private Slots | |
void | on_deltaFrequency_changed (qint64 value) |
void | on_rfBW_valueChanged (int value) |
void | on_afBW_valueChanged (int value) |
void | on_volume_valueChanged (int value) |
void | on_squelch_valueChanged (int value) |
void | on_audioStereo_toggled (bool stereo) |
void | on_lsbStereo_toggled (bool lsb) |
void | on_showPilot_clicked () |
void | on_rds_clicked () |
void | on_g14ProgServiceNames_currentIndexChanged (int index) |
void | on_clearData_clicked (bool checked) |
void | on_g00AltFrequenciesBox_activated (int index) |
void | on_g14MappedFrequencies_activated (int index) |
void | on_g14AltFrequencies_activated (int index) |
void | onWidgetRolled (QWidget *widget, bool rollDown) |
void | onMenuDialogCalled (const QPoint &p) |
void | handleInputMessages () |
void | audioSelect () |
void | tick () |
Private Member Functions | |
BFMDemodGUI (PluginAPI *pluginAPI, DeviceUISet *deviceUISet, BasebandSampleSink *rxChannel, QWidget *parent=0) | |
virtual | ~BFMDemodGUI () |
void | blockApplySettings (bool block) |
void | applySettings (bool force=false) |
void | displaySettings () |
void | rdsUpdate (bool force) |
void | rdsUpdateFixedFields () |
void | leaveEvent (QEvent *) |
void | enterEvent (QEvent *) |
void | changeFrequency (qint64 f) |
Private Attributes | |
Ui::BFMDemodGUI * | ui |
PluginAPI * | m_pluginAPI |
DeviceUISet * | m_deviceUISet |
ChannelMarker | m_channelMarker |
BFMDemodSettings | m_settings |
bool | m_doApplySettings |
int | m_rdsTimerCount |
SpectrumVis * | m_spectrumVis |
BFMDemod * | m_bfmDemod |
int | m_rate |
std::vector< unsigned int > | m_g14ComboIndex |
MessageQueue | m_inputMessageQueue |
Additional Inherited Members | |
Signals inherited from RollupWidget | |
void | widgetRolled (QWidget *widget, bool rollDown) |
Protected Types inherited from RollupWidget | |
enum | { VersionMarker = 0xff } |
enum | ContextMenuType { ContextMenuNone, ContextMenuChannelSettings, ContextMenuStreamSettings } |
Protected Member Functions inherited from RollupWidget | |
int | arrangeRollups () |
QByteArray | saveState (int version=0) const |
bool | restoreState (const QByteArray &state, int version=0) |
void | paintEvent (QPaintEvent *) |
int | paintRollup (QWidget *rollup, int pos, QPainter *p, bool last, const QColor &frame) |
void | resizeEvent (QResizeEvent *size) |
void | mousePressEvent (QMouseEvent *event) |
bool | event (QEvent *event) |
bool | eventFilter (QObject *object, QEvent *event) |
void | resetContextMenuType () |
void | setStreamIndicator (const QString &indicator) |
Protected Attributes inherited from RollupWidget | |
QColor | m_titleColor |
QColor | m_titleTextColor |
bool | m_highlighted |
ContextMenuType | m_contextMenuType |
QString | m_streamIndicator |
Definition at line 40 of file bfmdemodgui.h.
|
explicitprivate |
Definition at line 351 of file bfmdemodgui.cpp.
References DeviceUISet::addChannelMarker(), DeviceUISet::addRollupWidget(), applySettings(), arg(), audioSelect(), FFTWindow::BlackmanHarris, channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), LevelMeterSignalDB::ColorGreenAndBlue, SpectrumVis::configure(), displaySettings(), ChannelMarker::getColor(), getInputMessageQueue(), BasebandSampleSink::getInputMessageQueue(), MainWindow::getInstance(), ColorMapper::GrayGold, handleInputMessages(), m_bfmDemod, BFMDemod::m_channelIdURI, m_channelMarker, m_deviceUISet, m_rate, BFMDemodSettings::m_rgbColor, m_settings, m_spectrumVis, onMenuDialogCalled(), onWidgetRolled(), rdsUpdate(), rdsUpdateFixedFields(), DeviceUISet::registerRxChannelInstance(), SDR_RX_SCALEF, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), BFMDemodSettings::setChannelMarker(), ChannelMarker::setColor(), BasebandSampleSink::setMessageQueueToGUI(), BFMDemod::setSampleSink(), BFMDemodSettings::setSpectrumGUI(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), ChannelMarker::setVisible(), tick(), ui, and RollupWidget::widgetRolled().
Referenced by create().
|
privatevirtual |
Definition at line 426 of file bfmdemodgui.cpp.
References m_bfmDemod, m_deviceUISet, m_spectrumVis, DeviceUISet::removeRxChannelInstance(), and ui.
|
private |
Definition at line 439 of file bfmdemodgui.cpp.
References BFMDemod::MsgConfigureBFMDemod::create(), BFMDemod::MsgConfigureChannelizer::create(), BasebandSampleSink::getInputMessageQueue(), m_bfmDemod, m_doApplySettings, BFMDemodSettings::m_inputFrequencyOffset, BFMDemodSettings::m_rfBandwidth, m_settings, MessageQueue::push(), and BFMDemod::requiredBW().
Referenced by audioSelect(), BFMDemodGUI(), channelMarkerChangedByCursor(), deserialize(), on_afBW_valueChanged(), on_audioStereo_toggled(), on_deltaFrequency_changed(), on_lsbStereo_toggled(), on_rds_clicked(), on_rfBW_valueChanged(), on_showPilot_clicked(), on_squelch_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), and setCenterFrequency().
|
privateslot |
Definition at line 499 of file bfmdemodgui.cpp.
References applySettings(), DSPEngine::instance(), BFMDemodSettings::m_audioDeviceName, AudioSelectDialog::m_audioDeviceName, AudioSelectDialog::m_selected, and m_settings.
Referenced by BFMDemodGUI().
|
private |
Definition at line 434 of file bfmdemodgui.cpp.
References m_doApplySettings.
Referenced by displaySettings(), handleMessage(), and resetToDefaults().
|
private |
Definition at line 809 of file bfmdemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
Referenced by on_g00AltFrequenciesBox_activated(), on_g14AltFrequencies_activated(), and on_g14MappedFrequencies_activated().
|
slot |
Definition at line 151 of file bfmdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, BFMDemodSettings::m_inputFrequencyOffset, m_settings, and ui.
Referenced by BFMDemodGUI().
|
slot |
Definition at line 158 of file bfmdemodgui.cpp.
References ChannelMarker::getHighlighted(), m_channelMarker, and RollupWidget::setHighlighted().
Referenced by BFMDemodGUI().
|
static |
Definition at line 48 of file bfmdemodgui.cpp.
References BFMDemodGUI().
Referenced by BFMPlugin::createRxChannelGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 99 of file bfmdemodgui.cpp.
References applySettings(), BFMDemodSettings::deserialize(), displaySettings(), m_settings, and resetToDefaults().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 54 of file bfmdemodgui.cpp.
|
private |
Definition at line 453 of file bfmdemodgui.cpp.
References arg(), blockApplySettings(), ChannelMarker::getCenterFrequency(), BFMDemodSettings::getRFBWIndex(), ChannelMarker::getTitle(), BFMDemodSettings::m_afBandwidth, BFMDemodSettings::m_audioStereo, m_channelMarker, BFMDemodSettings::m_inputFrequencyOffset, BFMDemodSettings::m_lsbStereo, BFMDemodSettings::m_rdsActive, BFMDemodSettings::m_rfBandwidth, BFMDemodSettings::m_rgbColor, m_settings, BFMDemodSettings::m_showPilot, BFMDemodSettings::m_squelch, BFMDemodSettings::m_title, BFMDemodSettings::m_volume, ChannelMarker::setBandwidth(), ChannelMarker::setCenterFrequency(), ChannelMarker::setColor(), ChannelMarker::setTitle(), RollupWidget::setTitleColor(), and ui.
Referenced by BFMDemodGUI(), deserialize(), handleMessage(), and resetToDefaults().
|
private |
Definition at line 494 of file bfmdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 69 of file bfmdemodgui.cpp.
References ChannelMarker::getCenterFrequency(), and m_channelMarker.
|
inlinevirtual |
Implements PluginInstanceGUI.
Definition at line 55 of file bfmdemodgui.h.
Referenced by BFMDemodGUI(), and handleInputMessages().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 64 of file bfmdemodgui.cpp.
|
privateslot |
Definition at line 138 of file bfmdemodgui.cpp.
References getInputMessageQueue(), and handleMessage().
Referenced by BFMDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 111 of file bfmdemodgui.cpp.
References blockApplySettings(), displaySettings(), BFMDemod::MsgReportChannelSampleRateChanged::getSampleRate(), BFMDemod::MsgConfigureBFMDemod::getSettings(), m_rate, m_settings, Message::match(), and ui.
Referenced by handleInputMessages().
|
private |
Definition at line 489 of file bfmdemodgui.cpp.
References m_channelMarker, and ChannelMarker::setHighlighted().
|
privateslot |
Definition at line 178 of file bfmdemodgui.cpp.
References applySettings(), arg(), BFMDemodSettings::m_afBandwidth, m_settings, and ui.
|
privateslot |
Definition at line 199 of file bfmdemodgui.cpp.
References applySettings(), BFMDemodSettings::m_audioStereo, m_settings, and ui.
|
privateslot |
Definition at line 228 of file bfmdemodgui.cpp.
References RDSParser::clearAllFields(), BFMDemod::getRDSParser(), m_bfmDemod, rdsUpdate(), and ui.
|
privateslot |
Definition at line 163 of file bfmdemodgui.cpp.
References applySettings(), ChannelMarker::getCenterFrequency(), m_channelMarker, BFMDemodSettings::m_inputFrequencyOffset, m_settings, and ChannelMarker::setCenterFrequency().
|
privateslot |
Definition at line 292 of file bfmdemodgui.cpp.
References changeFrequency(), and ui.
|
privateslot |
Definition at line 306 of file bfmdemodgui.cpp.
References changeFrequency(), and ui.
|
privateslot |
Definition at line 299 of file bfmdemodgui.cpp.
References changeFrequency(), and ui.
|
privateslot |
Definition at line 247 of file bfmdemodgui.cpp.
References BFMDemod::getRDSParser(), m_bfmDemod, RDSParser::m_g14_alt_freqs, RDSParser::m_g14_mapped_freqs, m_g14ComboIndex, and ui.
|
privateslot |
Definition at line 210 of file bfmdemodgui.cpp.
References applySettings(), BFMDemodSettings::m_lsbStereo, and m_settings.
|
privateslot |
Definition at line 222 of file bfmdemodgui.cpp.
References applySettings(), BFMDemodSettings::m_rdsActive, m_settings, and ui.
|
privateslot |
Definition at line 170 of file bfmdemodgui.cpp.
References applySettings(), arg(), BFMDemodSettings::getRFBW(), m_channelMarker, BFMDemodSettings::m_rfBandwidth, m_settings, ChannelMarker::setBandwidth(), and ui.
|
privateslot |
Definition at line 216 of file bfmdemodgui.cpp.
References applySettings(), m_settings, BFMDemodSettings::m_showPilot, and ui.
|
privateslot |
Definition at line 192 of file bfmdemodgui.cpp.
References applySettings(), arg(), m_settings, BFMDemodSettings::m_squelch, and ui.
|
privateslot |
Definition at line 185 of file bfmdemodgui.cpp.
References applySettings(), arg(), m_settings, BFMDemodSettings::m_volume, and ui.
|
privateslot |
Definition at line 319 of file bfmdemodgui.cpp.
References applySettings(), RollupWidget::ContextMenuChannelSettings, ChannelMarker::getCenterFrequency(), ChannelMarker::getColor(), BasicChannelSettingsDialog::getReverseAPIAddress(), BasicChannelSettingsDialog::getReverseAPIChannelIndex(), BasicChannelSettingsDialog::getReverseAPIDeviceIndex(), BasicChannelSettingsDialog::getReverseAPIPort(), ChannelMarker::getTitle(), m_channelMarker, RollupWidget::m_contextMenuType, BFMDemodSettings::m_inputFrequencyOffset, BFMDemodSettings::m_reverseAPIAddress, BFMDemodSettings::m_reverseAPIChannelIndex, BFMDemodSettings::m_reverseAPIDeviceIndex, BFMDemodSettings::m_reverseAPIPort, BFMDemodSettings::m_rgbColor, m_settings, BFMDemodSettings::m_title, BFMDemodSettings::m_useReverseAPI, RollupWidget::resetContextMenuType(), BasicChannelSettingsDialog::setReverseAPIAddress(), BasicChannelSettingsDialog::setReverseAPIChannelIndex(), BasicChannelSettingsDialog::setReverseAPIDeviceIndex(), BasicChannelSettingsDialog::setReverseAPIPort(), RollupWidget::setTitleColor(), BasicChannelSettingsDialog::setUseReverseAPI(), and BasicChannelSettingsDialog::useReverseAPI().
Referenced by BFMDemodGUI().
|
privateslot |
Definition at line 313 of file bfmdemodgui.cpp.
Referenced by BFMDemodGUI().
|
private |
Definition at line 584 of file bfmdemodgui.cpp.
References arg(), RDSParser::clearUpdateFlags(), RDSParser::coverage_area_codes, CalcDb::dbPower(), RDSTMC::get_tmc_event_code_index(), RDSTMC::get_tmc_events(), BFMDemod::getDecoderQua(), BFMDemod::getDecoderSynced(), BFMDemod::getDemodAcc(), BFMDemod::getDemodFclk(), BFMDemod::getDemodQua(), BFMDemod::getRDSParser(), i, RDSParser::label_descriptions, RDSParser::language_codes, m_bfmDemod, RDSParser::m_g0_af_updated, RDSParser::m_g0_alt_freq, RDSParser::m_g0_count, RDSParser::m_g0_mono_stereo, RDSParser::m_g0_music_speech, RDSParser::m_g0_program_service_name, RDSParser::m_g0_psn_bitmap, RDSParser::m_g0_traffic_announcement, RDSParser::m_g0_updated, RDSParser::m_g14_count, RDSParser::m_g14_data_available, RDSParser::m_g14_program_service_names, RDSParser::m_g14_updated, m_g14ComboIndex, RDSParser::m_g1_count, RDSParser::m_g1_country_index, RDSParser::m_g1_country_page_index, RDSParser::m_g1_language_index, RDSParser::m_g1_pin_day, RDSParser::m_g1_pin_hour, RDSParser::m_g1_pin_minute, RDSParser::m_g1_updated, RDSParser::m_g2_count, RDSParser::m_g2_radiotext, RDSParser::m_g2_updated, RDSParser::m_g3_aid, RDSParser::m_g3_appGroup, RDSParser::m_g3_count, RDSParser::m_g3_groupB, RDSParser::m_g3_message, RDSParser::m_g3_updated, RDSParser::m_g4_count, RDSParser::m_g4_day, RDSParser::m_g4_hours, RDSParser::m_g4_local_time_offset, RDSParser::m_g4_minutes, RDSParser::m_g4_month, RDSParser::m_g4_updated, RDSParser::m_g4_year, RDSParser::m_g5_count, RDSParser::m_g5_updated, RDSParser::m_g6_count, RDSParser::m_g6_updated, RDSParser::m_g7_count, RDSParser::m_g7_updated, RDSParser::m_g8_content, RDSParser::m_g8_count, RDSParser::m_g8_event, RDSParser::m_g8_extent, RDSParser::m_g8_label_index, RDSParser::m_g8_location, RDSParser::m_g8_sign, RDSParser::m_g8_updated, RDSParser::m_g9_cA, RDSParser::m_g9_count, RDSParser::m_g9_dA, RDSParser::m_g9_dB, RDSParser::m_g9_updated, RDSParser::m_g9_varA, RDSParser::m_g9_varB, RDSParser::m_pi_area_coverage_index, RDSParser::m_pi_count, RDSParser::m_pi_program_identification, RDSParser::m_pi_program_type, RDSParser::m_pi_traffic_program, RDSParser::m_pi_updated, RDSParser::pi_country_codes, RDSParser::pty_table, and ui.
Referenced by BFMDemodGUI(), on_clearData_clicked(), and tick().
|
private |
Definition at line 557 of file bfmdemodgui.cpp.
References BFMDemod::getRDSParser(), m_bfmDemod, RDSParser::rds_group_acronym_tags, and ui.
Referenced by BFMDemodGUI().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 80 of file bfmdemodgui.cpp.
References applySettings(), blockApplySettings(), displaySettings(), m_settings, BFMDemodSettings::resetToDefaults(), and ui.
Referenced by deserialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 94 of file bfmdemodgui.cpp.
References m_settings, and BFMDemodSettings::serialize().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 74 of file bfmdemodgui.cpp.
References applySettings(), m_channelMarker, and ChannelMarker::setCenterFrequency().
|
virtual |
Implements PluginInstanceGUI.
Definition at line 59 of file bfmdemodgui.cpp.
|
privateslot |
Definition at line 512 of file bfmdemodgui.cpp.
References CalcDb::dbPower(), BFMDemod::getMagSqLevels(), BFMDemod::getPilotLevel(), BFMDemod::getPilotLock(), m_bfmDemod, m_rdsTimerCount, rdsUpdate(), and ui.
Referenced by BFMDemodGUI().
|
private |
Definition at line 73 of file bfmdemodgui.h.
Referenced by applySettings(), BFMDemodGUI(), on_clearData_clicked(), on_g14ProgServiceNames_currentIndexChanged(), rdsUpdate(), rdsUpdateFixedFields(), tick(), and ~BFMDemodGUI().
|
private |
Definition at line 66 of file bfmdemodgui.h.
Referenced by BFMDemodGUI(), changeFrequency(), channelMarkerChangedByCursor(), channelMarkerHighlightedByCursor(), displaySettings(), enterEvent(), getCenterFrequency(), leaveEvent(), on_deltaFrequency_changed(), on_rfBW_valueChanged(), onMenuDialogCalled(), and setCenterFrequency().
|
private |
Definition at line 65 of file bfmdemodgui.h.
Referenced by BFMDemodGUI(), and ~BFMDemodGUI().
|
private |
Definition at line 68 of file bfmdemodgui.h.
Referenced by applySettings(), and blockApplySettings().
|
private |
Definition at line 75 of file bfmdemodgui.h.
Referenced by on_g14ProgServiceNames_currentIndexChanged(), and rdsUpdate().
|
private |
Definition at line 76 of file bfmdemodgui.h.
|
private |
Definition at line 64 of file bfmdemodgui.h.
|
private |
Definition at line 74 of file bfmdemodgui.h.
Referenced by BFMDemodGUI(), and handleMessage().
|
private |
Definition at line 69 of file bfmdemodgui.h.
Referenced by tick().
|
private |
Definition at line 67 of file bfmdemodgui.h.
Referenced by applySettings(), audioSelect(), BFMDemodGUI(), channelMarkerChangedByCursor(), deserialize(), displaySettings(), handleMessage(), on_afBW_valueChanged(), on_audioStereo_toggled(), on_deltaFrequency_changed(), on_lsbStereo_toggled(), on_rds_clicked(), on_rfBW_valueChanged(), on_showPilot_clicked(), on_squelch_valueChanged(), on_volume_valueChanged(), onMenuDialogCalled(), resetToDefaults(), and serialize().
|
private |
Definition at line 71 of file bfmdemodgui.h.
Referenced by BFMDemodGUI(), and ~BFMDemodGUI().
|
private |
Definition at line 63 of file bfmdemodgui.h.
Referenced by BFMDemodGUI(), channelMarkerChangedByCursor(), displaySettings(), handleMessage(), on_afBW_valueChanged(), on_audioStereo_toggled(), on_clearData_clicked(), on_g00AltFrequenciesBox_activated(), on_g14AltFrequencies_activated(), on_g14MappedFrequencies_activated(), on_g14ProgServiceNames_currentIndexChanged(), on_rds_clicked(), on_rfBW_valueChanged(), on_showPilot_clicked(), on_squelch_valueChanged(), on_volume_valueChanged(), rdsUpdate(), rdsUpdateFixedFields(), resetToDefaults(), tick(), and ~BFMDemodGUI().