2014-05-18 15:52:39 +00: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 10:12:13 +00:00
|
|
|
<width>234</width>
|
2014-05-18 15:52:39 +00:00
|
|
|
<height>94</height>
|
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Oscilloscope</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QGridLayout" name="gridLayout" columnstretch="1,1,1,1">
|
2015-05-12 10:12:13 +00: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 15:52:39 +00:00
|
|
|
<number>2</number>
|
|
|
|
</property>
|
|
|
|
<property name="spacing">
|
|
|
|
<number>3</number>
|
|
|
|
</property>
|
|
|
|
<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="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>
|
|
|
|
<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="0" column="3">
|
|
|
|
<widget class="QLabel" name="label_20">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Range (dB)</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="0">
|
|
|
|
<widget class="QComboBox" name="fftWindow">
|
|
|
|
<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">
|
|
|
|
<string>Bartlett</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Blackman-Harris</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Flat Top</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Hamming</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Hanning</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Rectangle</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="1" column="1">
|
|
|
|
<widget class="QComboBox" name="fftSize">
|
|
|
|
<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">
|
|
|
|
<string>128</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>256</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>512</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>1024</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>2048</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>4096</string>
|
|
|
|
</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">
|
|
|
|
<widget class="QLabel" name="label_8">
|
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Preferred">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
|
|
|
<property name="text">
|
|
|
|
<string>Decay</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="0">
|
|
|
|
<widget class="QComboBox" name="decay">
|
|
|
|
<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="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">
|
|
|
|
<string>normal</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>+1</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>+2</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item row="3" column="1" colspan="3">
|
|
|
|
<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 10:12:13 +00: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">
|
|
|
|
<number>255</number>
|
|
|
|
</property>
|
|
|
|
<property name="pageStep">
|
|
|
|
<number>16</number>
|
|
|
|
</property>
|
|
|
|
<property name="value">
|
|
|
|
<number>64</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
2014-05-18 15:52:39 +00: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>
|