<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>DriverSettingsW</class> <widget class="QDialog" name="DriverSettingsW"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>287</width> <height>152</height> </rect> </property> <property name="windowTitle"> <string>Driver Settings</string> </property> <layout class="QGridLayout" name="gridLayout"> <item row="0" column="0"> <widget class="QLabel" name="label_device"> <property name="text"> <string>Device:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="0" column="1"> <widget class="QComboBox" name="cb_device"/> </item> <item row="0" column="2"> <spacer name="horizontalSpacer"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeType"> <enum>QSizePolicy::Fixed</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>1</height> </size> </property> </spacer> </item> <item row="1" column="0"> <widget class="QLabel" name="label_numperiods"> <property name="text"> <string>Num periods:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="1" column="1"> <widget class="QSpinBox" name="sb_numperiods"> <property name="minimum"> <number>2</number> </property> <property name="maximum"> <number>3</number> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_buffersize"> <property name="text"> <string>Buffer size:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="2" column="1"> <widget class="QComboBox" name="cb_buffersize"/> </item> <item row="3" column="0"> <widget class="QLabel" name="label_samplerate"> <property name="text"> <string>Sample rate:</string> </property> <property name="alignment"> <set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set> </property> </widget> </item> <item row="3" column="1"> <widget class="QComboBox" name="cb_samplerate"/> </item> <item row="4" column="0" colspan="3"> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>DriverSettingsW</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>DriverSettingsW</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>