DesignerTemplates/dialogbuttonsright4.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>300</x>
22 <y>20</y>
23 <width>87</width>
24 <height>106</height>
25 </rect>
26 </property>
27 <layout class="QVBoxLayout" >
28 <property name="margin" >
29 <number>0</number>
30 </property>
31 <property name="spacing" >
32 <number>6</number>
33 </property>
34 <item>
35 <widget class="QPushButton" name="okButton" >
36 <property name="text" >
37 <string>&amp;OK</string>
38 </property>
39 </widget>
40 </item>
41 <item>
42 <widget class="QPushButton" name="cancelButton" >
43 <property name="text" >
44 <string>&amp;Cancel</string>
45 </property>
46 </widget>
47 </item>
48 <item>
49 <spacer>
50 <property name="orientation" >
51 <enum>Qt::Vertical</enum>
52 </property>
53 <property name="sizeHint" >
54 <size>
55 <width>20</width>
56 <height>40</height>
57 </size>
58 </property>
59 </spacer>
60 </item>
61 </layout>
62 </widget>
63 </widget>
64 <pixmapfunction></pixmapfunction>
65 <resources/>
66 <connections>
67 <connection>
68 <sender>okButton</sender>
69 <signal>clicked()</signal>
70 <receiver>Dialog</receiver>
71 <slot>accept()</slot>
72 <hints>
73 <hint type="sourcelabel" >
74 <x>351</x>
75 <y>38</y>
76 </hint>
77 <hint type="destinationlabel" >
78 <x>233</x>
79 <y>29</y>
80 </hint>
81 </hints>
82 </connection>
83 <connection>
84 <sender>cancelButton</sender>
85 <signal>clicked()</signal>
86 <receiver>Dialog</receiver>
87 <slot>reject()</slot>
88 <hints>
89 <hint type="sourcelabel" >
90 <x>330</x>
91 <y>66</y>
92 </hint>
93 <hint type="destinationlabel" >
94 <x>197</x>
95 <y>125</y>
96 </hint>
97 </hints>
98 </connection>
99 </connections>
100 </ui>

eric ide

mercurial