1<ui version="4.0" > 2 <class>InputDVDDirectory</class> 3 <widget class="QDialog" name="InputDVDDirectory" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>586</width> 9 <height>140</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>SMPlayer - Play a DVD from a folder</string> 14 </property> 15 <property name="modal" > 16 <bool>true</bool> 17 </property> 18 <layout class="QVBoxLayout" > 19 <property name="margin" > 20 <number>9</number> 21 </property> 22 <property name="spacing" > 23 <number>6</number> 24 </property> 25 <item> 26 <widget class="QLabel" name="intro_text" > 27 <property name="sizePolicy" > 28 <sizepolicy> 29 <hsizetype>7</hsizetype> 30 <vsizetype>5</vsizetype> 31 <horstretch>0</horstretch> 32 <verstretch>0</verstretch> 33 </sizepolicy> 34 </property> 35 <property name="text" > 36 <string>You can play a DVD from your hard disc. Just select the folder which contains the VIDEO_TS and AUDIO_TS directories.</string> 37 </property> 38 <property name="alignment" > 39 <set>Qt::AlignVCenter</set> 40 </property> 41 <property name="wordWrap" > 42 <bool>true</bool> 43 </property> 44 </widget> 45 </item> 46 <item> 47 <layout class="QHBoxLayout" > 48 <property name="margin" > 49 <number>0</number> 50 </property> 51 <property name="spacing" > 52 <number>6</number> 53 </property> 54 <item> 55 <widget class="QLineEdit" name="dvd_directory_edit" > 56 <property name="sizePolicy" > 57 <sizepolicy> 58 <hsizetype>7</hsizetype> 59 <vsizetype>0</vsizetype> 60 <horstretch>0</horstretch> 61 <verstretch>0</verstretch> 62 </sizepolicy> 63 </property> 64 </widget> 65 </item> 66 <item> 67 <widget class="QPushButton" name="searchButton" > 68 <property name="text" > 69 <string>Choose a directory...</string> 70 </property> 71 </widget> 72 </item> 73 </layout> 74 </item> 75 <item> 76 <widget class="Line" name="line1" > 77 <property name="sizePolicy" > 78 <sizepolicy> 79 <hsizetype>7</hsizetype> 80 <vsizetype>0</vsizetype> 81 <horstretch>0</horstretch> 82 <verstretch>0</verstretch> 83 </sizepolicy> 84 </property> 85 <property name="frameShape" > 86 <enum>QFrame::HLine</enum> 87 </property> 88 <property name="frameShadow" > 89 <enum>QFrame::Sunken</enum> 90 </property> 91 <property name="orientation" > 92 <enum>Qt::Horizontal</enum> 93 </property> 94 </widget> 95 </item> 96 <item> 97 <layout class="QHBoxLayout" > 98 <property name="margin" > 99 <number>0</number> 100 </property> 101 <property name="spacing" > 102 <number>6</number> 103 </property> 104 <item> 105 <spacer> 106 <property name="orientation" > 107 <enum>Qt::Horizontal</enum> 108 </property> 109 <property name="sizeHint" > 110 <size> 111 <width>40</width> 112 <height>20</height> 113 </size> 114 </property> 115 </spacer> 116 </item> 117 <item> 118 <widget class="QDialogButtonBox" name="buttonBox" > 119 <property name="orientation" > 120 <enum>Qt::Horizontal</enum> 121 </property> 122 <property name="standardButtons" > 123 <set>QDialogButtonBox::Cancel|QDialogButtonBox::NoButton|QDialogButtonBox::Ok</set> 124 </property> 125 </widget> 126 </item> 127 </layout> 128 </item> 129 </layout> 130 </widget> 131 <layoutdefault spacing="6" margin="11" /> 132 <resources/> 133 <connections> 134 <connection> 135 <sender>buttonBox</sender> 136 <signal>accepted()</signal> 137 <receiver>InputDVDDirectory</receiver> 138 <slot>accept()</slot> 139 <hints> 140 <hint type="sourcelabel" > 141 <x>468</x> 142 <y>185</y> 143 </hint> 144 <hint type="destinationlabel" > 145 <x>286</x> 146 <y>132</y> 147 </hint> 148 </hints> 149 </connection> 150 <connection> 151 <sender>buttonBox</sender> 152 <signal>rejected()</signal> 153 <receiver>InputDVDDirectory</receiver> 154 <slot>reject()</slot> 155 <hints> 156 <hint type="sourcelabel" > 157 <x>468</x> 158 <y>185</y> 159 </hint> 160 <hint type="destinationlabel" > 161 <x>286</x> 162 <y>132</y> 163 </hint> 164 </hints> 165 </connection> 166 </connections> 167</ui> 168