mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
SoapySDR support: make checkboxes more visible
This commit is contained in:
parent
e36bd24330
commit
26af3014a5
@ -225,6 +225,7 @@ void SoapySDROutputGui::createGlobalGainControl()
|
|||||||
{
|
{
|
||||||
m_autoGain = new QCheckBox(this);
|
m_autoGain = new QCheckBox(this);
|
||||||
m_autoGain->setText(QString("AGC"));
|
m_autoGain->setText(QString("AGC"));
|
||||||
|
m_autoGain->setStyleSheet("QCheckBox::indicator::unchecked {background: rgb(79,79,79);} QCheckBox::indicator::checked {background: rgb(255, 157, 38);}");
|
||||||
layout->addWidget(m_autoGain);
|
layout->addWidget(m_autoGain);
|
||||||
|
|
||||||
connect(m_autoGain, SIGNAL(toggled(bool)), this, SLOT(autoGainChanged(bool)));
|
connect(m_autoGain, SIGNAL(toggled(bool)), this, SLOT(autoGainChanged(bool)));
|
||||||
@ -280,6 +281,7 @@ void SoapySDROutputGui::createCorrectionsControl()
|
|||||||
m_autoDCCorrection = new QCheckBox(this);
|
m_autoDCCorrection = new QCheckBox(this);
|
||||||
m_autoDCCorrection->setText(QString("Auto DC corr"));
|
m_autoDCCorrection->setText(QString("Auto DC corr"));
|
||||||
m_autoDCCorrection->setToolTip(QString("Automatic hardware DC offset correction"));
|
m_autoDCCorrection->setToolTip(QString("Automatic hardware DC offset correction"));
|
||||||
|
m_autoDCCorrection->setStyleSheet("QCheckBox::indicator::unchecked {background: rgb(79,79,79);} QCheckBox::indicator::checked {background: rgb(255, 157, 38);}");
|
||||||
layout->addWidget(m_autoDCCorrection);
|
layout->addWidget(m_autoDCCorrection);
|
||||||
|
|
||||||
connect(m_autoDCCorrection, SIGNAL(toggled(bool)), this, SLOT(autoDCCorrectionChanged(bool)));
|
connect(m_autoDCCorrection, SIGNAL(toggled(bool)), this, SLOT(autoDCCorrectionChanged(bool)));
|
||||||
@ -304,6 +306,7 @@ void SoapySDROutputGui::createCorrectionsControl()
|
|||||||
m_autoIQCorrection = new QCheckBox(this);
|
m_autoIQCorrection = new QCheckBox(this);
|
||||||
m_autoIQCorrection->setText(QString("Auto IQ corr"));
|
m_autoIQCorrection->setText(QString("Auto IQ corr"));
|
||||||
m_autoIQCorrection->setToolTip(QString("Automatic hardware IQ imbalance correction"));
|
m_autoIQCorrection->setToolTip(QString("Automatic hardware IQ imbalance correction"));
|
||||||
|
m_autoIQCorrection->setStyleSheet("QCheckBox::indicator::unchecked {background: rgb(79,79,79);} QCheckBox::indicator::checked {background: rgb(255, 157, 38);}");
|
||||||
layout->addWidget(m_autoIQCorrection);
|
layout->addWidget(m_autoIQCorrection);
|
||||||
|
|
||||||
connect(m_autoIQCorrection, SIGNAL(toggled(bool)), this, SLOT(autoIQCorrectionChanged(bool)));
|
connect(m_autoIQCorrection, SIGNAL(toggled(bool)), this, SLOT(autoIQCorrectionChanged(bool)));
|
||||||
|
@ -226,6 +226,7 @@ void SoapySDRInputGui::createGlobalGainControl()
|
|||||||
{
|
{
|
||||||
m_autoGain = new QCheckBox(this);
|
m_autoGain = new QCheckBox(this);
|
||||||
m_autoGain->setText(QString("AGC"));
|
m_autoGain->setText(QString("AGC"));
|
||||||
|
m_autoGain->setStyleSheet("QCheckBox::indicator::unchecked {background: rgb(79,79,79);} QCheckBox::indicator::checked {background: rgb(255, 157, 38);}");
|
||||||
layout->addWidget(m_autoGain);
|
layout->addWidget(m_autoGain);
|
||||||
|
|
||||||
connect(m_autoGain, SIGNAL(toggled(bool)), this, SLOT(autoGainChanged(bool)));
|
connect(m_autoGain, SIGNAL(toggled(bool)), this, SLOT(autoGainChanged(bool)));
|
||||||
@ -282,6 +283,7 @@ void SoapySDRInputGui::createCorrectionsControl()
|
|||||||
m_autoDCCorrection = new QCheckBox(this);
|
m_autoDCCorrection = new QCheckBox(this);
|
||||||
m_autoDCCorrection->setText(QString("Auto DC corr"));
|
m_autoDCCorrection->setText(QString("Auto DC corr"));
|
||||||
m_autoDCCorrection->setToolTip(QString("Automatic hardware DC offset correction"));
|
m_autoDCCorrection->setToolTip(QString("Automatic hardware DC offset correction"));
|
||||||
|
m_autoDCCorrection->setStyleSheet("QCheckBox::indicator::unchecked {background: rgb(79,79,79);} QCheckBox::indicator::checked {background: rgb(255, 157, 38);}");
|
||||||
layout->addWidget(m_autoDCCorrection);
|
layout->addWidget(m_autoDCCorrection);
|
||||||
|
|
||||||
connect(m_autoDCCorrection, SIGNAL(toggled(bool)), this, SLOT(autoDCCorrectionChanged(bool)));
|
connect(m_autoDCCorrection, SIGNAL(toggled(bool)), this, SLOT(autoDCCorrectionChanged(bool)));
|
||||||
@ -307,6 +309,7 @@ void SoapySDRInputGui::createCorrectionsControl()
|
|||||||
m_autoIQCorrection = new QCheckBox(this);
|
m_autoIQCorrection = new QCheckBox(this);
|
||||||
m_autoIQCorrection->setText(QString("Auto IQ corr"));
|
m_autoIQCorrection->setText(QString("Auto IQ corr"));
|
||||||
m_autoIQCorrection->setToolTip(QString("Automatic hardware IQ imbalance correction"));
|
m_autoIQCorrection->setToolTip(QString("Automatic hardware IQ imbalance correction"));
|
||||||
|
m_autoIQCorrection->setStyleSheet("QCheckBox::indicator::unchecked {background: rgb(79,79,79);} QCheckBox::indicator::checked {background: rgb(255, 157, 38);}");
|
||||||
layout->addWidget(m_autoIQCorrection);
|
layout->addWidget(m_autoIQCorrection);
|
||||||
|
|
||||||
connect(m_autoIQCorrection, SIGNAL(toggled(bool)), this, SLOT(autoIQCorrectionChanged(bool)));
|
connect(m_autoIQCorrection, SIGNAL(toggled(bool)), this, SLOT(autoIQCorrectionChanged(bool)));
|
||||||
|
@ -50,6 +50,10 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="argCheck">
|
<widget class="QCheckBox" name="argCheck">
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">QCheckBox::indicator::unchecked {background: rgb(79,79,79);}
|
||||||
|
QCheckBox::indicator::checked {background: rgb(255, 157, 38);}</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string/>
|
<string/>
|
||||||
</property>
|
</property>
|
||||||
|
@ -31,7 +31,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>301</width>
|
<width>301</width>
|
||||||
<height>48</height>
|
<height>58</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
@ -56,6 +56,10 @@
|
|||||||
<property name="layoutDirection">
|
<property name="layoutDirection">
|
||||||
<enum>Qt::RightToLeft</enum>
|
<enum>Qt::RightToLeft</enum>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="styleSheet">
|
||||||
|
<string notr="true">QCheckBox::indicator::unchecked {background: rgb(79,79,79);}
|
||||||
|
QCheckBox::indicator::checked {background: rgb(255, 157, 38);}</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Auto</string>
|
<string>Auto</string>
|
||||||
</property>
|
</property>
|
||||||
|
Loading…
Reference in New Issue
Block a user