mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -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->scaleCenter->setText("");
|
||||
ui->scalePlus->setText(tr("%1").arg(QChar(0xB1, 0x00)));
|
||||
ui->lsbLabel->setText("");
|
||||
ui->usbLabel->setText("");
|
||||
ui->glSpectrum->setCenterFrequency(0);
|
||||
ui->glSpectrum->setSampleRate(2*m_spectrumRate);
|
||||
ui->glSpectrum->setSsbSpectrum(false);
|
||||
@ -380,6 +382,8 @@ void SSBDemodGUI::applyBandwidths(bool force)
|
||||
ui->scaleMinus->setText("-");
|
||||
ui->scaleCenter->setText("0");
|
||||
ui->scalePlus->setText("+");
|
||||
ui->lsbLabel->setText("LSB");
|
||||
ui->usbLabel->setText("USB");
|
||||
ui->glSpectrum->setCenterFrequency(m_spectrumRate/2);
|
||||
ui->glSpectrum->setSampleRate(m_spectrumRate);
|
||||
ui->glSpectrum->setSsbSpectrum(true);
|
||||
|
@ -215,7 +215,7 @@
|
||||
<item>
|
||||
<widget class="QPushButton" name="flipSidebands">
|
||||
<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 name="text">
|
||||
<string/>
|
||||
@ -448,7 +448,7 @@
|
||||
<widget class="QLabel" name="scaleMinus">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<width>10</width>
|
||||
<height>10</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -462,6 +462,21 @@
|
||||
</property>
|
||||
</widget>
|
||||
</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>
|
||||
<widget class="QLabel" name="scaleCenter">
|
||||
<property name="maximumSize">
|
||||
@ -483,11 +498,26 @@
|
||||
</property>
|
||||
</widget>
|
||||
</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>
|
||||
<widget class="QLabel" name="scalePlus">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<width>10</width>
|
||||
<height>10</height>
|
||||
</size>
|
||||
</property>
|
||||
|
@ -494,6 +494,8 @@ void SSBModGUI::applyBandwidths(bool force)
|
||||
ui->scaleMinus->setText("0");
|
||||
ui->scaleCenter->setText("");
|
||||
ui->scalePlus->setText(tr("%1").arg(QChar(0xB1, 0x00)));
|
||||
ui->lsbLabel->setText("");
|
||||
ui->usbLabel->setText("");
|
||||
ui->glSpectrum->setCenterFrequency(0);
|
||||
ui->glSpectrum->setSampleRate(2*m_spectrumRate);
|
||||
ui->glSpectrum->setSsbSpectrum(false);
|
||||
@ -506,6 +508,8 @@ void SSBModGUI::applyBandwidths(bool force)
|
||||
ui->scaleMinus->setText("-");
|
||||
ui->scaleCenter->setText("0");
|
||||
ui->scalePlus->setText("+");
|
||||
ui->lsbLabel->setText("LSB");
|
||||
ui->usbLabel->setText("USB");
|
||||
ui->glSpectrum->setCenterFrequency(m_spectrumRate/2);
|
||||
ui->glSpectrum->setSampleRate(m_spectrumRate);
|
||||
ui->glSpectrum->setSsbSpectrum(true);
|
||||
|
@ -415,7 +415,7 @@
|
||||
<widget class="QLabel" name="scaleMinus">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<width>10</width>
|
||||
<height>10</height>
|
||||
</size>
|
||||
</property>
|
||||
@ -429,6 +429,21 @@
|
||||
</property>
|
||||
</widget>
|
||||
</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>
|
||||
<widget class="QLabel" name="scaleCenter">
|
||||
<property name="maximumSize">
|
||||
@ -450,11 +465,26 @@
|
||||
</property>
|
||||
</widget>
|
||||
</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>
|
||||
<widget class="QLabel" name="scalePlus">
|
||||
<property name="maximumSize">
|
||||
<size>
|
||||
<width>16777215</width>
|
||||
<width>10</width>
|
||||
<height>10</height>
|
||||
</size>
|
||||
</property>
|
||||
|
Loading…
Reference in New Issue
Block a user