kopia lustrzana https://github.com/f4exb/sdrangel
Add signal for when annotations change
rodzic
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
|
||||||
|
|
Ładowanie…
Reference in New Issue