eric6/DesignerTemplates/dialogbuttonboxbottom4.tmpl

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

eric ide

mercurial