DesignerTemplates/dialogbuttonsbottom4.tmpl

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

eric ide

mercurial