mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 07:24:44 -04:00
AIS, DSC, End-of-Train, Packet, Radiosonde: All packet date/time to come from File Input device or system clock.
This commit is contained in:
@@ -511,6 +511,8 @@ EndOfTrainDemodGUI::EndOfTrainDemodGUI(PluginAPI* pluginAPI, DeviceUISet *device
|
||||
connect(&m_channelMarker, SIGNAL(highlightedByCursor()), this, SLOT(channelMarkerHighlightedByCursor()));
|
||||
connect(getInputMessageQueue(), SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()));
|
||||
|
||||
ui->scopeContainer->setVisible(false);
|
||||
|
||||
// Resize the table using dummy data
|
||||
resizeTable();
|
||||
// Allow user to reorder columns
|
||||
@@ -601,6 +603,8 @@ void EndOfTrainDemodGUI::displaySettings()
|
||||
ui->logFilename->setToolTip(QString(".csv log filename: %1").arg(m_settings.m_logFilename));
|
||||
ui->logEnable->setChecked(m_settings.m_logEnabled);
|
||||
|
||||
ui->useFileTime->setChecked(m_settings.m_useFileTime);
|
||||
|
||||
// Order and size columns
|
||||
QHeaderView *header = ui->packets->horizontalHeader();
|
||||
for (int i = 0; i < ENDOFTRAINDEMOD_COLUMNS; i++)
|
||||
@@ -739,6 +743,12 @@ void EndOfTrainDemodGUI::on_logOpen_clicked()
|
||||
}
|
||||
}
|
||||
|
||||
void EndOfTrainDemodGUI::on_useFileTime_toggled(bool checked)
|
||||
{
|
||||
m_settings.m_useFileTime = checked;
|
||||
applySetting("useFileTime");
|
||||
}
|
||||
|
||||
void EndOfTrainDemodGUI::makeUIConnections()
|
||||
{
|
||||
QObject::connect(ui->deltaFrequency, &ValueDialZ::changed, this, &EndOfTrainDemodGUI::on_deltaFrequency_changed);
|
||||
@@ -752,6 +762,7 @@ void EndOfTrainDemodGUI::makeUIConnections()
|
||||
QObject::connect(ui->logEnable, &ButtonSwitch::clicked, this, &EndOfTrainDemodGUI::on_logEnable_clicked);
|
||||
QObject::connect(ui->logFilename, &QToolButton::clicked, this, &EndOfTrainDemodGUI::on_logFilename_clicked);
|
||||
QObject::connect(ui->logOpen, &QToolButton::clicked, this, &EndOfTrainDemodGUI::on_logOpen_clicked);
|
||||
QObject::connect(ui->useFileTime, &ButtonSwitch::toggled, this, &EndOfTrainDemodGUI::on_useFileTime_toggled);
|
||||
}
|
||||
|
||||
void EndOfTrainDemodGUI::updateAbsoluteCenterFrequency()
|
||||
|
||||
Reference in New Issue
Block a user