mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-03 05:25:17 -05:00
SSB GUIs: added LSB and USB labels on the schematic frequency scale
This commit is contained in:
parent
036432ae58
commit
f4c1269540
@ -368,6 +368,8 @@ void SSBDemodGUI::applyBandwidths(bool force)
|
|||||||
ui->scaleMinus->setText("0");
|
ui->scaleMinus->setText("0");
|
||||||
ui->scaleCenter->setText("");
|
ui->scaleCenter->setText("");
|
||||||
ui->scalePlus->setText(tr("%1").arg(QChar(0xB1, 0x00)));
|
ui->scalePlus->setText(tr("%1").arg(QChar(0xB1, 0x00)));
|
||||||
|
ui->lsbLabel->setText("");
|
||||||
|
ui->usbLabel->setText("");
|
||||||
ui->glSpectrum->setCenterFrequency(0);
|
ui->glSpectrum->setCenterFrequency(0);
|
||||||
ui->glSpectrum->setSampleRate(2*m_spectrumRate);
|
ui->glSpectrum->setSampleRate(2*m_spectrumRate);
|
||||||
ui->glSpectrum->setSsbSpectrum(false);
|
ui->glSpectrum->setSsbSpectrum(false);
|
||||||
@ -380,6 +382,8 @@ void SSBDemodGUI::applyBandwidths(bool force)
|
|||||||
ui->scaleMinus->setText("-");
|
ui->scaleMinus->setText("-");
|
||||||
ui->scaleCenter->setText("0");
|
ui->scaleCenter->setText("0");
|
||||||
ui->scalePlus->setText("+");
|
ui->scalePlus->setText("+");
|
||||||
|
ui->lsbLabel->setText("LSB");
|
||||||
|
ui->usbLabel->setText("USB");
|
||||||
ui->glSpectrum->setCenterFrequency(m_spectrumRate/2);
|
ui->glSpectrum->setCenterFrequency(m_spectrumRate/2);
|
||||||
ui->glSpectrum->setSampleRate(m_spectrumRate);
|
ui->glSpectrum->setSampleRate(m_spectrumRate);
|
||||||
ui->glSpectrum->setSsbSpectrum(true);
|
ui->glSpectrum->setSsbSpectrum(true);
|
||||||
|
@ -215,7 +215,7 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="flipSidebands">
|
<widget class="QPushButton" name="flipSidebands">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Flip sidebands in SSB mode (LSB->USB or USB->LSB)</string>
|
<string>Flip sideband in SSB mode (LSB->USB or USB->LSB)</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
@ -448,7 +448,7 @@
|
|||||||
<widget class="QLabel" name="scaleMinus">
|
<widget class="QLabel" name="scaleMinus">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>10</width>
|
||||||
<height>10</height>
|
<height>10</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
@ -462,6 +462,21 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="lsbLabel">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>8</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>LSB</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="scaleCenter">
|
<widget class="QLabel" name="scaleCenter">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
@ -483,11 +498,26 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="usbLabel">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>8</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>USB</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="scalePlus">
|
<widget class="QLabel" name="scalePlus">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>10</width>
|
||||||
<height>10</height>
|
<height>10</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
@ -494,6 +494,8 @@ void SSBModGUI::applyBandwidths(bool force)
|
|||||||
ui->scaleMinus->setText("0");
|
ui->scaleMinus->setText("0");
|
||||||
ui->scaleCenter->setText("");
|
ui->scaleCenter->setText("");
|
||||||
ui->scalePlus->setText(tr("%1").arg(QChar(0xB1, 0x00)));
|
ui->scalePlus->setText(tr("%1").arg(QChar(0xB1, 0x00)));
|
||||||
|
ui->lsbLabel->setText("");
|
||||||
|
ui->usbLabel->setText("");
|
||||||
ui->glSpectrum->setCenterFrequency(0);
|
ui->glSpectrum->setCenterFrequency(0);
|
||||||
ui->glSpectrum->setSampleRate(2*m_spectrumRate);
|
ui->glSpectrum->setSampleRate(2*m_spectrumRate);
|
||||||
ui->glSpectrum->setSsbSpectrum(false);
|
ui->glSpectrum->setSsbSpectrum(false);
|
||||||
@ -506,6 +508,8 @@ void SSBModGUI::applyBandwidths(bool force)
|
|||||||
ui->scaleMinus->setText("-");
|
ui->scaleMinus->setText("-");
|
||||||
ui->scaleCenter->setText("0");
|
ui->scaleCenter->setText("0");
|
||||||
ui->scalePlus->setText("+");
|
ui->scalePlus->setText("+");
|
||||||
|
ui->lsbLabel->setText("LSB");
|
||||||
|
ui->usbLabel->setText("USB");
|
||||||
ui->glSpectrum->setCenterFrequency(m_spectrumRate/2);
|
ui->glSpectrum->setCenterFrequency(m_spectrumRate/2);
|
||||||
ui->glSpectrum->setSampleRate(m_spectrumRate);
|
ui->glSpectrum->setSampleRate(m_spectrumRate);
|
||||||
ui->glSpectrum->setSsbSpectrum(true);
|
ui->glSpectrum->setSsbSpectrum(true);
|
||||||
|
@ -415,7 +415,7 @@
|
|||||||
<widget class="QLabel" name="scaleMinus">
|
<widget class="QLabel" name="scaleMinus">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>10</width>
|
||||||
<height>10</height>
|
<height>10</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
@ -429,6 +429,21 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="lsbLabel">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>8</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>LSB</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="scaleCenter">
|
<widget class="QLabel" name="scaleCenter">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
@ -450,11 +465,26 @@
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="usbLabel">
|
||||||
|
<property name="font">
|
||||||
|
<font>
|
||||||
|
<pointsize>8</pointsize>
|
||||||
|
</font>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>USB</string>
|
||||||
|
</property>
|
||||||
|
<property name="alignment">
|
||||||
|
<set>Qt::AlignCenter</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="scalePlus">
|
<widget class="QLabel" name="scalePlus">
|
||||||
<property name="maximumSize">
|
<property name="maximumSize">
|
||||||
<size>
|
<size>
|
||||||
<width>16777215</width>
|
<width>10</width>
|
||||||
<height>10</height>
|
<height>10</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user