mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-31 04:50:29 -04:00 
			
		
		
		
	
		
			
	
	
		
			477 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			477 lines
		
	
	
		
			13 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|  | <?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> | ||
|  |     <width>215</width> | ||
|  |     <height>94</height> | ||
|  |    </rect> | ||
|  |   </property> | ||
|  |   <property name="windowTitle"> | ||
|  |    <string>Oscilloscope</string> | ||
|  |   </property> | ||
|  |   <layout class="QGridLayout" name="gridLayout" columnstretch="1,1,1,1"> | ||
|  |    <property name="margin"> | ||
|  |     <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> | ||
|  |       <spacer name="horizontalSpacer"> | ||
|  |        <property name="orientation"> | ||
|  |         <enum>Qt::Horizontal</enum> | ||
|  |        </property> | ||
|  |        <property name="sizeHint" stdset="0"> | ||
|  |         <size> | ||
|  |          <width>0</width> | ||
|  |          <height>0</height> | ||
|  |         </size> | ||
|  |        </property> | ||
|  |       </spacer> | ||
|  |      </item> | ||
|  |      <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> | ||
|  |     </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> |