mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-05-23 18:52:28 -04:00
commit
73c69543f9
@ -82,7 +82,7 @@ bool DOA2GUI::handleMessage(const Message& message)
|
|||||||
m_centerFrequency = notif.getCenterFrequency();
|
m_centerFrequency = notif.getCenterFrequency();
|
||||||
displayRateAndShift();
|
displayRateAndShift();
|
||||||
updateAbsoluteCenterFrequency();
|
updateAbsoluteCenterFrequency();
|
||||||
setFFTAveragingToolitp();
|
setFFTAveragingTooltip();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (DOA2::MsgConfigureDOA2::match(message))
|
else if (DOA2::MsgConfigureDOA2::match(message))
|
||||||
@ -211,7 +211,7 @@ void DOA2GUI::displaySettings()
|
|||||||
ui->squelch->setValue(m_settings.m_squelchdB);
|
ui->squelch->setValue(m_settings.m_squelchdB);
|
||||||
ui->squelchText->setText(tr("%1").arg(m_settings.m_squelchdB, 3));
|
ui->squelchText->setText(tr("%1").arg(m_settings.m_squelchdB, 3));
|
||||||
ui->fftAveraging->setCurrentIndex(m_settings.m_fftAveragingIndex);
|
ui->fftAveraging->setCurrentIndex(m_settings.m_fftAveragingIndex);
|
||||||
setFFTAveragingToolitp();
|
setFFTAveragingTooltip();
|
||||||
getRollupContents()->restoreState(m_rollupState);
|
getRollupContents()->restoreState(m_rollupState);
|
||||||
updateAbsoluteCenterFrequency();
|
updateAbsoluteCenterFrequency();
|
||||||
blockApplySettings(false);
|
blockApplySettings(false);
|
||||||
@ -229,7 +229,7 @@ void DOA2GUI::displayRateAndShift()
|
|||||||
m_scopeVis->setLiveRate(channelSampleRate);
|
m_scopeVis->setLiveRate(channelSampleRate);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DOA2GUI::setFFTAveragingToolitp()
|
void DOA2GUI::setFFTAveragingTooltip()
|
||||||
{
|
{
|
||||||
float channelSampleRate = ((float) m_sampleRate) / (1<<m_settings.m_log2Decim);
|
float channelSampleRate = ((float) m_sampleRate) / (1<<m_settings.m_log2Decim);
|
||||||
float averagingTime = (DOA2::m_fftSize * DOA2Settings::getAveragingValue(m_settings.m_fftAveragingIndex)) /
|
float averagingTime = (DOA2::m_fftSize * DOA2Settings::getAveragingValue(m_settings.m_fftAveragingIndex)) /
|
||||||
@ -378,7 +378,7 @@ void DOA2GUI::on_fftAveraging_currentIndexChanged(int index)
|
|||||||
qDebug("DOA2GUI::on_averaging_currentIndexChanged: %d", index);
|
qDebug("DOA2GUI::on_averaging_currentIndexChanged: %d", index);
|
||||||
m_settings.m_fftAveragingIndex = index;
|
m_settings.m_fftAveragingIndex = index;
|
||||||
applySettings();
|
applySettings();
|
||||||
setFFTAveragingToolitp();
|
setFFTAveragingTooltip();
|
||||||
}
|
}
|
||||||
|
|
||||||
void DOA2GUI::on_centerPosition_clicked()
|
void DOA2GUI::on_centerPosition_clicked()
|
||||||
|
@ -85,7 +85,7 @@ private:
|
|||||||
void applyPosition();
|
void applyPosition();
|
||||||
void displaySettings();
|
void displaySettings();
|
||||||
void displayRateAndShift();
|
void displayRateAndShift();
|
||||||
void setFFTAveragingToolitp();
|
void setFFTAveragingTooltip();
|
||||||
static void setNumberStr(float v, int decimalPlaces, QString& s);
|
static void setNumberStr(float v, int decimalPlaces, QString& s);
|
||||||
bool handleMessage(const Message& message);
|
bool handleMessage(const Message& message);
|
||||||
void makeUIConnections();
|
void makeUIConnections();
|
||||||
|
@ -3439,7 +3439,7 @@ void ADSBDemodGUI::adsbData_customContextMenuRequested(QPoint pos)
|
|||||||
});
|
});
|
||||||
tableContextMenu->addAction(planeSpottersAction);
|
tableContextMenu->addAction(planeSpottersAction);
|
||||||
|
|
||||||
QAction* adsbExchangeAction = new QAction("View aircraft on adsbexchange.net...", tableContextMenu);
|
QAction* adsbExchangeAction = new QAction("View aircraft on adsbexchange.com...", tableContextMenu);
|
||||||
connect(adsbExchangeAction, &QAction::triggered, this, [icaoHex]()->void {
|
connect(adsbExchangeAction, &QAction::triggered, this, [icaoHex]()->void {
|
||||||
QDesktopServices::openUrl(QUrl(QString("https://globe.adsbexchange.com/?icao=%1").arg(icaoHex)));
|
QDesktopServices::openUrl(QUrl(QString("https://globe.adsbexchange.com/?icao=%1").arg(icaoHex)));
|
||||||
});
|
});
|
||||||
@ -3453,7 +3453,7 @@ void ADSBDemodGUI::adsbData_customContextMenuRequested(QPoint pos)
|
|||||||
|
|
||||||
if (!aircraft->m_callsign.isEmpty())
|
if (!aircraft->m_callsign.isEmpty())
|
||||||
{
|
{
|
||||||
QAction* flightRadarAction = new QAction("View flight on flightradar24.net...", tableContextMenu);
|
QAction* flightRadarAction = new QAction("View flight on flightradar24.com...", tableContextMenu);
|
||||||
connect(flightRadarAction, &QAction::triggered, this, [aircraft]()->void {
|
connect(flightRadarAction, &QAction::triggered, this, [aircraft]()->void {
|
||||||
QDesktopServices::openUrl(QUrl(QString("https://www.flightradar24.com/%1").arg(aircraft->m_callsign)));
|
QDesktopServices::openUrl(QUrl(QString("https://www.flightradar24.com/%1").arg(aircraft->m_callsign)));
|
||||||
});
|
});
|
||||||
|
@ -49,7 +49,7 @@ struct IBPBeacon {
|
|||||||
QStringList list;
|
QStringList list;
|
||||||
list.append("IBP Beacon");
|
list.append("IBP Beacon");
|
||||||
list.append(QString("Callsign: %1").arg(m_callsign));
|
list.append(QString("Callsign: %1").arg(m_callsign));
|
||||||
list.append(QString("Frequency: 14.1, 18.11, 21.15, 24.92, 28.2MHz"));
|
list.append(QString("Frequency: 14.1, 18.11, 21.15, 24.93, 28.2 MHz"));
|
||||||
list.append(QString("Power: 100 Watts ERP"));
|
list.append(QString("Power: 100 Watts ERP"));
|
||||||
list.append(QString("Polarization: V"));
|
list.append(QString("Polarization: V"));
|
||||||
list.append(QString("Pattern: Omni"));
|
list.append(QString("Pattern: Omni"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user