UDP source plugin GUI: added missing channel frequency display on the channel marker when the mouse is passed on the GUI

This commit is contained in:
f4exb 2016-04-03 18:14:04 +02:00
parent b3c136825e
commit aafff9b534
2 changed files with 19 additions and 0 deletions

View File

@ -470,3 +470,19 @@ void UDPSrcGUI::onMenuDoubleClicked()
bcsw->show();
}
}
void UDPSrcGUI::leaveEvent(QEvent*)
{
blockApplySettings(true);
m_channelMarker.setHighlighted(false);
blockApplySettings(false);
}
void UDPSrcGUI::enterEvent(QEvent*)
{
blockApplySettings(true);
m_channelMarker.setHighlighted(true);
blockApplySettings(false);
}

View File

@ -105,6 +105,9 @@ private:
void blockApplySettings(bool block);
void applySettings();
void applySettingsImmediate();
void leaveEvent(QEvent*);
void enterEvent(QEvent*);
};
#endif // INCLUDE_UDPSRCGUI_H