1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-04 16:01:14 -05:00

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