eric6/DesignerTemplates/dialogbuttonsbottom4.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="QWidget" name="layoutWidget">
20 <property name="geometry">
21 <rect>
22 <x>20</x>
23 <y>250</y>
24 <width>351</width>
25 <height>33</height>
26 </rect>
27 </property>
28 <layout class="QHBoxLayout">
29 <property name="spacing">
30 <number>6</number>
31 </property>
32 <property name="margin">
33 <number>0</number>
34 </property>
35 <item>
36 <spacer>
37 <property name="orientation">
38 <enum>Qt::Horizontal</enum>
39 </property>
40 <property name="sizeHint" stdset="0">
41 <size>
42 <width>131</width>
43 <height>31</height>
44 </size>
45 </property>
46 </spacer>
47 </item>
48 <item>
49 <widget class="QPushButton" name="okButton">
50 <property name="text">
51 <string>&amp;OK</string>
52 </property>
53 </widget>
54 </item>
55 <item>
56 <widget class="QPushButton" name="cancelButton">
57 <property name="text">
58 <string>&amp;Cancel</string>
59 </property>
60 </widget>
61 </item>
62 </layout>
63 </widget>
64 </widget>
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>278</x>
75 <y>253</y>
76 </hint>
77 <hint type="destinationlabel">
78 <x>96</x>
79 <y>254</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>369</x>
91 <y>253</y>
92 </hint>
93 <hint type="destinationlabel">
94 <x>179</x>
95 <y>282</y>
96 </hint>
97 </hints>
98 </connection>
99 </connections>
100 </ui>

eric ide

mercurial