mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-04 16:01:14 -05:00
Refactoring: DSD plugin: implement generic symbol synchrnization quality metric
This commit is contained in:
parent
0c94d42c64
commit
5ccfbb0ef1
@ -41,7 +41,7 @@ public:
|
||||
int getInLevel() const { return m_decoder.getInLevel(); }
|
||||
int getCarrierPos() const { return m_decoder.getCarrierPos(); }
|
||||
int getZeroCrossingPos() const { return m_decoder.getZeroCrossingPos(); }
|
||||
int getNumFlips() const { return m_decoder.getNumFlips(); }
|
||||
int getSymbolSyncQuality() const { return m_decoder.getSymbolSyncQuality(); }
|
||||
int getSamplesPerSymbol() const { return m_decoder.getSamplesPerSymbol(); }
|
||||
DSDcc::DSDDecoder::DSDSyncType getSyncType() const { return m_decoder.getSyncType(); }
|
||||
DSDcc::DSDDecoder::DSDStationType getStationType() const { return m_decoder.getStationType(); }
|
||||
|
@ -497,7 +497,7 @@ void DSDDemodGUI::tick()
|
||||
ui->inLevelText->setText(QString::number(m_dsdDemod->getDecoder().getInLevel()));
|
||||
ui->inCarrierPosText->setText(QString::number(m_dsdDemod->getDecoder().getCarrierPos()));
|
||||
ui->zcPosText->setText(QString::number(m_dsdDemod->getDecoder().getZeroCrossingPos()));
|
||||
ui->syncNumFlipsText->setText(QString::number(m_dsdDemod->getDecoder().getNumFlips()));
|
||||
ui->symbolSyncQualityText->setText(QString::number(m_dsdDemod->getDecoder().getSymbolSyncQuality()));
|
||||
ui->syncText->setText(QString(m_dsdDemod->getDecoder().getFrameTypeText()));
|
||||
|
||||
formatStatusText();
|
||||
|
@ -59,7 +59,16 @@
|
||||
<property name="spacing">
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="margin">
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
@ -250,7 +259,7 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QLabel" name="syncNumFlipsText">
|
||||
<widget class="QLabel" name="symbolSyncQualityText">
|
||||
<property name="minimumSize">
|
||||
<size>
|
||||
<width>20</width>
|
||||
@ -258,7 +267,7 @@
|
||||
</size>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Number of active re-synchronization symbol flips per 32 symbol period</string>
|
||||
<string>Symbol synchronization quality (%)</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>00</string>
|
||||
@ -752,7 +761,16 @@
|
||||
<string>Discriminator Scope</string>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="scopeContainer">
|
||||
<property name="margin">
|
||||
<property name="leftMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="topMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="rightMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<property name="bottomMargin">
|
||||
<number>2</number>
|
||||
</property>
|
||||
<item>
|
||||
@ -799,6 +817,23 @@
|
||||
</customwidgets>
|
||||
<resources>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
<include location="../../../sdrbase/resources/res.qrc"/>
|
||||
</resources>
|
||||
<connections/>
|
||||
</ui>
|
||||
|
Loading…
Reference in New Issue
Block a user