1 | <!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
---|
2 | <class>MyDialog2</class>
|
---|
3 | <widget class="QDialog">
|
---|
4 | <property name="name">
|
---|
5 | <cstring>MyDialog2</cstring>
|
---|
6 | </property>
|
---|
7 | <property name="geometry">
|
---|
8 | <rect>
|
---|
9 | <x>0</x>
|
---|
10 | <y>0</y>
|
---|
11 | <width>597</width>
|
---|
12 | <height>364</height>
|
---|
13 | </rect>
|
---|
14 | </property>
|
---|
15 | <property name="caption">
|
---|
16 | <string>MyDialog2</string>
|
---|
17 | </property>
|
---|
18 | <property name="sizeGripEnabled">
|
---|
19 | <bool>true</bool>
|
---|
20 | </property>
|
---|
21 | <grid>
|
---|
22 | <property name="name">
|
---|
23 | <cstring>unnamed</cstring>
|
---|
24 | </property>
|
---|
25 | <property name="margin">
|
---|
26 | <number>11</number>
|
---|
27 | </property>
|
---|
28 | <property name="spacing">
|
---|
29 | <number>6</number>
|
---|
30 | </property>
|
---|
31 | <widget class="QListBox" row="0" column="0">
|
---|
32 | <item>
|
---|
33 | <property name="text">
|
---|
34 | <string>New Item</string>
|
---|
35 | </property>
|
---|
36 | </item>
|
---|
37 | <property name="name">
|
---|
38 | <cstring>listBox</cstring>
|
---|
39 | </property>
|
---|
40 | <property name="sizePolicy">
|
---|
41 | <sizepolicy>
|
---|
42 | <hsizetype>0</hsizetype>
|
---|
43 | <vsizetype>7</vsizetype>
|
---|
44 | </sizepolicy>
|
---|
45 | </property>
|
---|
46 | </widget>
|
---|
47 | <widget class="QTabWidget" row="0" column="1">
|
---|
48 | <property name="name">
|
---|
49 | <cstring>tabWidget</cstring>
|
---|
50 | </property>
|
---|
51 | <widget class="QWidget">
|
---|
52 | <property name="name">
|
---|
53 | <cstring>Widget2</cstring>
|
---|
54 | </property>
|
---|
55 | <attribute name="title">
|
---|
56 | <string>Tab</string>
|
---|
57 | </attribute>
|
---|
58 | </widget>
|
---|
59 | <widget class="QWidget">
|
---|
60 | <property name="name">
|
---|
61 | <cstring>Widget3</cstring>
|
---|
62 | </property>
|
---|
63 | <attribute name="title">
|
---|
64 | <string>Tab</string>
|
---|
65 | </attribute>
|
---|
66 | </widget>
|
---|
67 | </widget>
|
---|
68 | <widget class="QLayoutWidget" row="1" column="0" rowspan="1" colspan="2">
|
---|
69 | <property name="name">
|
---|
70 | <cstring>Layout1</cstring>
|
---|
71 | </property>
|
---|
72 | <hbox>
|
---|
73 | <property name="name">
|
---|
74 | <cstring>unnamed</cstring>
|
---|
75 | </property>
|
---|
76 | <property name="margin">
|
---|
77 | <number>0</number>
|
---|
78 | </property>
|
---|
79 | <property name="spacing">
|
---|
80 | <number>6</number>
|
---|
81 | </property>
|
---|
82 | <widget class="QPushButton">
|
---|
83 | <property name="name">
|
---|
84 | <cstring>buttonHelp</cstring>
|
---|
85 | </property>
|
---|
86 | <property name="text">
|
---|
87 | <string>&Help</string>
|
---|
88 | </property>
|
---|
89 | <property name="accel">
|
---|
90 | <number>4144</number>
|
---|
91 | </property>
|
---|
92 | <property name="autoDefault">
|
---|
93 | <bool>true</bool>
|
---|
94 | </property>
|
---|
95 | </widget>
|
---|
96 | <spacer>
|
---|
97 | <property name="name" stdset="0">
|
---|
98 | <cstring>Horizontal Spacing2</cstring>
|
---|
99 | </property>
|
---|
100 | <property name="orientation">
|
---|
101 | <enum>Horizontal</enum>
|
---|
102 | </property>
|
---|
103 | <property name="sizeType">
|
---|
104 | <enum>Expanding</enum>
|
---|
105 | </property>
|
---|
106 | <property name="sizeHint">
|
---|
107 | <size>
|
---|
108 | <width>20</width>
|
---|
109 | <height>20</height>
|
---|
110 | </size>
|
---|
111 | </property>
|
---|
112 | </spacer>
|
---|
113 | <widget class="QPushButton">
|
---|
114 | <property name="name">
|
---|
115 | <cstring>buttonOk</cstring>
|
---|
116 | </property>
|
---|
117 | <property name="text">
|
---|
118 | <string>&OK</string>
|
---|
119 | </property>
|
---|
120 | <property name="accel">
|
---|
121 | <number>0</number>
|
---|
122 | </property>
|
---|
123 | <property name="autoDefault">
|
---|
124 | <bool>true</bool>
|
---|
125 | </property>
|
---|
126 | <property name="default">
|
---|
127 | <bool>true</bool>
|
---|
128 | </property>
|
---|
129 | </widget>
|
---|
130 | <widget class="QPushButton">
|
---|
131 | <property name="name">
|
---|
132 | <cstring>buttonCancel</cstring>
|
---|
133 | </property>
|
---|
134 | <property name="text">
|
---|
135 | <string>&Cancel</string>
|
---|
136 | </property>
|
---|
137 | <property name="accel">
|
---|
138 | <number>0</number>
|
---|
139 | </property>
|
---|
140 | <property name="autoDefault">
|
---|
141 | <bool>true</bool>
|
---|
142 | </property>
|
---|
143 | </widget>
|
---|
144 | </hbox>
|
---|
145 | </widget>
|
---|
146 | </grid>
|
---|
147 | </widget>
|
---|
148 | <connections>
|
---|
149 | <connection>
|
---|
150 | <sender>buttonOk</sender>
|
---|
151 | <signal>clicked()</signal>
|
---|
152 | <receiver>MyDialog2</receiver>
|
---|
153 | <slot>accept()</slot>
|
---|
154 | </connection>
|
---|
155 | <connection>
|
---|
156 | <sender>buttonCancel</sender>
|
---|
157 | <signal>clicked()</signal>
|
---|
158 | <receiver>MyDialog2</receiver>
|
---|
159 | <slot>reject()</slot>
|
---|
160 | </connection>
|
---|
161 | </connections>
|
---|
162 | </UI>
|
---|