4 <exportmacro></exportmacro>
5 <class>DemoDialog</class>
6 <widget class="QDialog" name="DemoDialog" >
7 <property name="geometry" >
15 <property name="windowTitle" >
16 <string>PyUIC4 Demo Dialog</string>
18 <layout class="QGridLayout" >
19 <property name="margin" >
22 <property name="spacing" >
25 <item row="2" column="0" >
27 <property name="orientation" >
28 <enum>Qt::Vertical</enum>
30 <property name="sizeHint" >
38 <item row="0" column="0" >
40 <property name="orientation" >
41 <enum>Qt::Vertical</enum>
43 <property name="sizeHint" >
51 <item rowspan="3" row="0" column="1" >
52 <widget class="QListWidget" name="list" />
54 <item row="1" column="0" >
55 <layout class="QVBoxLayout" >
56 <property name="margin" >
59 <property name="spacing" >
63 <widget class="QPushButton" name="button1" >
64 <property name="text" >
65 <string>Add items</string>
70 <widget class="QPushButton" name="button2" >
71 <property name="text" >
72 <string>Clear list</string>
78 <item row="3" column="0" colspan="2" >
79 <layout class="QHBoxLayout" >
80 <property name="margin" >
83 <property name="spacing" >
88 <property name="orientation" >
89 <enum>Qt::Horizontal</enum>
91 <property name="sizeHint" >
100 <widget class="QPushButton" name="okButton" >
101 <property name="text" >
110 <pixmapfunction></pixmapfunction>
114 <sender>okButton</sender>
115 <signal>clicked()</signal>
116 <receiver>DemoDialog</receiver>
117 <slot>accept()</slot>
119 <hint type="sourcelabel" >
123 <hint type="destinationlabel" >
130 <sender>button2</sender>
131 <signal>clicked()</signal>
132 <receiver>list</receiver>
135 <hint type="sourcelabel" >
139 <hint type="destinationlabel" >