mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-01 13:47:01 -04:00
ADS-B: Allow plugin to be compiled as static lib. Allow building without texttospeech, location or process.
VOR localizer: Allow plugin to be compiled as static lib. SID feature: Allow plugin to be compiled as static lib. Satellite Tracker: Allow building without texttospeech or timezone. Map: Allow plugin to be compiled as static lib. Allow building without SSL. APT: Allow plugin to be compiled as static lib. Radio Astronomy: Allow plugin to be compiled as static lib. Allow building without process. ChannelWebAPIUtils: Fix memory leaks. DeviceSampleSource: Add signals that indicate when the position or direction of a device (or it's antenna) has changed. This is to support per device position, which is useful for remote devices not at My Position.
This commit is contained in:
@@ -20,7 +20,6 @@
|
||||
#include <cmath>
|
||||
#include <QMessageBox>
|
||||
#include <QLineEdit>
|
||||
#include <QRegExp>
|
||||
|
||||
#include <QtCharts/QChartView>
|
||||
#include <QtCharts/QLineSeries>
|
||||
@@ -334,7 +333,9 @@ SatelliteTrackerGUI::SatelliteTrackerGUI(PluginAPI* pluginAPI, FeatureUISet *fea
|
||||
connect(ui->satTable->horizontalHeader(), SIGNAL(sectionMoved(int, int, int)), SLOT(satTable_sectionMoved(int, int, int)));
|
||||
connect(ui->satTable->horizontalHeader(), SIGNAL(sectionResized(int, int, int)), SLOT(satTable_sectionResized(int, int, int)));
|
||||
|
||||
#ifdef QT_TEXTTOSPEECH_FOUND
|
||||
m_speech = new QTextToSpeech(this);
|
||||
#endif
|
||||
|
||||
displaySettings();
|
||||
applySettings(true);
|
||||
@@ -441,16 +442,26 @@ void SatelliteTrackerGUI::aos(const QString &speech)
|
||||
// Call plotChart() to start the periodic updates with sat position in polar chart
|
||||
plotChart();
|
||||
// Give speech notification of pass
|
||||
if (!speech.isEmpty()) {
|
||||
if (!speech.isEmpty())
|
||||
{
|
||||
#ifdef QT_TEXTTOSPEECH_FOUND
|
||||
m_speech->say(speech);
|
||||
#else
|
||||
qWarning() << "SatelliteTrackerGUI::aos: No TextToSpeech: " << speech;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
void SatelliteTrackerGUI::los(const QString &speech)
|
||||
{
|
||||
// Give speech notification of end of pass
|
||||
if (!speech.isEmpty()) {
|
||||
if (!speech.isEmpty())
|
||||
{
|
||||
#ifdef QT_TEXTTOSPEECH_FOUND
|
||||
m_speech->say(speech);
|
||||
#else
|
||||
qWarning() << "SatelliteTrackerGUI::los: No TextToSpeech: " << speech;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user