mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-02-03 09:44:01 -05:00
SSB: replaced AGC checkboxes by button switches
This commit is contained in:
parent
8a5668a186
commit
f90ddf20eb
@ -285,7 +285,7 @@ void SSBDemodGUI::on_volume_valueChanged(int value)
|
|||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SSBDemodGUI::on_agc_stateChanged(int state __attribute((__unused__)))
|
void SSBDemodGUI::on_agc_toggled(bool checked __attribute((__unused__)))
|
||||||
{
|
{
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
@ -48,7 +48,7 @@ private slots:
|
|||||||
void on_BW_valueChanged(int value);
|
void on_BW_valueChanged(int value);
|
||||||
void on_lowCut_valueChanged(int value);
|
void on_lowCut_valueChanged(int value);
|
||||||
void on_volume_valueChanged(int value);
|
void on_volume_valueChanged(int value);
|
||||||
void on_agc_stateChanged(int state);
|
void on_agc_toggled(bool checked);
|
||||||
void on_agcTimeLog2_valueChanged(int value);
|
void on_agcTimeLog2_valueChanged(int value);
|
||||||
void on_agcPowerThreshold_valueChanged(int value);
|
void on_agcPowerThreshold_valueChanged(int value);
|
||||||
void on_agcThresholdGate_valueChanged(int value);
|
void on_agcThresholdGate_valueChanged(int value);
|
||||||
|
@ -462,10 +462,16 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="agc">
|
<widget class="ButtonSwitch" name="agc">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Togle AGC</string>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>AGC</string>
|
<string>AGC</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -713,6 +719,11 @@
|
|||||||
<header>gui/valuedialz.h</header>
|
<header>gui/valuedialz.h</header>
|
||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
|
<customwidget>
|
||||||
|
<class>ButtonSwitch</class>
|
||||||
|
<extends>QToolButton</extends>
|
||||||
|
<header>gui/buttonswitch.h</header>
|
||||||
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
<resources>
|
<resources>
|
||||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||||
|
@ -431,7 +431,7 @@ void SSBModGUI::on_mic_toggled(bool checked)
|
|||||||
m_ssbMod->getInputMessageQueue()->push(message);
|
m_ssbMod->getInputMessageQueue()->push(message);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SSBModGUI::on_agc_stateChanged(int state __attribute((__unused__)))
|
void SSBModGUI::on_agc_toggled(bool checked __attribute((__unused__)))
|
||||||
{
|
{
|
||||||
applySettings();
|
applySettings();
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ private slots:
|
|||||||
void on_tone_toggled(bool checked);
|
void on_tone_toggled(bool checked);
|
||||||
void on_toneFrequency_valueChanged(int value);
|
void on_toneFrequency_valueChanged(int value);
|
||||||
void on_mic_toggled(bool checked);
|
void on_mic_toggled(bool checked);
|
||||||
void on_agc_stateChanged(int state);
|
void on_agc_toggled(bool checked);
|
||||||
void on_agcOrder_valueChanged(int value);
|
void on_agcOrder_valueChanged(int value);
|
||||||
void on_agcTime_valueChanged(int value);
|
void on_agcTime_valueChanged(int value);
|
||||||
void on_agcThreshold_valueChanged(int value);
|
void on_agcThreshold_valueChanged(int value);
|
||||||
|
@ -466,12 +466,15 @@
|
|||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout_agc">
|
<layout class="QHBoxLayout" name="horizontalLayout_agc">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="agc">
|
<widget class="ButtonSwitch" name="agc">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Toggle audio compressor</string>
|
<string>Toggle audio compressor</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Cmp</string>
|
<string>CMP</string>
|
||||||
|
</property>
|
||||||
|
<property name="checkable">
|
||||||
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
Loading…
Reference in New Issue
Block a user