mirror of
				https://github.com/f4exb/sdrangel.git
				synced 2025-10-30 20:40:20 -04:00 
			
		
		
		
	
		
			
	
	
		
			321 lines
		
	
	
		
			8.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			321 lines
		
	
	
		
			8.3 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|  | <?xml version="1.0" encoding="UTF-8"?> | ||
|  | <ui version="4.0"> | ||
|  |  <class>FFTNRDialog</class> | ||
|  |  <widget class="QDialog" name="FFTNRDialog"> | ||
|  |   <property name="geometry"> | ||
|  |    <rect> | ||
|  |     <x>0</x> | ||
|  |     <y>0</y> | ||
|  |     <width>365</width> | ||
|  |     <height>112</height> | ||
|  |    </rect> | ||
|  |   </property> | ||
|  |   <property name="font"> | ||
|  |    <font> | ||
|  |     <family>Liberation Sans</family> | ||
|  |     <pointsize>9</pointsize> | ||
|  |    </font> | ||
|  |   </property> | ||
|  |   <property name="windowTitle"> | ||
|  |    <string>FFT Noise reduction</string> | ||
|  |   </property> | ||
|  |   <property name="modal"> | ||
|  |    <bool>true</bool> | ||
|  |   </property> | ||
|  |   <layout class="QVBoxLayout" name="verticalLayout"> | ||
|  |    <item> | ||
|  |     <layout class="QHBoxLayout" name="nrSetup"> | ||
|  |      <item> | ||
|  |       <widget class="QLabel" name="schemeLabel"> | ||
|  |        <property name="sizePolicy"> | ||
|  |         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
|  |          <horstretch>0</horstretch> | ||
|  |          <verstretch>0</verstretch> | ||
|  |         </sizepolicy> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>Path to fftwf-wisdom executable</string> | ||
|  |        </property> | ||
|  |        <property name="text"> | ||
|  |         <string>Scheme</string> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QComboBox" name="scheme"> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>Select noise reduction scheme</string> | ||
|  |        </property> | ||
|  |        <item> | ||
|  |         <property name="text"> | ||
|  |          <string>Average</string> | ||
|  |         </property> | ||
|  |        </item> | ||
|  |        <item> | ||
|  |         <property name="text"> | ||
|  |          <string>Avg Std Dev</string> | ||
|  |         </property> | ||
|  |        </item> | ||
|  |        <item> | ||
|  |         <property name="text"> | ||
|  |          <string>Peaks</string> | ||
|  |         </property> | ||
|  |        </item> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QLabel" name="genParamLabel"> | ||
|  |        <property name="sizePolicy"> | ||
|  |         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
|  |          <horstretch>0</horstretch> | ||
|  |          <verstretch>0</verstretch> | ||
|  |         </sizepolicy> | ||
|  |        </property> | ||
|  |        <property name="minimumSize"> | ||
|  |         <size> | ||
|  |          <width>120</width> | ||
|  |          <height>0</height> | ||
|  |         </size> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>Path to fftwf-wisdom executable</string> | ||
|  |        </property> | ||
|  |        <property name="text"> | ||
|  |         <string>...</string> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QDial" name="genParam"> | ||
|  |        <property name="maximumSize"> | ||
|  |         <size> | ||
|  |          <width>24</width> | ||
|  |          <height>24</height> | ||
|  |         </size> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string/> | ||
|  |        </property> | ||
|  |        <property name="minimum"> | ||
|  |         <number>1</number> | ||
|  |        </property> | ||
|  |        <property name="maximum"> | ||
|  |         <number>26</number> | ||
|  |        </property> | ||
|  |        <property name="pageStep"> | ||
|  |         <number>1</number> | ||
|  |        </property> | ||
|  |        <property name="value"> | ||
|  |         <number>13</number> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QLabel" name="genParamValue"> | ||
|  |        <property name="sizePolicy"> | ||
|  |         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
|  |          <horstretch>0</horstretch> | ||
|  |          <verstretch>0</verstretch> | ||
|  |         </sizepolicy> | ||
|  |        </property> | ||
|  |        <property name="minimumSize"> | ||
|  |         <size> | ||
|  |          <width>28</width> | ||
|  |          <height>0</height> | ||
|  |         </size> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>Path to fftwf-wisdom executable</string> | ||
|  |        </property> | ||
|  |        <property name="text"> | ||
|  |         <string>20.0</string> | ||
|  |        </property> | ||
|  |        <property name="alignment"> | ||
|  |         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||
|  |        </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> | ||
|  |     <layout class="QHBoxLayout" name="averagingLayout"> | ||
|  |      <item> | ||
|  |       <widget class="QLabel" name="alphaLabel"> | ||
|  |        <property name="sizePolicy"> | ||
|  |         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
|  |          <horstretch>0</horstretch> | ||
|  |          <verstretch>0</verstretch> | ||
|  |         </sizepolicy> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string/> | ||
|  |        </property> | ||
|  |        <property name="text"> | ||
|  |         <string>Alpha</string> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QDial" name="alpha"> | ||
|  |        <property name="maximumSize"> | ||
|  |         <size> | ||
|  |          <width>24</width> | ||
|  |          <height>24</height> | ||
|  |         </size> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>-db(1 - alpha) alpha is the smoothing constant of the exponential filter </string> | ||
|  |        </property> | ||
|  |        <property name="minimum"> | ||
|  |         <number>1</number> | ||
|  |        </property> | ||
|  |        <property name="maximum"> | ||
|  |         <number>40</number> | ||
|  |        </property> | ||
|  |        <property name="pageStep"> | ||
|  |         <number>1</number> | ||
|  |        </property> | ||
|  |        <property name="value"> | ||
|  |         <number>13</number> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QLabel" name="alphaValue"> | ||
|  |        <property name="sizePolicy"> | ||
|  |         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
|  |          <horstretch>0</horstretch> | ||
|  |          <verstretch>0</verstretch> | ||
|  |         </sizepolicy> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>-dB(1 - alpha) alpha=...</string> | ||
|  |        </property> | ||
|  |        <property name="text"> | ||
|  |         <string>00</string> | ||
|  |        </property> | ||
|  |        <property name="alignment"> | ||
|  |         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QLabel" name="tauLabel"> | ||
|  |        <property name="sizePolicy"> | ||
|  |         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
|  |          <horstretch>0</horstretch> | ||
|  |          <verstretch>0</verstretch> | ||
|  |         </sizepolicy> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>Path to fftwf-wisdom executable</string> | ||
|  |        </property> | ||
|  |        <property name="text"> | ||
|  |         <string>Tau</string> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <widget class="QLabel" name="tauText"> | ||
|  |        <property name="sizePolicy"> | ||
|  |         <sizepolicy hsizetype="Maximum" vsizetype="Preferred"> | ||
|  |          <horstretch>0</horstretch> | ||
|  |          <verstretch>0</verstretch> | ||
|  |         </sizepolicy> | ||
|  |        </property> | ||
|  |        <property name="minimumSize"> | ||
|  |         <size> | ||
|  |          <width>40</width> | ||
|  |          <height>0</height> | ||
|  |         </size> | ||
|  |        </property> | ||
|  |        <property name="toolTip"> | ||
|  |         <string>Time constant of the smoothing filter in seconds</string> | ||
|  |        </property> | ||
|  |        <property name="text"> | ||
|  |         <string>0.000</string> | ||
|  |        </property> | ||
|  |        <property name="alignment"> | ||
|  |         <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> | ||
|  |        </property> | ||
|  |       </widget> | ||
|  |      </item> | ||
|  |      <item> | ||
|  |       <spacer name="horizontalSpacer_2"> | ||
|  |        <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="QDialogButtonBox" name="buttonBox"> | ||
|  |      <property name="orientation"> | ||
|  |       <enum>Qt::Horizontal</enum> | ||
|  |      </property> | ||
|  |      <property name="standardButtons"> | ||
|  |       <set>QDialogButtonBox::Close</set> | ||
|  |      </property> | ||
|  |     </widget> | ||
|  |    </item> | ||
|  |   </layout> | ||
|  |  </widget> | ||
|  |  <resources> | ||
|  |   <include location="../resources/res.qrc"/> | ||
|  |  </resources> | ||
|  |  <connections> | ||
|  |   <connection> | ||
|  |    <sender>buttonBox</sender> | ||
|  |    <signal>accepted()</signal> | ||
|  |    <receiver>FFTNRDialog</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>FFTNRDialog</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> |