mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-29 19:28:47 -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();
|
||||
}
|
||||
|
||||
void SSBDemodGUI::on_agc_stateChanged(int state __attribute((__unused__)))
|
||||
void SSBDemodGUI::on_agc_toggled(bool checked __attribute((__unused__)))
|
||||
{
|
||||
applySettings();
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ private slots:
|
||||
void on_BW_valueChanged(int value);
|
||||
void on_lowCut_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_agcPowerThreshold_valueChanged(int value);
|
||||
void on_agcThresholdGate_valueChanged(int value);
|
||||
|
@ -462,10 +462,16 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="agc">
|
||||
<widget class="ButtonSwitch" name="agc">
|
||||
<property name="toolTip">
|
||||
<string>Togle AGC</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>AGC</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
@ -713,6 +719,11 @@
|
||||
<header>gui/valuedialz.h</header>
|
||||
<container>1</container>
|
||||
</customwidget>
|
||||
<customwidget>
|
||||
<class>ButtonSwitch</class>
|
||||
<extends>QToolButton</extends>
|
||||
<header>gui/buttonswitch.h</header>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
|
@ -431,7 +431,7 @@ void SSBModGUI::on_mic_toggled(bool checked)
|
||||
m_ssbMod->getInputMessageQueue()->push(message);
|
||||
}
|
||||
|
||||
void SSBModGUI::on_agc_stateChanged(int state __attribute((__unused__)))
|
||||
void SSBModGUI::on_agc_toggled(bool checked __attribute((__unused__)))
|
||||
{
|
||||
applySettings();
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ private slots:
|
||||
void on_tone_toggled(bool checked);
|
||||
void on_toneFrequency_valueChanged(int value);
|
||||
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_agcTime_valueChanged(int value);
|
||||
void on_agcThreshold_valueChanged(int value);
|
||||
|
@ -466,12 +466,15 @@
|
||||
<item>
|
||||
<layout class="QHBoxLayout" name="horizontalLayout_agc">
|
||||
<item>
|
||||
<widget class="QCheckBox" name="agc">
|
||||
<widget class="ButtonSwitch" name="agc">
|
||||
<property name="toolTip">
|
||||
<string>Toggle audio compressor</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Cmp</string>
|
||||
<string>CMP</string>
|
||||
</property>
|
||||
<property name="checkable">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Loading…
Reference in New Issue
Block a user