mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -05:00
FreqScanner: Add HF ATC channels preset.
This commit is contained in:
parent
28cc7c3f31
commit
7336cda7bc
@ -91,6 +91,19 @@ void FreqScannerAddRangeDialog::accept()
|
|||||||
};
|
};
|
||||||
m_frequencies.append(FRS_GMRSFreqs);
|
m_frequencies.append(FRS_GMRSFreqs);
|
||||||
}
|
}
|
||||||
|
else if (ui->preset->currentText() == "HF ATC")
|
||||||
|
{
|
||||||
|
static const QList<qint64> hfFreqs = {
|
||||||
|
2872000, 2890000, 2899000, 2971000,
|
||||||
|
3016000, 3446000, 3476000, 3491000,
|
||||||
|
4675000, 5598000, 5616000, 5649000,
|
||||||
|
6547000, 6595000, 6622000, 6667000,
|
||||||
|
8831000, 8864000, 8879000, 8891000,
|
||||||
|
8906000, 10021000, 11336000, 13291000,
|
||||||
|
13306000, 17946000
|
||||||
|
};
|
||||||
|
m_frequencies.append(hfFreqs);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
qint64 start = ui->start->getValue();
|
qint64 start = ui->start->getValue();
|
||||||
@ -151,6 +164,10 @@ void FreqScannerAddRangeDialog::on_preset_currentTextChanged(const QString& text
|
|||||||
{
|
{
|
||||||
enableManAdjust = false;
|
enableManAdjust = false;
|
||||||
}
|
}
|
||||||
|
else if (text == "HF ATC")
|
||||||
|
{
|
||||||
|
enableManAdjust = false;
|
||||||
|
}
|
||||||
ui->start->setEnabled(enableManAdjust);
|
ui->start->setEnabled(enableManAdjust);
|
||||||
ui->stop->setEnabled(enableManAdjust);
|
ui->stop->setEnabled(enableManAdjust);
|
||||||
ui->step->setEnabled(enableManAdjust);
|
ui->step->setEnabled(enableManAdjust);
|
||||||
|
@ -198,6 +198,11 @@
|
|||||||
<string>FRS-GMRS</string>
|
<string>FRS-GMRS</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>HF ATC</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="0">
|
<item row="0" column="0">
|
||||||
@ -232,7 +237,6 @@
|
|||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../../../sdrgui/resources/res.qrc"/>
|
<include location="../../../sdrgui/resources/res.qrc"/>
|
||||||
<include location="../demodapt/icons.qrc"/>
|
|
||||||
</resources>
|
</resources>
|
||||||
<connections>
|
<connections>
|
||||||
<connection>
|
<connection>
|
||||||
|
Loading…
Reference in New Issue
Block a user