diff options
author | trondeau | 2008-10-25 23:29:43 +0000 |
---|---|---|
committer | trondeau | 2008-10-25 23:29:43 +0000 |
commit | 144fa44ed2e0378e2ec585c3991108926d9449be (patch) | |
tree | bd4a6db6c9c1feb20fc30387ca702694ac427be7 /gr-qtgui/src/lib/spectrumdisplayform.ui | |
parent | 57b846ed17b0084563988d7817302f4f5b0d8e3c (diff) | |
download | gnuradio-144fa44ed2e0378e2ec585c3991108926d9449be.tar.gz gnuradio-144fa44ed2e0378e2ec585c3991108926d9449be.tar.bz2 gnuradio-144fa44ed2e0378e2ec585c3991108926d9449be.zip |
Merging qtgui branch-r9068:9837: this ads a qtgui_sink_c and qtgui_sink_f that displays the time, PSD, and spectrogram plots of a signal put into it. It requires qt4, qwt, and qwtplot3d and has not been tested on OSX.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@9853 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'gr-qtgui/src/lib/spectrumdisplayform.ui')
-rw-r--r-- | gr-qtgui/src/lib/spectrumdisplayform.ui | 986 |
1 files changed, 986 insertions, 0 deletions
diff --git a/gr-qtgui/src/lib/spectrumdisplayform.ui b/gr-qtgui/src/lib/spectrumdisplayform.ui new file mode 100644 index 000000000..f75022f34 --- /dev/null +++ b/gr-qtgui/src/lib/spectrumdisplayform.ui @@ -0,0 +1,986 @@ +<ui version="4.0" > + <class>SpectrumDisplayForm</class> + <widget class="QDialog" name="SpectrumDisplayForm" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>637</width> + <height>436</height> + </rect> + </property> + <property name="windowTitle" > + <string>Spectrum Display</string> + </property> + <widget class="QCheckBox" name="UseRFFrequenciesCheckBox" > + <property name="geometry" > + <rect> + <x>10</x> + <y>385</y> + <width>180</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>Display RF Frequencies</string> + </property> + </widget> + <widget class="QComboBox" name="WindowComboBox" > + <property name="geometry" > + <rect> + <x>105</x> + <y>410</y> + <width>170</width> + <height>20</height> + </rect> + </property> + <property name="font" > + <font> + <pointsize>9</pointsize> + </font> + </property> + <item> + <property name="text" > + <string>Hamming</string> + </property> + </item> + <item> + <property name="text" > + <string>Hann</string> + </property> + </item> + <item> + <property name="text" > + <string>Blackman</string> + </property> + </item> + <item> + <property name="text" > + <string>Rectangular</string> + </property> + </item> + <item> + <property name="text" > + <string>Kaiser</string> + </property> + </item> + <item> + <property name="text" > + <string>Blackman-harris</string> + </property> + </item> + </widget> + <widget class="QLabel" name="WindowLbl" > + <property name="geometry" > + <rect> + <x>10</x> + <y>410</y> + <width>90</width> + <height>17</height> + </rect> + </property> + <property name="text" > + <string>Window:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QLabel" name="FFTSizeLabel" > + <property name="geometry" > + <rect> + <x>405</x> + <y>385</y> + <width>116</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>FFT Size:</string> + </property> + <property name="alignment" > + <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QComboBox" name="FFTSizeComboBox" > + <property name="geometry" > + <rect> + <x>525</x> + <y>385</y> + <width>100</width> + <height>20</height> + </rect> + </property> + <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> + <item> + <property name="text" > + <string>8192</string> + </property> + </item> + <item> + <property name="text" > + <string>16384</string> + </property> + </item> + <item> + <property name="text" > + <string>32768</string> + </property> + </item> + </widget> + <widget class="QTabWidget" name="SpectrumTypeTab" > + <property name="geometry" > + <rect> + <x>0</x> + <y>0</y> + <width>630</width> + <height>380</height> + </rect> + </property> + <widget class="QWidget" name="FrequencyPage" > + <attribute name="title" > + <string>Frequency Display</string> + </attribute> + <widget class="QLineEdit" name="PowerLineEdit" > + <property name="geometry" > + <rect> + <x>480</x> + <y>320</y> + <width>60</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>1</string> + </property> + </widget> + <widget class="QCheckBox" name="MinHoldCheckBox" > + <property name="geometry" > + <rect> + <x>10</x> + <y>325</y> + <width>95</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>Min Hold</string> + </property> + <property name="checked" > + <bool>false</bool> + </property> + </widget> + <widget class="QLabel" name="AvgLabel" > + <property name="geometry" > + <rect> + <x>545</x> + <y>300</y> + <width>72</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>Average</string> + </property> + <property name="alignment" > + <set>Qt::AlignCenter</set> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QPushButton" name="MinHoldResetBtn" > + <property name="geometry" > + <rect> + <x>105</x> + <y>325</y> + <width>61</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>Reset</string> + </property> + </widget> + <widget class="QLineEdit" name="AvgLineEdit" > + <property name="geometry" > + <rect> + <x>550</x> + <y>320</y> + <width>60</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>0</string> + </property> + </widget> + <widget class="QLabel" name="PowerLabel" > + <property name="geometry" > + <rect> + <x>475</x> + <y>300</y> + <width>72</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>Power</string> + </property> + <property name="alignment" > + <set>Qt::AlignCenter</set> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QPushButton" name="MaxHoldResetBtn" > + <property name="geometry" > + <rect> + <x>105</x> + <y>300</y> + <width>61</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>Reset</string> + </property> + </widget> + <widget class="QCheckBox" name="MaxHoldCheckBox" > + <property name="geometry" > + <rect> + <x>10</x> + <y>300</y> + <width>95</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>Max Hold</string> + </property> + <property name="checked" > + <bool>false</bool> + </property> + </widget> + <widget class="QFrame" name="Tab1PlotDisplayFrame" > + <property name="geometry" > + <rect> + <x>5</x> + <y>5</y> + <width>620</width> + <height>290</height> + </rect> + </property> + <property name="frameShape" > + <enum>QFrame::NoFrame</enum> + </property> + <property name="frameShadow" > + <enum>QFrame::Plain</enum> + </property> + </widget> + </widget> + <widget class="QWidget" name="WaterfallPage" > + <attribute name="title" > + <string>Waterfall Display</string> + </attribute> + <widget class="QLabel" name="textLabel1" > + <property name="geometry" > + <rect> + <x>5</x> + <y>0</y> + <width>85</width> + <height>21</height> + </rect> + </property> + <property name="text" > + <string><font size="-2">Intensity Display:</font></string> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QComboBox" name="WaterfallIntensityComboBox" > + <property name="geometry" > + <rect> + <x>90</x> + <y>0</y> + <width>121</width> + <height>25</height> + </rect> + </property> + <item> + <property name="text" > + <string>Color</string> + </property> + </item> + <item> + <property name="text" > + <string>White Hot</string> + </property> + </item> + <item> + <property name="text" > + <string>Black Hot</string> + </property> + </item> + <item> + <property name="text" > + <string>Incandescent</string> + </property> + </item> + <item> + <property name="text" > + <string>User Defined</string> + </property> + </item> + </widget> + <widget class="QwtWheel" name="WaterfallMaximumIntensityWheel" > + <property name="geometry" > + <rect> + <x>215</x> + <y>0</y> + <width>335</width> + <height>24</height> + </rect> + </property> + <property name="mouseTracking" > + <bool>true</bool> + </property> + <property name="focusPolicy" > + <enum>Qt::WheelFocus</enum> + </property> + <property name="valid" > + <bool>true</bool> + </property> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="totalAngle" > + <double>200.000000000000000</double> + </property> + <property name="viewAngle" > + <double>20.000000000000000</double> + </property> + <property name="mass" > + <double>0.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="WaterfallMaximumIntensityLabel" > + <property name="geometry" > + <rect> + <x>563</x> + <y>3</y> + <width>55</width> + <height>21</height> + </rect> + </property> + <property name="text" > + <string>100 dB</string> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QFrame" name="Tab2PlotDisplayFrame" > + <property name="geometry" > + <rect> + <x>5</x> + <y>30</y> + <width>615</width> + <height>295</height> + </rect> + </property> + <property name="frameShape" > + <enum>QFrame::NoFrame</enum> + </property> + <property name="frameShadow" > + <enum>QFrame::Plain</enum> + </property> + </widget> + <widget class="QwtWheel" name="WaterfallMinimumIntensityWheel" > + <property name="geometry" > + <rect> + <x>215</x> + <y>325</y> + <width>335</width> + <height>24</height> + </rect> + </property> + <property name="valid" > + <bool>true</bool> + </property> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="totalAngle" > + <double>200.000000000000000</double> + </property> + <property name="viewAngle" > + <double>20.000000000000000</double> + </property> + <property name="mass" > + <double>0.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="WaterfallMinimumIntensityLabel" > + <property name="geometry" > + <rect> + <x>565</x> + <y>325</y> + <width>55</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>-100 dB</string> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QPushButton" name="WaterfallAutoScaleBtn" > + <property name="geometry" > + <rect> + <x>0</x> + <y>325</y> + <width>135</width> + <height>21</height> + </rect> + </property> + <property name="toolTip" > + <string>Scales the Intensity to the current data extremes.</string> + </property> + <property name="text" > + <string>Auto Scale</string> + </property> + </widget> + </widget> + <widget class="QWidget" name="Waterfall3DPage" > + <attribute name="title" > + <string>3D Waterfall Display</string> + </attribute> + <widget class="QLabel" name="textLabel1_2" > + <property name="geometry" > + <rect> + <x>5</x> + <y>0</y> + <width>85</width> + <height>21</height> + </rect> + </property> + <property name="text" > + <string><font size="-2">Intensity Display:</font></string> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QLabel" name="Waterfall3DMaximumIntensityLabel" > + <property name="geometry" > + <rect> + <x>563</x> + <y>3</y> + <width>55</width> + <height>21</height> + </rect> + </property> + <property name="text" > + <string>100 dB</string> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QPushButton" name="Waterfall3DAutoScaleBtn" > + <property name="geometry" > + <rect> + <x>0</x> + <y>325</y> + <width>135</width> + <height>21</height> + </rect> + </property> + <property name="toolTip" > + <string>Scales the Intensity to the current data extremes.</string> + </property> + <property name="text" > + <string>Auto Scale</string> + </property> + </widget> + <widget class="QwtWheel" name="Waterfall3DMinimumIntensityWheel" > + <property name="geometry" > + <rect> + <x>215</x> + <y>325</y> + <width>335</width> + <height>24</height> + </rect> + </property> + <property name="valid" > + <bool>true</bool> + </property> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="totalAngle" > + <double>200.000000000000000</double> + </property> + <property name="viewAngle" > + <double>20.000000000000000</double> + </property> + <property name="mass" > + <double>0.000000000000000</double> + </property> + </widget> + <widget class="QLabel" name="Waterfall3DMinimumIntensityLabel" > + <property name="geometry" > + <rect> + <x>565</x> + <y>325</y> + <width>55</width> + <height>20</height> + </rect> + </property> + <property name="text" > + <string>-100 dB</string> + </property> + <property name="wordWrap" > + <bool>false</bool> + </property> + </widget> + <widget class="QFrame" name="Waterfall3DPlotDisplayFrame" > + <property name="geometry" > + <rect> + <x>5</x> + <y>30</y> + <width>615</width> + <height>295</height> + </rect> + </property> + <property name="frameShape" > + <enum>QFrame::NoFrame</enum> + </property> + <property name="frameShadow" > + <enum>QFrame::Plain</enum> + </property> + </widget> + <widget class="QComboBox" name="Waterfall3DIntensityComboBox" > + <property name="geometry" > + <rect> + <x>90</x> + <y>0</y> + <width>121</width> + <height>25</height> + </rect> + </property> + <item> + <property name="text" > + <string>Color</string> + </property> + </item> + <item> + <property name="text" > + <string>White Hot</string> + </property> + </item> + <item> + <property name="text" > + <string>Black Hot</string> + </property> + </item> + <item> + <property name="text" > + <string>Incandescent</string> + </property> + </item> + <item> + <property name="text" > + <string>User Defined</string> + </property> + </item> + </widget> + <widget class="QwtWheel" name="Waterfall3DMaximumIntensityWheel" > + <property name="geometry" > + <rect> + <x>215</x> + <y>0</y> + <width>335</width> + <height>24</height> + </rect> + </property> + <property name="mouseTracking" > + <bool>true</bool> + </property> + <property name="focusPolicy" > + <enum>Qt::WheelFocus</enum> + </property> + <property name="valid" > + <bool>true</bool> + </property> + <property name="orientation" > + <enum>Qt::Horizontal</enum> + </property> + <property name="totalAngle" > + <double>200.000000000000000</double> + </property> + <property name="viewAngle" > + <double>20.000000000000000</double> + </property> + <property name="mass" > + <double>0.000000000000000</double> + </property> + </widget> + </widget> + <widget class="QWidget" name="TimeDomainPage" > + <attribute name="title" > + <string>Time Domain Display</string> + </attribute> + <widget class="QFrame" name="TimeDomainDisplayFrame" > + <property name="geometry" > + <rect> + <x>5</x> + <y>5</y> + <width>620</width> + <height>340</height> + </rect> + </property> + <property name="frameShape" > + <enum>QFrame::NoFrame</enum> + </property> + <property name="frameShadow" > + <enum>QFrame::Plain</enum> + </property> + </widget> + </widget> + </widget> + </widget> + <layoutdefault spacing="6" margin="11" /> + <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> + <customwidgets> + <customwidget> + <class>QwtWheel</class> + <extends>QWidget</extends> + <header>qwt_wheel.h</header> + </customwidget> + </customwidgets> + <tabstops> + <tabstop>SpectrumTypeTab</tabstop> + <tabstop>MaxHoldCheckBox</tabstop> + <tabstop>MaxHoldResetBtn</tabstop> + <tabstop>MinHoldCheckBox</tabstop> + <tabstop>MinHoldResetBtn</tabstop> + <tabstop>PowerLineEdit</tabstop> + <tabstop>AvgLineEdit</tabstop> + <tabstop>UseRFFrequenciesCheckBox</tabstop> + <tabstop>WindowComboBox</tabstop> + <tabstop>FFTSizeComboBox</tabstop> + <tabstop>WaterfallMaximumIntensityWheel</tabstop> + <tabstop>WaterfallMinimumIntensityWheel</tabstop> + </tabstops> + <includes> + <include location="global" >SpectrumGUIClass.h</include> + <include location="global" >FrequencyDisplayPlot.h</include> + <include location="global" >WaterfallDisplayPlot.h</include> + <include location="global" >Waterfall3DDisplayPlot.h</include> + <include location="global" >TimeDomainDisplayPlot.h</include> + <include location="global" >qvalidator.h</include> + <include location="global" >vector</include> + <include location="local" >qwt_wheel.h</include> + </includes> + <resources/> + <connections> + <connection> + <sender>MaxHoldCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>MaxHoldCheckBox_toggled(bool)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>MaxHoldResetBtn</sender> + <signal>clicked()</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>MaxHoldResetBtn_clicked()</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>MinHoldCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>MinHoldCheckBox_toggled(bool)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>MinHoldResetBtn</sender> + <signal>clicked()</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>MinHoldResetBtn_clicked()</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>AvgLineEdit</sender> + <signal>textChanged(QString)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>AvgLineEdit_textChanged(QString)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>PowerLineEdit</sender> + <signal>textChanged(QString)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>PowerLineEdit_textChanged(QString)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>WindowComboBox</sender> + <signal>activated(int)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>WindowTypeChanged(int)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>UseRFFrequenciesCheckBox</sender> + <signal>toggled(bool)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>UseRFFrequenciesCB(bool)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>WaterfallMaximumIntensityWheel</sender> + <signal>valueChanged(double)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>waterfallMaximumIntensityChangedCB(double)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>WaterfallMinimumIntensityWheel</sender> + <signal>valueChanged(double)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>waterfallMinimumIntensityChangedCB(double)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>Waterfall3DMaximumIntensityWheel</sender> + <signal>valueChanged(double)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>waterfall3DMaximumIntensityChangedCB(double)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>Waterfall3DMinimumIntensityWheel</sender> + <signal>valueChanged(double)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>waterfall3DMinimumIntensityChangedCB(double)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>FFTSizeComboBox</sender> + <signal>activated(QString)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>FFTComboBoxSelectedCB(QString)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>WaterfallAutoScaleBtn</sender> + <signal>clicked()</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>WaterfallAutoScaleBtnCB()</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>Waterfall3DAutoScaleBtn</sender> + <signal>clicked()</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>Waterfall3DAutoScaleBtnCB()</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>WaterfallIntensityComboBox</sender> + <signal>activated(int)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>WaterfallIntensityColorTypeChanged(int)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + <connection> + <sender>Waterfall3DIntensityComboBox</sender> + <signal>activated(int)</signal> + <receiver>SpectrumDisplayForm</receiver> + <slot>Waterfall3DIntensityColorTypeChanged(int)</slot> + <hints> + <hint type="sourcelabel" > + <x>20</x> + <y>20</y> + </hint> + <hint type="destinationlabel" > + <x>20</x> + <y>20</y> + </hint> + </hints> + </connection> + </connections> +</ui> |