1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <class>CIoConfig</class> 4 <widget class="QDialog" name="CIoConfig"> 5 <property name="geometry"> 6 <rect> 7 <x>0</x> 8 <y>0</y> 9 <width>322</width> 10 <height>438</height> 11 </rect> 12 </property> 13 <property name="windowTitle"> 14 <string>Configure I/O devices</string> 15 </property> 16 <property name="windowIcon"> 17 <iconset resource="../../resources/icons.qrc"> 18 <normaloff>:/icons/icons/flash.svg</normaloff>:/icons/icons/flash.svg</iconset> 19 </property> 20 <layout class="QVBoxLayout" name="verticalLayout"> 21 <item> 22 <widget class="QGroupBox" name="groupBoxInput"> 23 <property name="font"> 24 <font> 25 <weight>50</weight> 26 <bold>false</bold> 27 </font> 28 </property> 29 <property name="title"> 30 <string>I/Q input</string> 31 </property> 32 <property name="alignment"> 33 <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> 34 </property> 35 <property name="flat"> 36 <bool>false</bool> 37 </property> 38 <layout class="QFormLayout" name="formLayout"> 39 <property name="fieldGrowthPolicy"> 40 <enum>QFormLayout::AllNonFixedFieldsGrow</enum> 41 </property> 42 <property name="labelAlignment"> 43 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 44 </property> 45 <item row="0" column="0"> 46 <widget class="QLabel" name="inDevLabel1"> 47 <property name="sizePolicy"> 48 <sizepolicy hsizetype="Preferred" vsizetype="Preferred"> 49 <horstretch>0</horstretch> 50 <verstretch>0</verstretch> 51 </sizepolicy> 52 </property> 53 <property name="text"> 54 <string>Device</string> 55 </property> 56 <property name="alignment"> 57 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 58 </property> 59 </widget> 60 </item> 61 <item row="0" column="1"> 62 <widget class="QComboBox" name="inDevCombo"> 63 <property name="enabled"> 64 <bool>true</bool> 65 </property> 66 <property name="toolTip"> 67 <string>Select an input device</string> 68 </property> 69 <property name="sizeAdjustPolicy"> 70 <enum>QComboBox::AdjustToMinimumContentsLength</enum> 71 </property> 72 <property name="minimumContentsLength"> 73 <number>15</number> 74 </property> 75 </widget> 76 </item> 77 <item row="1" column="0"> 78 <widget class="QLabel" name="inDevLabel2"> 79 <property name="toolTip"> 80 <string>Device arguments</string> 81 </property> 82 <property name="text"> 83 <string>Device string</string> 84 </property> 85 </widget> 86 </item> 87 <item row="2" column="0"> 88 <widget class="QLabel" name="inSrLabel"> 89 <property name="text"> 90 <string>Input rate</string> 91 </property> 92 </widget> 93 </item> 94 <item row="2" column="1"> 95 <widget class="QComboBox" name="inSrCombo"> 96 <property name="toolTip"> 97 <string>Select the sample rate of the input source</string> 98 </property> 99 <property name="editable"> 100 <bool>true</bool> 101 </property> 102 </widget> 103 </item> 104 <item row="6" column="0"> 105 <widget class="QLabel" name="loLabel"> 106 <property name="toolTip"> 107 <string>LNB LO frequency. Use negative frequency for upconverters.</string> 108 </property> 109 <property name="text"> 110 <string>LNB LO</string> 111 </property> 112 </widget> 113 </item> 114 <item row="6" column="1"> 115 <widget class="QDoubleSpinBox" name="loSpinBox"> 116 <property name="toolTip"> 117 <string>LNB LO frequency. Use negative frequency for upconverters.</string> 118 </property> 119 <property name="buttonSymbols"> 120 <enum>QAbstractSpinBox::PlusMinus</enum> 121 </property> 122 <property name="suffix"> 123 <string> MHz</string> 124 </property> 125 <property name="decimals"> 126 <number>6</number> 127 </property> 128 <property name="minimum"> 129 <double>-500000.000000000000000</double> 130 </property> 131 <property name="maximum"> 132 <double>500000.000000000000000</double> 133 </property> 134 </widget> 135 </item> 136 <item row="1" column="1"> 137 <widget class="QLineEdit" name="inDevEdit"> 138 <property name="toolTip"> 139 <string><html><head/><body><p>The device argument is a delimited string used to locate devices on your system. Use the device id or name (if applicable) to specify a certain device or list of devices. If left blank, the first device found will be used.</p><p>Examples (some arguments may be optional):</p><p>fcd=0<br/>rtl=0<br/>rtl=0,rtl_xtal=28.80001e6,tuner_xtal=26e6,buffers=64 ...<br/>rtl_tcp=127.0.0.1:1234,psize=16384<br/>plutosdr,uri=usb:6.36.5<br/>file=/path/to/file.ext,freq=428e6,rate=1e6,repeat=true,throttle=true ... </p><p>You can test the device strings in gnuradio-companion.</p></body></html></string> 140 </property> 141 <property name="text"> 142 <string/> 143 </property> 144 </widget> 145 </item> 146 <item row="5" column="1"> 147 <widget class="QDoubleSpinBox" name="bwSpinBox"> 148 <property name="toolTip"> 149 <string>Analog bandwidth (leave at 0 for default)</string> 150 </property> 151 <property name="suffix"> 152 <string> MHz</string> 153 </property> 154 <property name="decimals"> 155 <number>6</number> 156 </property> 157 <property name="maximum"> 158 <double>100.000000000000000</double> 159 </property> 160 <property name="singleStep"> 161 <double>0.100000000000000</double> 162 </property> 163 </widget> 164 </item> 165 <item row="5" column="0"> 166 <widget class="QLabel" name="bwLabel"> 167 <property name="toolTip"> 168 <string>Analog bandwidth (leave at 0 for default)</string> 169 </property> 170 <property name="text"> 171 <string>Bandwidth</string> 172 </property> 173 </widget> 174 </item> 175 <item row="3" column="0"> 176 <widget class="QLabel" name="label"> 177 <property name="text"> 178 <string>Decimation</string> 179 </property> 180 </widget> 181 </item> 182 <item row="3" column="1"> 183 <widget class="QComboBox" name="decimCombo"> 184 <property name="toolTip"> 185 <string>Input decimation</string> 186 </property> 187 <item> 188 <property name="text"> 189 <string>None</string> 190 </property> 191 </item> 192 <item> 193 <property name="text"> 194 <string>2</string> 195 </property> 196 </item> 197 <item> 198 <property name="text"> 199 <string>4</string> 200 </property> 201 </item> 202 <item> 203 <property name="text"> 204 <string>8</string> 205 </property> 206 </item> 207 <item> 208 <property name="text"> 209 <string>16</string> 210 </property> 211 </item> 212 <item> 213 <property name="text"> 214 <string>32</string> 215 </property> 216 </item> 217 <item> 218 <property name="text"> 219 <string>64</string> 220 </property> 221 </item> 222 <item> 223 <property name="text"> 224 <string>128</string> 225 </property> 226 </item> 227 <item> 228 <property name="text"> 229 <string>256</string> 230 </property> 231 </item> 232 <item> 233 <property name="text"> 234 <string>512</string> 235 </property> 236 </item> 237 </widget> 238 </item> 239 <item row="4" column="0"> 240 <widget class="QLabel" name="label_2"> 241 <property name="text"> 242 <string>Sample rate</string> 243 </property> 244 </widget> 245 </item> 246 <item row="4" column="1"> 247 <widget class="QLabel" name="sampRateLabel"> 248 <property name="font"> 249 <font> 250 <weight>50</weight> 251 <bold>false</bold> 252 </font> 253 </property> 254 <property name="toolTip"> 255 <string>The sample rate after decimation</string> 256 </property> 257 <property name="text"> 258 <string> 0 Msps</string> 259 </property> 260 </widget> 261 </item> 262 </layout> 263 </widget> 264 </item> 265 <item> 266 <widget class="Line" name="line"> 267 <property name="orientation"> 268 <enum>Qt::Horizontal</enum> 269 </property> 270 </widget> 271 </item> 272 <item> 273 <widget class="QGroupBox" name="groupBoxOutput"> 274 <property name="title"> 275 <string>Audio output</string> 276 </property> 277 <layout class="QFormLayout" name="formLayout_2"> 278 <property name="labelAlignment"> 279 <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> 280 </property> 281 <item row="0" column="0"> 282 <widget class="QLabel" name="outDevLabel"> 283 <property name="text"> 284 <string>Device</string> 285 </property> 286 </widget> 287 </item> 288 <item row="0" column="1"> 289 <widget class="QComboBox" name="outDevCombo"> 290 <property name="toolTip"> 291 <string>Select which device to use for audio output. 292Leave it at default unless you know what you are doing.</string> 293 </property> 294 <property name="sizeAdjustPolicy"> 295 <enum>QComboBox::AdjustToMinimumContentsLength</enum> 296 </property> 297 <property name="minimumContentsLength"> 298 <number>15</number> 299 </property> 300 <item> 301 <property name="text"> 302 <string>Default</string> 303 </property> 304 </item> 305 </widget> 306 </item> 307 <item row="1" column="0"> 308 <widget class="QLabel" name="outSrLabel"> 309 <property name="text"> 310 <string>Sample rate</string> 311 </property> 312 </widget> 313 </item> 314 <item row="1" column="1"> 315 <widget class="QComboBox" name="outSrCombo"> 316 <property name="toolTip"> 317 <string>Select the audio sample rate</string> 318 </property> 319 <item> 320 <property name="text"> 321 <string>48 kHz</string> 322 </property> 323 </item> 324 </widget> 325 </item> 326 </layout> 327 </widget> 328 </item> 329 <item> 330 <widget class="QDialogButtonBox" name="buttonBox"> 331 <property name="orientation"> 332 <enum>Qt::Horizontal</enum> 333 </property> 334 <property name="standardButtons"> 335 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 336 </property> 337 </widget> 338 </item> 339 </layout> 340 </widget> 341 <tabstops> 342 <tabstop>inDevCombo</tabstop> 343 <tabstop>inDevEdit</tabstop> 344 <tabstop>inSrCombo</tabstop> 345 <tabstop>decimCombo</tabstop> 346 <tabstop>bwSpinBox</tabstop> 347 <tabstop>loSpinBox</tabstop> 348 <tabstop>outDevCombo</tabstop> 349 <tabstop>outSrCombo</tabstop> 350 </tabstops> 351 <resources> 352 <include location="../../resources/icons.qrc"/> 353 </resources> 354 <connections> 355 <connection> 356 <sender>buttonBox</sender> 357 <signal>accepted()</signal> 358 <receiver>CIoConfig</receiver> 359 <slot>accept()</slot> 360 <hints> 361 <hint type="sourcelabel"> 362 <x>248</x> 363 <y>254</y> 364 </hint> 365 <hint type="destinationlabel"> 366 <x>157</x> 367 <y>274</y> 368 </hint> 369 </hints> 370 </connection> 371 <connection> 372 <sender>buttonBox</sender> 373 <signal>rejected()</signal> 374 <receiver>CIoConfig</receiver> 375 <slot>reject()</slot> 376 <hints> 377 <hint type="sourcelabel"> 378 <x>316</x> 379 <y>260</y> 380 </hint> 381 <hint type="destinationlabel"> 382 <x>286</x> 383 <y>274</y> 384 </hint> 385 </hints> 386 </connection> 387 </connections> 388</ui> 389