mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-27 02:09:14 -05:00
603 lines
16 KiB
XML
603 lines
16 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>UDPSrcGUI</class>
|
|
<widget class="RollupWidget" name="UDPSrcGUI">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>292</width>
|
|
<height>355</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Sans Serif</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>UDP Sample Source</string>
|
|
</property>
|
|
<widget class="QWidget" name="widget" native="true">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>10</x>
|
|
<y>5</y>
|
|
<width>270</width>
|
|
<height>142</height>
|
|
</rect>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>270</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Settings</string>
|
|
</property>
|
|
<layout class="QGridLayout" name="gridLayout">
|
|
<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>
|
|
<property name="spacing">
|
|
<number>3</number>
|
|
</property>
|
|
<item row="1" column="0">
|
|
<widget class="QLabel" name="label">
|
|
<property name="text">
|
|
<string>Format</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="0" column="1">
|
|
<layout class="QHBoxLayout" name="ChannelPowerLayout">
|
|
<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="channelPower">
|
|
<property name="toolTip">
|
|
<string>Channel power</string>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>0.0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="channelPowerUnits">
|
|
<property name="text">
|
|
<string> dB</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="1" column="1">
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="text">
|
|
<string>Rate (Hz)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="6" column="1">
|
|
<layout class="QHBoxLayout" name="BoostLayout">
|
|
<item>
|
|
<widget class="QLabel" name="boostLabel">
|
|
<property name="text">
|
|
<string>Boost</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="boost">
|
|
<property name="toolTip">
|
|
<string>Signal boost factor</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="boostText">
|
|
<property name="text">
|
|
<string>0</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="7" column="1">
|
|
<layout class="QHBoxLayout" name="VolumeLayout">
|
|
<item>
|
|
<widget class="QLabel" name="volumeLabel">
|
|
<property name="text">
|
|
<string>Vol</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSlider" name="volume">
|
|
<property name="toolTip">
|
|
<string>Audio volume</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>100</number>
|
|
</property>
|
|
<property name="pageStep">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>20</number>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="volumeText">
|
|
<property name="text">
|
|
<string>20</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="0" column="0">
|
|
<layout class="QHBoxLayout" name="DeltaFrequencyLayout">
|
|
<property name="topMargin">
|
|
<number>2</number>
|
|
</property>
|
|
<item>
|
|
<widget class="QToolButton" name="deltaMinus">
|
|
<property name="toolTip">
|
|
<string>Frequency shift direction</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset>
|
|
<selectedoff>:/plus.png</selectedoff>
|
|
<selectedon>:/minus.png</selectedon>
|
|
</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="ValueDial" 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>DejaVu Sans Mono</family>
|
|
<pointsize>12</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="cursor">
|
|
<cursorShape>PointingHandCursor</cursorShape>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>Qt::StrongFocus</enum>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Demod shift frequency from center in Hz</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="deltaUnits">
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>26</red>
|
|
<green>26</green>
|
|
<blue>26</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</active>
|
|
<inactive>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>26</red>
|
|
<green>26</green>
|
|
<blue>26</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</inactive>
|
|
<disabled>
|
|
<colorrole role="Text">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>118</red>
|
|
<green>118</green>
|
|
<blue>117</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
<colorrole role="BrightText">
|
|
<brush brushstyle="SolidPattern">
|
|
<color alpha="255">
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</brush>
|
|
</colorrole>
|
|
</disabled>
|
|
</palette>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<pointsize>8</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string> Hz</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="5" column="0">
|
|
<layout class="QHBoxLayout" name="PortLayout">
|
|
<item>
|
|
<widget class="QLabel" name="udpPortlabel">
|
|
<property name="text">
|
|
<string>D</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="udpPort">
|
|
<property name="toolTip">
|
|
<string>Remote data port</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>9999</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="audioPortlabel">
|
|
<property name="text">
|
|
<string>A</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="audioPort">
|
|
<property name="toolTip">
|
|
<string>Local audio input port</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>9998</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="6" column="0">
|
|
<layout class="QHBoxLayout" name="AudioPortLayout">
|
|
<item>
|
|
<widget class="QLabel" name="fmDevLabel">
|
|
<property name="text">
|
|
<string>FMd (Hz)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="fmDeviation">
|
|
<property name="toolTip">
|
|
<string>FM deviation in Hz (for S16LE NFM format)</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>2500</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="audioActive">
|
|
<property name="toolTip">
|
|
<string>Toggle audio input</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../sdrbase/resources/res.qrc">
|
|
<normaloff>:/sound_off.png</normaloff>
|
|
<normalon>:/sound_on.png</normalon>:/sound_off.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="audioStereo">
|
|
<property name="toolTip">
|
|
<string>Toggle mono/stereo audio input</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>...</string>
|
|
</property>
|
|
<property name="icon">
|
|
<iconset resource="../../../sdrbase/resources/res.qrc">
|
|
<normaloff>:/mono.png</normaloff>
|
|
<normalon>:/stereo.png</normalon>:/mono.png</iconset>
|
|
</property>
|
|
<property name="checkable">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item row="5" column="1">
|
|
<widget class="QLineEdit" name="rfBandwidth">
|
|
<property name="toolTip">
|
|
<string>Signal bandwidth</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>32000</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="7" column="0">
|
|
<widget class="QPushButton" name="applyBtn">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Apply text input and/or samples format</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Apply</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="1">
|
|
<widget class="QLabel" name="label_3">
|
|
<property name="text">
|
|
<string>RF BW (Hz)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="1">
|
|
<widget class="QLineEdit" name="sampleRate">
|
|
<property name="toolTip">
|
|
<string>Samples rate</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>48000</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item row="2" column="0">
|
|
<widget class="QComboBox" name="sampleFormat">
|
|
<property name="toolTip">
|
|
<string>Samples format</string>
|
|
</property>
|
|
<property name="currentIndex">
|
|
<number>0</number>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE I/Q</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE NFM</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE NFM Mono</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE LSB</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE USB</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE LSB Mono</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE USB Mono</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>S16LE AM Mono</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
<item row="3" column="0">
|
|
<layout class="QHBoxLayout" name="AddressLayout">
|
|
<item>
|
|
<widget class="QLabel" name="Addresslabel">
|
|
<property name="text">
|
|
<string>Addr</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLineEdit" name="udpAddress">
|
|
<property name="toolTip">
|
|
<string>Remote address</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>127.0.0.1</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<widget class="QWidget" name="spectrumBox" native="true">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>15</x>
|
|
<y>160</y>
|
|
<width>231</width>
|
|
<height>156</height>
|
|
</rect>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Channel Spectrum</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<property name="spacing">
|
|
<number>3</number>
|
|
</property>
|
|
<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>
|
|
<widget class="GLSpectrum" name="glSpectrum" native="true">
|
|
<property name="font">
|
|
<font>
|
|
<family>Sans Serif</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="GLSpectrumGUI" name="spectrumGUI" native="true"/>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>RollupWidget</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/rollupwidget.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>ValueDial</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/valuedial.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>GLSpectrum</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/glspectrum.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
<customwidget>
|
|
<class>GLSpectrumGUI</class>
|
|
<extends>QWidget</extends>
|
|
<header>gui/glspectrumgui.h</header>
|
|
<container>1</container>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>sampleFormat</tabstop>
|
|
<tabstop>sampleRate</tabstop>
|
|
<tabstop>rfBandwidth</tabstop>
|
|
<tabstop>applyBtn</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../../../sdrbase/resources/res.qrc"/>
|
|
</resources>
|
|
<connections/>
|
|
</ui>
|