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

pull/6/head
f4exb 2015-10-05 03:32:00 +02:00
rodzic 360b94966b
commit 30757449ad
3 zmienionych plików z 15 dodań i 5 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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 {

Wyświetl plik

@ -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>