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

pull/6/head v1.1.6
f4exb 2016-04-03 18:14:04 +02:00
rodzic b3c136825e
commit aafff9b534
2 zmienionych plików z 19 dodań i 0 usunięć

Wyświetl plik

@ -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);
}

Wyświetl plik

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