1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-26 17:58:43 -05:00

Fixed NFM CTCSS display layout. Enhanced NFM and channel analyzer channel power averaging

This commit is contained in:
f4exb 2015-10-05 03:32:00 +02:00
parent 360b94966b
commit 30757449ad
3 changed files with 15 additions and 5 deletions

View File

@ -308,7 +308,7 @@ ChannelAnalyzerGUI::ChannelAnalyzerGUI(PluginAPI* pluginAPI, QWidget* parent) :
m_doApplySettings(true),
m_rate(6000),
m_spanLog2(3),
m_channelPowerDbAvg(20,0)
m_channelPowerDbAvg(40,0)
{
ui->setupUi(this);
setAttribute(Qt::WA_DeleteOnClose, true);

View File

@ -64,7 +64,7 @@ public:
m_ctcssIndexSelected = selectedCtcssIndex;
}
Real getMagSq() const { return m_magsq; }
Real getMagSq() { return m_AGC.getAverage(); }
private:
class MsgConfigureNFMDemod : public Message {

View File

@ -370,13 +370,23 @@
</property>
</widget>
</item>
<item>
<spacer name="ctcssSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
<zorder>settingsContainer</zorder>
<zorder>horizontalLayoutWidget_2</zorder>
<zorder>horizontalLayoutWidget_2</zorder>
</widget>
<customwidgets>
<customwidget>