2014-05-18 11:52:39 -04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>GLSpectrumGUI</class>
|
|
|
|
<widget class="QWidget" name="GLSpectrumGUI">
|
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2015-05-12 06:12:13 -04:00
|
|
|
<width>234</width>
|
2014-05-18 11:52:39 -04:00
|
|
|
<height>94</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Oscilloscope</string>
|
|
|
|
</property>
|
2015-06-10 21:39:17 -04:00
|
|
|
<layout class="QGridLayout" name="gridLayout" columnstretch="1,0,0,0">
|
2015-05-12 06:12:13 -04:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2014-05-18 11:52:39 -04:00
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>3</number>
|
|
|
|
</property>
|
|
|
|
<item row="0" column="1">
|
|
|
|
<widget class="QLabel" name="label_18">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>FFT Size</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-10 21:39:17 -04:00
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QComboBox" name="fftSize">
|
2014-05-18 11:52:39 -04:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>FFT window function</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeAdjustPolicy">
|
|
|
|
<enum>QComboBox::AdjustToContents</enum>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>128</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>256</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>512</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>1k</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>2k</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>4k</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-10 21:39:17 -04:00
|
|
|
<item row="0" column="3">
|
|
|
|
<widget class="QLabel" name="label_20">
|
2014-05-18 11:52:39 -04:00
|
|
|
<property name="sizePolicy">
|
2015-06-10 21:39:17 -04:00
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
2014-05-18 11:52:39 -04:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2015-06-10 21:39:17 -04:00
|
|
|
<property name="text">
|
|
|
|
<string>Range (dB)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="0">
|
|
|
|
<widget class="QLabel" name="label_17">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Window</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="0" column="2">
|
|
|
|
<widget class="QLabel" name="label_19">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Ref (dB)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QComboBox" name="fftWindow">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>30</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>100</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2014-05-18 11:52:39 -04:00
|
|
|
<property name="toolTip">
|
|
|
|
<string>FFT window function</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeAdjustPolicy">
|
|
|
|
<enum>QComboBox::AdjustToContents</enum>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>Bartlett</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>Blackman-Harris</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>Flat Top</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>Hamming</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>Hanning</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>Rectangle</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="2">
|
|
|
|
<widget class="QComboBox" name="refLevel">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>FFT window function</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeAdjustPolicy">
|
|
|
|
<enum>QComboBox::AdjustToContents</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="3">
|
|
|
|
<widget class="QComboBox" name="levelRange">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>FFT window function</string>
|
|
|
|
</property>
|
|
|
|
<property name="sizeAdjustPolicy">
|
|
|
|
<enum>QComboBox::AdjustToContents</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="2" column="0">
|
2015-06-10 21:39:17 -04:00
|
|
|
<widget class="QComboBox" name="decay">
|
2014-05-18 11:52:39 -04:00
|
|
|
<property name="sizePolicy">
|
2015-06-10 21:39:17 -04:00
|
|
|
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
|
2014-05-18 11:52:39 -04:00
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2015-06-10 21:39:17 -04:00
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>30</width>
|
|
|
|
<height>0</height>
|
|
|
|
</size>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
2015-06-10 21:39:17 -04:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>100</width>
|
|
|
|
<height>16777215</height>
|
|
|
|
</size>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>Decay adjust</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="sizeAdjustPolicy">
|
|
|
|
<enum>QComboBox::AdjustToContents</enum>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>-2</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>-1</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
2015-06-10 21:39:17 -04:00
|
|
|
<string>0</string>
|
2014-05-18 11:52:39 -04:00
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>+1</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>+2</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-06-10 21:39:17 -04:00
|
|
|
<item row="2" column="1" colspan="3">
|
2014-05-18 11:52:39 -04:00
|
|
|
<layout class="QHBoxLayout" name="controlBtns">
|
|
|
|
<property name="spacing">
|
|
|
|
<number>3</number>
|
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="ButtonSwitch" name="waterfall">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Display waterfall</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Waterfall</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/waterfall.png</normaloff>:/waterfall.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="ButtonSwitch" name="histogram">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Display phosphor effect spectrum</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Histogram</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/histogram.png</normaloff>:/histogram.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="ButtonSwitch" name="maxHold">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Display live spectrum</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Max Hold</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/maxhold.png</normaloff>:/maxhold.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="ButtonSwitch" name="invert">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Exchange waterfall and histogram</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Inv</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/invertspectrum.png</normaloff>:/invertspectrum.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="ButtonSwitch" name="grid">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="minimumSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Toggle the scale grid</string>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Grid</string>
|
|
|
|
</property>
|
|
|
|
<property name="icon">
|
|
|
|
<iconset resource="../resources/res.qrc">
|
|
|
|
<normaloff>:/grid.png</normaloff>:/grid.png</iconset>
|
|
|
|
</property>
|
|
|
|
<property name="iconSize">
|
|
|
|
<size>
|
|
|
|
<width>16</width>
|
|
|
|
<height>16</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="checkable">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2015-05-12 06:12:13 -04:00
|
|
|
<item>
|
|
|
|
<widget class="QDial" name="gridIntensity">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>24</width>
|
|
|
|
<height>24</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
|
|
|
<property name="cursor">
|
|
|
|
<cursorShape>ArrowCursor</cursorShape>
|
|
|
|
</property>
|
|
|
|
<property name="toolTip">
|
|
|
|
<string>Grid intensity</string>
|
|
|
|
</property>
|
|
|
|
<property name="maximum">
|
2015-05-12 09:49:03 -04:00
|
|
|
<number>100</number>
|
2015-05-12 06:12:13 -04:00
|
|
|
</property>
|
|
|
|
<property name="pageStep">
|
2015-05-12 09:49:03 -04:00
|
|
|
<number>1</number>
|
2015-05-12 06:12:13 -04:00
|
|
|
</property>
|
|
|
|
<property name="value">
|
2015-05-12 09:49:03 -04:00
|
|
|
<number>5</number>
|
2015-05-12 06:12:13 -04:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-05-18 11:52:39 -04:00
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>ButtonSwitch</class>
|
|
|
|
<extends>QToolButton</extends>
|
|
|
|
<header>gui/buttonswitch.h</header>
|
|
|
|
</customwidget>
|
|
|
|
</customwidgets>
|
|
|
|
<tabstops>
|
|
|
|
<tabstop>fftWindow</tabstop>
|
|
|
|
<tabstop>fftSize</tabstop>
|
|
|
|
<tabstop>refLevel</tabstop>
|
|
|
|
<tabstop>levelRange</tabstop>
|
|
|
|
<tabstop>decay</tabstop>
|
|
|
|
<tabstop>waterfall</tabstop>
|
|
|
|
<tabstop>histogram</tabstop>
|
|
|
|
<tabstop>maxHold</tabstop>
|
|
|
|
<tabstop>invert</tabstop>
|
|
|
|
<tabstop>grid</tabstop>
|
|
|
|
</tabstops>
|
|
|
|
<resources>
|
|
|
|
<include location="../resources/res.qrc"/>
|
|
|
|
</resources>
|
|
|
|
<connections/>
|
|
|
|
</ui>
|