mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-26 17:58:43 -05:00
c966f1cb5a
Add sizeToContents in ChannelGUI and FeatureGUI, called when widget is rolled, so we can remove resizing code from all of the individual channels and features. In RollupContents, use minimumSizeHint for calculated size, so that minimumWidth can come from .ui file. In DeviceGUI::sizeToContents(), call adjustSize(), so Device GUIs start out at minimum needed size (which should restore appearance prior to last patch). In stackSubWindows, use available space for channels if no spectrum/features present. In stackSubWindows, fix spectrum from being sized too big, resulting in scroll bars appearing. Reset user-defined channel width in stackSubWindows, when channels are removed. Don't stack maximized windows. There's one hack in Channel/FeatureGUI::maximizeWindow(). It seems that when maximimzing a window, QOpenGLWidgets aren't always paint properly immediately afterwards, so the code forces an additional update. I can't see why the first call to paintGL doesn't work.
1474 lines
38 KiB
XML
1474 lines
38 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>DATVDemodGUI</class>
|
|
<widget class="RollupContents" name="DATVDemodGUI">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>556</width>
|
|
<height>476</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>556</width>
|
|
<height>442</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>556</width>
|
|
<height>476</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Sans</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>DATV Demodulator</string>
|
|
</property>
|
|
<widget class="QWidget" name="verticalLayoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>531</width>
|
|
<height>41</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>RF Settings</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="rfSettingsLayout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="rfSettings1Layout">
|
|
<item>
|
|
<layout class="QHBoxLayout" name="deltaFrequencyLayout">
|
|
<property name="leftMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="deltaFrequencyLabel">
|
|
<property name="text">
|
|
<string>dF</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="ValueDialZ" name="deltaFrequency" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Mono</family>
|
|
<pointsize>12</pointsize>
|
|
<italic>false</italic>
|
|
</font>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Channel center frequency shift</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="deltaFrequencyUnits">
|
|
<property name="text">
|
|
<string>Hz</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="rfBandwidthLayout">
|
|
<property name="leftMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>10</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QLabel" name="rfBandwidthLabel">
|
|
<property name="text">
|
|
<string>BW</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="ValueDialZ" name="rfBandwidth" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>32</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Mono</family>
|
|
<pointsize>12</pointsize>
|
|
<italic>false</italic>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>RF Bandwidth</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="rfBandwidthUnits">
|
|
<property name="text">
|
|
<string>Hz</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="sizeHint" stdset="0">
|
|
<size>
|
|
<width>40</width>
|
|
<height>20</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="channePowerText">
|
|
<property name="toolTip">
|
|
<string>Channel power (dB)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>-100.0 dB</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QTabWidget" name="tabWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>40</y>
|
|
<width>536</width>
|
|
<height>431</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>536</width>
|
|
<height>400</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>536</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>DATV</string>
|
|
</property>
|
|
<property name="tabPosition">
|
|
<enum>QTabWidget::West</enum>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<widget class="QWidget" name="datvTab">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>0</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>DATV</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="datvGroupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>496</width>
|
|
<height>281</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>496</width>
|
|
<height>250</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>DATV Settings</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<widget class="QWidget" name="layoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>20</y>
|
|
<width>222</width>
|
|
<height>222</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="screenTVLayout">
|
|
<property name="sizeConstraint">
|
|
<enum>QLayout::SetMinimumSize</enum>
|
|
</property>
|
|
<item>
|
|
<widget class="TVScreen" name="screenTV" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>220</width>
|
|
<height>220</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>220</width>
|
|
<height>220</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Signal constellation</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true"/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QFrame" name="frame">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>230</x>
|
|
<y>20</y>
|
|
<width>261</width>
|
|
<height>251</height>
|
|
</rect>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>QFrame::StyledPanel</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>QFrame::Raised</enum>
|
|
</property>
|
|
<widget class="QComboBox" name="cmbStandard">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>10</y>
|
|
<width>81</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>DVB Standard</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>DVB-S</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>DVB-S2</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QComboBox" name="cmbModulation">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>40</y>
|
|
<width>80</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Modulation scheme</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>BPSK</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>QPSK</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>8PSK</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>16APSK</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>32APSK</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>64APSK</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>16QAM</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>64QAM</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>256QAM</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QComboBox" name="cmbFEC">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>70</y>
|
|
<width>80</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>FEC ratio</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>1/2</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>2/3</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>3/4</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>5/6</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>7/8</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkFastlock">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>100</y>
|
|
<width>101</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Fast signal decode</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>FAST LOCK</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkViterbi">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>120</y>
|
|
<width>81</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Viterbi algorithm (CPU intensive)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>VITERBI</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkHardMetric">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>120</y>
|
|
<width>121</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Constellation hardening</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>HARD METRIC</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="sSecLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>40</y>
|
|
<width>41</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Sym/s</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkAllowDrift">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>100</y>
|
|
<width>111</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Small frequency drift compensation</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>ALLOW DRIFT</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="spiNotchFilters">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>170</x>
|
|
<y>70</y>
|
|
<width>81</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Number of stray peaks to suppress</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>32</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="notchFilterLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>70</y>
|
|
<width>71</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Notch filter</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QProgressBar" name="prgSynchro">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>70</x>
|
|
<y>230</y>
|
|
<width>181</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Video buffer fill</string>
|
|
</property>
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lblStatus">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>210</y>
|
|
<width>111</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Total number of bytes decoded</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Data: 0</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="resetDefaults">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>230</x>
|
|
<y>120</y>
|
|
<width>21</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Reset to defaults</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>R</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="spiSymbolRate">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>40</y>
|
|
<width>81</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Symbol rate</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1000</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>1024000000</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1000</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="lblRate">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>130</x>
|
|
<y>210</y>
|
|
<width>121</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Stream speed</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Speed: 0b/s</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="bufferLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>230</y>
|
|
<width>61</width>
|
|
<height>15</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Buffer:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QComboBox" name="cmbFilter">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>180</y>
|
|
<width>91</width>
|
|
<height>22</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Filter</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>FIR LINEAR</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>FIR NEAREST</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>FIR RRC</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
<widget class="QSpinBox" name="spiRollOff">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>180</y>
|
|
<width>41</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>RRC filter roll off factor (%)</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>99</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>35</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="rollOffLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>106</x>
|
|
<y>180</y>
|
|
<width>28</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>R.off</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="excursionLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>180</x>
|
|
<y>180</y>
|
|
<width>28</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>Exc</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="spiExcursion">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>210</x>
|
|
<y>180</y>
|
|
<width>41</width>
|
|
<height>23</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>RRC filter envelope excursion (dB)</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>99</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>10</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="statusText">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>100</x>
|
|
<y>10</y>
|
|
<width>151</width>
|
|
<height>19</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Modulation detection status</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="softLDPC">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>150</y>
|
|
<width>111</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Soft LDPC decoder (LDPC tool)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>SOFT LDPC</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="maxBitflipsLabel">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>140</x>
|
|
<y>150</y>
|
|
<width>61</width>
|
|
<height>21</height>
|
|
</rect>
|
|
</property>
|
|
<property name="text">
|
|
<string>MAX BFL</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSpinBox" name="maxBitflips">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>200</x>
|
|
<y>150</y>
|
|
<width>51</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>LDPC maximum bitflips (hard decoder)</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>500</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>0</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="QDial" name="datvStdSR">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>230</x>
|
|
<y>40</y>
|
|
<width>24</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select a DATV standard sample rate</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>10</number>
|
|
</property>
|
|
<property name="singleStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>5</number>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QLabel" name="playerIndicator">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>70</x>
|
|
<y>250</y>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Player thread running indicator</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QLabel { background-color: gray; border-radius: 8px; }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="playerEnable">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>250</y>
|
|
<width>61</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Video player enable</string>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::RightToLeft</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>Video</string>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="horizontalLayoutWidget">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>350</y>
|
|
<width>481</width>
|
|
<height>33</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="udpLayout">
|
|
<item>
|
|
<widget class="ButtonSwitch" name="udpTS">
|
|
<property name="toolTip">
|
|
<string>Copy transport stream to UDP</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>UDP</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="udpTSAddressLabel">
|
|
<property name="toolTip">
|
|
<string/>
|
|
</property>
|
|
<property name="text">
|
|
<string>Addr</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="udpTSAddress">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>140</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Destination UDP address</string>
|
|
</property>
|
|
<property name="inputMask">
|
|
<string>000.000.000.000</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>127.0.0.1</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="udpTSPortLabel">
|
|
<property name="text">
|
|
<string>Port</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="udpTSPort">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>60</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Destination UDP port</string>
|
|
</property>
|
|
<property name="inputMask">
|
|
<string>00000</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>9998</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="udpIndicator">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Maximum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>16</width>
|
|
<height>16</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>UDP thread running indicator</string>
|
|
</property>
|
|
<property name="styleSheet">
|
|
<string notr="true">QLabel { background-color: gray; border-radius: 8px; }</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<spacer name="horizontalSpacer_2">
|
|
<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>
|
|
</widget>
|
|
<widget class="QWidget" name="horizontalLayoutWidget_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>290</y>
|
|
<width>481</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="merLayout">
|
|
<item>
|
|
<widget class="QLabel" name="merLabel">
|
|
<property name="text">
|
|
<string>MER</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="LevelMeterSignalDB" name="merMeter" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Mono</family>
|
|
<pointsize>8</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>MER estimation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="merText">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>00.0</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="horizontalLayoutWidget_3">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>320</y>
|
|
<width>481</width>
|
|
<height>31</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QHBoxLayout" name="cnrLayout">
|
|
<item>
|
|
<widget class="QLabel" name="cnrLabel">
|
|
<property name="text">
|
|
<string>CNR</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="LevelMeterSignalDB" name="cnrMeter" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>180</width>
|
|
<height>24</height>
|
|
</size>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Mono</family>
|
|
<pointsize>8</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>CNR estimation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="cnrText">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>28</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>00.0</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="videoTab">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>526</width>
|
|
<height>400</height>
|
|
</size>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>Video</string>
|
|
</attribute>
|
|
<widget class="QGroupBox" name="videoGroupBox">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>283</y>
|
|
<width>496</width>
|
|
<height>111</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>VIDEO Stream</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignCenter</set>
|
|
</property>
|
|
<widget class="QTextEdit" name="streamInfo">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>2</x>
|
|
<y>20</y>
|
|
<width>281</width>
|
|
<height>81</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Stream information</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="acceptRichText">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QPushButton" name="fullScreen">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>400</x>
|
|
<y>76</y>
|
|
<width>90</width>
|
|
<height>26</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Full screen video (click in the image to return)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Full Screen</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkTS">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>300</x>
|
|
<y>40</y>
|
|
<width>85</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Transport stream detected</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Transport</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkVS">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>300</x>
|
|
<y>60</y>
|
|
<width>85</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Video data detected</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Video </string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkDecoding">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>300</x>
|
|
<y>80</y>
|
|
<width>85</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Video being decoded</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Decoding</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QCheckBox" name="chkData">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>300</x>
|
|
<y>20</y>
|
|
<width>85</width>
|
|
<height>20</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Data being received</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Data</string>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="audioMute">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>430</x>
|
|
<y>26</y>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Audio mute (right click: Audio select)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../sdrgui/resources/res.qrc">
|
|
<normaloff>:/sound_on.png</normaloff>
|
|
<normalon>:/sound_off.png</normalon>:/sound_on.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QSlider" name="audioVolume">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>400</x>
|
|
<y>56</y>
|
|
<width>90</width>
|
|
<height>16</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Audio volume control</string>
|
|
</property>
|
|
<property name="minimum">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>80</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="audioVolumeText">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>460</x>
|
|
<y>26</y>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Audio volume</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>100</string>
|
|
</property>
|
|
<property name="alignment">
|
|
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>
|
|
</property>
|
|
</widget>
|
|
<widget class="QToolButton" name="videoMute">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>400</x>
|
|
<y>26</y>
|
|
<width>24</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Video mute</string>
|
|
</property>
|
|
<property name="text">
|
|
<string/>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../sdrgui/resources/res.qrc">
|
|
<normaloff>:/film.png</normaloff>
|
|
<normalon>:/no_film.png</normalon>:/film.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
<widget class="QWidget" name="verticalLayoutWidget_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>501</width>
|
|
<height>281</height>
|
|
</rect>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="screenLayout">
|
|
<property name="spacing">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>4</number>
|
|
</property>
|
|
<item>
|
|
<widget class="DATVideoRender" name="screenTV_2" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>493</width>
|
|
<height>279</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>16777215</height>
|
|
</size>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>RollupContents</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/rollupcontents.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ValueDialZ</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/valuedialz.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>LevelMeterSignalDB</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/levelmeter.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ButtonSwitch</class>
|
|
<extends>QToolButton</extends>
|
|
<header>gui/buttonswitch.h</header>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>DATVideoRender</class>
|
|
<extends>QWidget</extends>
|
|
<header>datvideorender.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>TVScreen</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/tvscreen.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<resources>
|
|
<include location="../../../sdrgui/resources/res.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|