DesignerTemplates/dialogbuttonsbottomcenter4.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>71</width> 42 <width>71</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 <item> 62 <item>
62 <spacer> 63 <spacer>
63 <property name="orientation" > 64 <property name="orientation">
64 <enum>Qt::Horizontal</enum> 65 <enum>Qt::Horizontal</enum>
65 </property> 66 </property>
66 <property name="sizeHint" > 67 <property name="sizeHint" stdset="0">
67 <size> 68 <size>
68 <width>40</width> 69 <width>40</width>
69 <height>20</height> 70 <height>20</height>
70 </size> 71 </size>
71 </property> 72 </property>
72 </spacer> 73 </spacer>
73 </item> 74 </item>
74 </layout> 75 </layout>
75 </widget> 76 </widget>
76 </widget> 77 </widget>
77 <pixmapfunction></pixmapfunction>
78 <resources/> 78 <resources/>
79 <connections> 79 <connections>
80 <connection> 80 <connection>
81 <sender>okButton</sender> 81 <sender>okButton</sender>
82 <signal>clicked()</signal> 82 <signal>clicked()</signal>
83 <receiver>Dialog</receiver> 83 <receiver>Dialog</receiver>
84 <slot>accept()</slot> 84 <slot>accept()</slot>
85 <hints> 85 <hints>
86 <hint type="sourcelabel" > 86 <hint type="sourcelabel">
87 <x>278</x> 87 <x>278</x>
88 <y>253</y> 88 <y>253</y>
89 </hint> 89 </hint>
90 <hint type="destinationlabel" > 90 <hint type="destinationlabel">
91 <x>96</x> 91 <x>96</x>
92 <y>254</y> 92 <y>254</y>
93 </hint> 93 </hint>
94 </hints> 94 </hints>
95 </connection> 95 </connection>
97 <sender>cancelButton</sender> 97 <sender>cancelButton</sender>
98 <signal>clicked()</signal> 98 <signal>clicked()</signal>
99 <receiver>Dialog</receiver> 99 <receiver>Dialog</receiver>
100 <slot>reject()</slot> 100 <slot>reject()</slot>
101 <hints> 101 <hints>
102 <hint type="sourcelabel" > 102 <hint type="sourcelabel">
103 <x>369</x> 103 <x>369</x>
104 <y>253</y> 104 <y>253</y>
105 </hint> 105 </hint>
106 <hint type="destinationlabel" > 106 <hint type="destinationlabel">
107 <x>179</x> 107 <x>179</x>
108 <y>282</y> 108 <y>282</y>
109 </hint> 109 </hint>
110 </hints> 110 </hints>
111 </connection> 111 </connection>

eric ide

mercurial