1<ui version="4.0" > 2 <class>Dialog</class> 3 <widget class="QDialog" name="Dialog" > 4 <property name="geometry" > 5 <rect> 6 <x>0</x> 7 <y>0</y> 8 <width>320</width> 9 <height>240</height> 10 </rect> 11 </property> 12 <property name="windowTitle" > 13 <string>Dialog</string> 14 </property> 15 <widget class="QDialogButtonBox" name="buttonBox" > 16 <property name="geometry" > 17 <rect> 18 <x>10</x> 19 <y>200</y> 20 <width>301</width> 21 <height>32</height> 22 </rect> 23 </property> 24 <property name="orientation" > 25 <enum>Qt::Horizontal</enum> 26 </property> 27 <property name="standardButtons" > 28 <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> 29 </property> 30 </widget> 31 </widget> 32 <resources/> 33 <connections> 34 <connection> 35 <sender>buttonBox</sender> 36 <signal>accepted()</signal> 37 <receiver>Dialog</receiver> 38 <slot>accept()</slot> 39 <hints> 40 <hint type="sourcelabel" > 41 <x>248</x> 42 <y>254</y> 43 </hint> 44 <hint type="destinationlabel" > 45 <x>157</x> 46 <y>274</y> 47 </hint> 48 </hints> 49 </connection> 50 <connection> 51 <sender>buttonBox</sender> 52 <signal>rejected()</signal> 53 <receiver>Dialog</receiver> 54 <slot>reject()</slot> 55 <hints> 56 <hint type="sourcelabel" > 57 <x>316</x> 58 <y>260</y> 59 </hint> 60 <hint type="destinationlabel" > 61 <x>286</x> 62 <y>274</y> 63 </hint> 64 </hints> 65 </connection> 66 </connections> 67</ui> 68