1<ui version="4.0" > 2 <class>PreferencesDialog</class> 3 <widget class="QDialog" name="PreferencesDialog" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>532</width> 9 <height>425</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>SMPlayer - Preferences</string> 14 </property> 15 <layout class="QGridLayout" > 16 <property name="margin" > 17 <number>9</number> 18 </property> 19 <property name="spacing" > 20 <number>6</number> 21 </property> 22 <item row="0" column="1" > 23 <widget class="QStackedWidget" name="pages" > 24 <property name="sizePolicy" > 25 <sizepolicy> 26 <hsizetype>7</hsizetype> 27 <vsizetype>5</vsizetype> 28 <horstretch>0</horstretch> 29 <verstretch>0</verstretch> 30 </sizepolicy> 31 </property> 32 <property name="currentIndex" > 33 <number>-1</number> 34 </property> 35 </widget> 36 </item> 37 <item row="0" column="0" > 38 <widget class="QListWidget" name="sections" > 39 <property name="sizePolicy" > 40 <sizepolicy> 41 <hsizetype>3</hsizetype> 42 <vsizetype>7</vsizetype> 43 <horstretch>0</horstretch> 44 <verstretch>0</verstretch> 45 </sizepolicy> 46 </property> 47 <property name="minimumSize" > 48 <size> 49 <width>150</width> 50 <height>0</height> 51 </size> 52 </property> 53 </widget> 54 </item> 55 <item row="1" column="0" colspan="2" > 56 <widget class="QDialogButtonBox" name="buttonBox" > 57 <property name="orientation" > 58 <enum>Qt::Horizontal</enum> 59 </property> 60 <property name="standardButtons" > 61 <set>QDialogButtonBox::Apply|QDialogButtonBox::Cancel|QDialogButtonBox::Help|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> 62 </property> 63 </widget> 64 </item> 65 </layout> 66 </widget> 67 <resources/> 68 <connections> 69 <connection> 70 <sender>sections</sender> 71 <signal>currentRowChanged(int)</signal> 72 <receiver>pages</receiver> 73 <slot>setCurrentIndex(int)</slot> 74 <hints> 75 <hint type="sourcelabel" > 76 <x>145</x> 77 <y>202</y> 78 </hint> 79 <hint type="destinationlabel" > 80 <x>372</x> 81 <y>231</y> 82 </hint> 83 </hints> 84 </connection> 85 <connection> 86 <sender>buttonBox</sender> 87 <signal>accepted()</signal> 88 <receiver>PreferencesDialog</receiver> 89 <slot>accept()</slot> 90 <hints> 91 <hint type="sourcelabel" > 92 <x>259</x> 93 <y>401</y> 94 </hint> 95 <hint type="destinationlabel" > 96 <x>259</x> 97 <y>212</y> 98 </hint> 99 </hints> 100 </connection> 101 <connection> 102 <sender>buttonBox</sender> 103 <signal>rejected()</signal> 104 <receiver>PreferencesDialog</receiver> 105 <slot>reject()</slot> 106 <hints> 107 <hint type="sourcelabel" > 108 <x>259</x> 109 <y>401</y> 110 </hint> 111 <hint type="destinationlabel" > 112 <x>259</x> 113 <y>212</y> 114 </hint> 115 </hints> 116 </connection> 117 </connections> 118</ui> 119