mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
Add signal for when annotations change
This commit is contained in:
parent
83ceae4ba3
commit
2d8ae1329b
@ -3599,6 +3599,8 @@ void GLSpectrumView::updateWaterfallMarkers()
|
|||||||
|
|
||||||
void GLSpectrumView::updateAnnotationMarkers()
|
void GLSpectrumView::updateAnnotationMarkers()
|
||||||
{
|
{
|
||||||
|
emit updateAnnotations(); // Notify other plugins we have updated annotations
|
||||||
|
|
||||||
if (!(m_markersDisplay & SpectrumSettings::MarkersDisplayAnnotations)) {
|
if (!(m_markersDisplay & SpectrumSettings::MarkersDisplayAnnotations)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -535,6 +535,9 @@ private slots:
|
|||||||
signals:
|
signals:
|
||||||
// Emitted when user tries to scroll to frequency currently out of range
|
// Emitted when user tries to scroll to frequency currently out of range
|
||||||
void requestCenterFrequency(qint64 frequency);
|
void requestCenterFrequency(qint64 frequency);
|
||||||
|
// Emitted when annotations are changed
|
||||||
|
void updateAnnotations();
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // INCLUDE_GLSPECTRUMVIEW_H
|
#endif // INCLUDE_GLSPECTRUMVIEW_H
|
||||||
|
Loading…
Reference in New Issue
Block a user