<ui version="4.0" > <class>PreferencesDialog</class> <widget class="QDialog" name="PreferencesDialog" > <property name="geometry" > <rect> <x>0</x> <y>0</y> <width>532</width> <height>425</height> </rect> </property> <property name="windowTitle" > <string>SMPlayer - Preferences</string> </property> <layout class="QGridLayout" > <property name="margin" > <number>9</number> </property> <property name="spacing" > <number>6</number> </property> <item row="0" column="1" > <widget class="QStackedWidget" name="pages" > <property name="sizePolicy" > <sizepolicy> <hsizetype>7</hsizetype> <vsizetype>5</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="currentIndex" > <number>-1</number> </property> </widget> </item> <item row="0" column="0" > <widget class="QListWidget" name="sections" > <property name="sizePolicy" > <sizepolicy> <hsizetype>3</hsizetype> <vsizetype>7</vsizetype> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="minimumSize" > <size> <width>150</width> <height>0</height> </size> </property> </widget> </item> <item row="1" column="0" colspan="2" > <widget class="QDialogButtonBox" name="buttonBox" > <property name="orientation" > <enum>Qt::Horizontal</enum> </property> <property name="standardButtons" > <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <resources/> <connections> <connection> <sender>sections</sender> <signal>currentRowChanged(int)</signal> <receiver>pages</receiver> <slot>setCurrentIndex(int)</slot> <hints> <hint type="sourcelabel" > <x>145</x> <y>202</y> </hint> <hint type="destinationlabel" > <x>372</x> <y>231</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>PreferencesDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel" > <x>259</x> <y>401</y> </hint> <hint type="destinationlabel" > <x>259</x> <y>212</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>PreferencesDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel" > <x>259</x> <y>401</y> </hint> <hint type="destinationlabel" > <x>259</x> <y>212</y> </hint> </hints> </connection> </connections> </ui>