1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 15:34:57 -04:00

Reverse API: AM demod changes (1)

This commit is contained in:
f4exb
2018-12-14 08:51:01 +01:00
parent e7f123390f
commit 31123dacce
8 changed files with 141 additions and 2 deletions
+12
View File
@@ -49,6 +49,18 @@ void BasicChannelSettingsDialog::setReverseAPIPort(uint16_t port)
ui->reverseAPIPort->setText(tr("%1").arg(m_reverseAPIPort));
}
void BasicChannelSettingsDialog::setReverseAPIDeviceIndex(uint16_t deviceIndex)
{
m_reverseAPIDeviceIndex = deviceIndex > 99 ? 99 : deviceIndex;
ui->reverseAPIDeviceIndex->setText(tr("%1").arg(m_reverseAPIDeviceIndex));
}
void BasicChannelSettingsDialog::setReverseAPIChannelIndex(uint16_t channelIndex)
{
m_reverseAPIChannelIndex = channelIndex > 99 ? 99 : channelIndex;
ui->reverseAPIDeviceIndex->setText(tr("%1").arg(m_reverseAPIChannelIndex));
}
void BasicChannelSettingsDialog::paintColor()
{
QPixmap pm(24, 24);