1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 09:48:45 -05:00

LimeSDR: revised labels and tooltips for antenna select. Fixes issue #506

This commit is contained in:
f4exb 2020-04-19 12:52:32 +02:00
parent b64d813cfc
commit 577ca59760
2 changed files with 8 additions and 6 deletions

View File

@ -71,16 +71,15 @@ LimeSDROutputGUI::LimeSDROutputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
{ {
ui->antenna->setItemText(1, "Hi"); ui->antenna->setItemText(1, "Hi");
ui->antenna->setItemText(2, "Lo"); ui->antenna->setItemText(2, "Lo");
ui->antenna->setToolTip("Hi: 2 - 3.5 GHz, Lo: 10 MHz - 2 GHz");
} }
else else
{ {
ui->antenna->setItemText(1, "Lo"); ui->antenna->setItemText(1, "Lo");
ui->antenna->setItemText(2, "Hi"); ui->antenna->setItemText(2, "Hi");
ui->antenna->setToolTip("Lo: L port, Hi: H port. All ports are full band");
} }
ui->hwInterpLabel->setText(QString::fromUtf8("H\u2191"));
ui->swInterpLabel->setText(QString::fromUtf8("S\u2191"));
connect(&m_updateTimer, SIGNAL(timeout()), this, SLOT(updateHardware())); connect(&m_updateTimer, SIGNAL(timeout()), this, SLOT(updateHardware()));
connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus())); connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus()));
m_statusTimer.start(500); m_statusTimer.start(500);

View File

@ -75,16 +75,19 @@ LimeSDRInputGUI::LimeSDRInputGUI(DeviceUISet *deviceUISet, QWidget* parent) :
{ {
ui->antenna->setItemText(2, "NC"); ui->antenna->setItemText(2, "NC");
ui->antenna->setItemText(3, "Lo"); ui->antenna->setItemText(3, "Lo");
ui->antenna->setItemText(4, "NC");
ui->antenna->setItemText(5, "NC");
ui->antenna->setToolTip("Antenna select: No: none, NC: not connected, Hi: 2 - 3.5 GHz, Lo: 10 MHz - 2 GHz");
} }
else else
{ {
ui->antenna->setItemText(2, "Lo"); ui->antenna->setItemText(2, "Lo");
ui->antenna->setItemText(3, "Wi"); ui->antenna->setItemText(3, "Wi");
ui->antenna->setItemText(4, "T1");
ui->antenna->setItemText(4, "T2");
ui->antenna->setToolTip("Antenna select: No: none, NC: not connected, Hi: >1.5 GHz, Lo: <1.5 GHz Wi: full band, T1: Tx1 LB, T2: Tx2 LB");
} }
ui->hwDecimLabel->setText(QString::fromUtf8("H\u2193"));
ui->swDecimLabel->setText(QString::fromUtf8("S\u2193"));
connect(&m_updateTimer, SIGNAL(timeout()), this, SLOT(updateHardware())); connect(&m_updateTimer, SIGNAL(timeout()), this, SLOT(updateHardware()));
connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus())); connect(&m_statusTimer, SIGNAL(timeout()), this, SLOT(updateStatus()));
m_statusTimer.start(500); m_statusTimer.start(500);