mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
e987deb8e0
there's a sharp knee in the curve. Add support for displaying noise floor in results table.
299 lines
8.4 KiB
XML
299 lines
8.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>NoiseFigureENRDialog</class>
|
|
<widget class="QDialog" name="NoiseFigureENRDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>347</width>
|
|
<height>638</height>
|
|
</rect>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>Liberation Sans</family>
|
|
<pointsize>9</pointsize>
|
|
</font>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Excess Noise Ratio</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_3">
|
|
<item>
|
|
<widget class="QLabel" name="enrLabel">
|
|
<property name="text">
|
|
<string>Enter calibrated ENRs for noise source</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QTableWidget" name="enr">
|
|
<property name="toolTip">
|
|
<string>ENR (Excess Noise Ratio) vs frequency table. Interpolation is used at frequencies not listed in the table.</string>
|
|
</property>
|
|
<property name="selectionMode">
|
|
<enum>QAbstractItemView::SingleSelection</enum>
|
|
</property>
|
|
<property name="selectionBehavior">
|
|
<enum>QAbstractItemView::SelectRows</enum>
|
|
</property>
|
|
<property name="sortingEnabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<attribute name="horizontalHeaderShowSortIndicator" stdset="0">
|
|
<bool>false</bool>
|
|
</attribute>
|
|
<column>
|
|
<property name="text">
|
|
<string>Freq (MHz)</string>
|
|
</property>
|
|
</column>
|
|
<column>
|
|
<property name="text">
|
|
<string>ENR (dB)</string>
|
|
</property>
|
|
</column>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="buttonsLayout">
|
|
<item>
|
|
<widget class="QToolButton" name="addRow">
|
|
<property name="toolTip">
|
|
<string>Add row</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>+</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QToolButton" name="deleteRow">
|
|
<property name="toolTip">
|
|
<string>Delete row</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>-</string>
|
|
</property>
|
|
</widget>
|
|
</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>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QWidget" name="chartContainer" native="true">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Chart</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2" stretch="0,0,0">
|
|
<property name="spacing">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="leftMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="topMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="rightMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="bottomMargin">
|
|
<number>3</number>
|
|
</property>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
<item>
|
|
<widget class="QLabel" name="interpolationLabel">
|
|
<property name="text">
|
|
<string>Interpolation</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QComboBox" name="interpolation">
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Select interpolation method to use</string>
|
|
</property>
|
|
<item>
|
|
<property name="text">
|
|
<string>Linear</string>
|
|
</property>
|
|
</item>
|
|
<item>
|
|
<property name="text">
|
|
<string>Barycentric</string>
|
|
</property>
|
|
</item>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
<item>
|
|
<widget class="QChartView" name="chart">
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>200</width>
|
|
<height>200</height>
|
|
</size>
|
|
</property>
|
|
<property name="toolTip">
|
|
<string>Comparison of interpolated ENR using different methods</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
|
<item>
|
|
<widget class="QLabel" name="startLabel">
|
|
<property name="text">
|
|
<string>Start (MHz)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="start">
|
|
<property name="toolTip">
|
|
<string>Start frequency to plot in MHz</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>20000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="stopLabel">
|
|
<property name="text">
|
|
<string>Stop (MHz)</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QSpinBox" name="stop">
|
|
<property name="toolTip">
|
|
<string>Stop frequency to plot in MHz</string>
|
|
</property>
|
|
<property name="maximum">
|
|
<number>20000</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>3000</number>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
<property name="standardButtons">
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<customwidgets>
|
|
<customwidget>
|
|
<class>QChartView</class>
|
|
<extends>QGraphicsView</extends>
|
|
<header>QtCharts</header>
|
|
</customwidget>
|
|
</customwidgets>
|
|
<tabstops>
|
|
<tabstop>enr</tabstop>
|
|
<tabstop>addRow</tabstop>
|
|
<tabstop>deleteRow</tabstop>
|
|
<tabstop>interpolation</tabstop>
|
|
<tabstop>chart</tabstop>
|
|
<tabstop>start</tabstop>
|
|
<tabstop>stop</tabstop>
|
|
</tabstops>
|
|
<resources>
|
|
<include location="../../../sdrgui/resources/res.qrc"/>
|
|
<include location="../demodapt/icons.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>NoiseFigureENRDialog</receiver>
|
|
<slot>accept()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>248</x>
|
|
<y>254</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>157</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>rejected()</signal>
|
|
<receiver>NoiseFigureENRDialog</receiver>
|
|
<slot>reject()</slot>
|
|
<hints>
|
|
<hint type="sourcelabel">
|
|
<x>316</x>
|
|
<y>260</y>
|
|
</hint>
|
|
<hint type="destinationlabel">
|
|
<x>286</x>
|
|
<y>274</y>
|
|
</hint>
|
|
</hints>
|
|
</connection>
|
|
</connections>
|
|
</ui>
|