DesignerTemplates/dialogbuttonsbottomcenter4.tmpl

changeset 0
de9c2efb9d02
child 1051
e623888da230
equal deleted inserted replaced
-1:000000000000 0:de9c2efb9d02
1 <ui version="4.0" >
2 <author></author>
3 <comment></comment>
4 <exportmacro></exportmacro>
5 <class>Dialog</class>
6 <widget class="QDialog" name="Dialog" >
7 <property name="geometry" >
8 <rect>
9 <x>0</x>
10 <y>0</y>
11 <width>400</width>
12 <height>300</height>
13 </rect>
14 </property>
15 <property name="windowTitle" >
16 <string>Dialog</string>
17 </property>
18 <widget class="QWidget" name="layoutWidget" >
19 <property name="geometry" >
20 <rect>
21 <x>20</x>
22 <y>250</y>
23 <width>351</width>
24 <height>33</height>
25 </rect>
26 </property>
27 <layout class="QHBoxLayout" >
28 <property name="margin" >
29 <number>0</number>
30 </property>
31 <property name="spacing" >
32 <number>6</number>
33 </property>
34 <item>
35 <spacer>
36 <property name="orientation" >
37 <enum>Qt::Horizontal</enum>
38 </property>
39 <property name="sizeHint" >
40 <size>
41 <width>71</width>
42 <height>31</height>
43 </size>
44 </property>
45 </spacer>
46 </item>
47 <item>
48 <widget class="QPushButton" name="okButton" >
49 <property name="text" >
50 <string>&amp;OK</string>
51 </property>
52 </widget>
53 </item>
54 <item>
55 <widget class="QPushButton" name="cancelButton" >
56 <property name="text" >
57 <string>&amp;Cancel</string>
58 </property>
59 </widget>
60 </item>
61 <item>
62 <spacer>
63 <property name="orientation" >
64 <enum>Qt::Horizontal</enum>
65 </property>
66 <property name="sizeHint" >
67 <size>
68 <width>40</width>
69 <height>20</height>
70 </size>
71 </property>
72 </spacer>
73 </item>
74 </layout>
75 </widget>
76 </widget>
77 <pixmapfunction></pixmapfunction>
78 <resources/>
79 <connections>
80 <connection>
81 <sender>okButton</sender>
82 <signal>clicked()</signal>
83 <receiver>Dialog</receiver>
84 <slot>accept()</slot>
85 <hints>
86 <hint type="sourcelabel" >
87 <x>278</x>
88 <y>253</y>
89 </hint>
90 <hint type="destinationlabel" >
91 <x>96</x>
92 <y>254</y>
93 </hint>
94 </hints>
95 </connection>
96 <connection>
97 <sender>cancelButton</sender>
98 <signal>clicked()</signal>
99 <receiver>Dialog</receiver>
100 <slot>reject()</slot>
101 <hints>
102 <hint type="sourcelabel" >
103 <x>369</x>
104 <y>253</y>
105 </hint>
106 <hint type="destinationlabel" >
107 <x>179</x>
108 <y>282</y>
109 </hint>
110 </hints>
111 </connection>
112 </connections>
113 </ui>

eric ide

mercurial