|
1 <?xml version="1.0" encoding="utf-8" ?> |
|
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
|
3 |
|
4 <xs:element name="ui" type="UI"/> |
|
5 |
|
6 <xs:complexType name="UI"> |
|
7 <xs:all> |
|
8 <xs:element name="author" type="xs:string" minOccurs="0" /> |
|
9 <xs:element name="comment" type="xs:string" minOccurs="0" /> |
|
10 <xs:element name="exportmacro" type="xs:string" minOccurs="0" /> |
|
11 <xs:element name="class" type="xs:string" /> |
|
12 <xs:element name="widget" type="Widget" /> |
|
13 <xs:element name="layoutdefault" type="LayoutDefault" minOccurs="0" /> |
|
14 <xs:element name="layoutfunction" type="LayoutFunction" minOccurs="0" /> |
|
15 <xs:element name="pixmapfunction" type="xs:string" minOccurs="0" /> |
|
16 <xs:element name="customwidgets" type="CustomWidgets" minOccurs="0" /> |
|
17 <xs:element name="tabstops" type="TabStops" minOccurs="0" /> |
|
18 <xs:element name="images" type="Images" minOccurs="0" /> |
|
19 <xs:element name="includes" type="Includes" minOccurs="0" /> |
|
20 <xs:element name="resources" type="Resources" minOccurs="0" /> |
|
21 <xs:element name="connections" type="Connections" minOccurs="0" /> |
|
22 <xs:element name="designerdata" type="DesignerData" minOccurs="0" /> |
|
23 <xs:element name="slots" type="Slots" minOccurs="0" /> |
|
24 <xs:element name="buttongroups" type="ButtonGroups" minOccurs="0" /> |
|
25 </xs:all> |
|
26 <xs:attribute name="version" type="xs:string" use="required" /> |
|
27 <xs:attribute name="language" type="xs:string" /> |
|
28 <xs:attribute name="displayname" type="xs:string" /> |
|
29 <!-- Legacy attribute generated by uic3 --> |
|
30 <xs:attribute name="stdsetdef" type="xs:integer" /> |
|
31 <!-- Legacy attribute generated by the VS integration --> |
|
32 <xs:attribute name="stdSetDef" type="xs:integer" /> |
|
33 </xs:complexType> |
|
34 |
|
35 <!-- include begin --> |
|
36 <xs:complexType name="Includes"> |
|
37 <xs:sequence> |
|
38 <xs:element name="include" type="Include" maxOccurs="unbounded" /> |
|
39 </xs:sequence> |
|
40 </xs:complexType> |
|
41 |
|
42 <xs:complexType name="Include" mixed="true" > |
|
43 <xs:attribute name="location" type="xs:string" use="required" /> |
|
44 <xs:attribute name="impldecl" type="xs:string" /> |
|
45 </xs:complexType> |
|
46 <!-- include end --> |
|
47 |
|
48 <!-- resource begin --> |
|
49 <xs:complexType name="Resources"> |
|
50 <xs:sequence> |
|
51 <xs:element name="include" type="Resource" minOccurs="0" maxOccurs="unbounded" /> |
|
52 </xs:sequence> |
|
53 <xs:attribute name="name" type="xs:string" /> |
|
54 </xs:complexType> |
|
55 |
|
56 <xs:complexType name="Resource"> |
|
57 <xs:attribute name="location" type="xs:string" use="required" /> |
|
58 </xs:complexType> |
|
59 <!-- resource end --> |
|
60 |
|
61 <!-- actions begin --> |
|
62 <xs:complexType name="ActionGroup"> |
|
63 <xs:sequence maxOccurs="unbounded"> |
|
64 <xs:element name="action" type="Action" minOccurs="0" maxOccurs="unbounded" /> |
|
65 <xs:element name="actiongroup" type="ActionGroup" minOccurs="0" maxOccurs="unbounded" /> |
|
66 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
67 <xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
68 </xs:sequence> |
|
69 <xs:attribute name="name" type="xs:string" use="required" /> |
|
70 </xs:complexType> |
|
71 |
|
72 <xs:complexType name="Action"> |
|
73 <xs:sequence maxOccurs="unbounded" > |
|
74 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
75 <xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
76 </xs:sequence> |
|
77 <xs:attribute name="name" type="xs:string" use="required" /> |
|
78 <xs:attribute name="menu" type="xs:string" /> |
|
79 </xs:complexType> |
|
80 |
|
81 <xs:complexType name="ActionRef"> |
|
82 <xs:attribute name="name" type="xs:string" use="required" /> |
|
83 </xs:complexType> |
|
84 <!-- actions end --> |
|
85 |
|
86 <!-- button groups begin --> |
|
87 <xs:complexType name="ButtonGroup"> |
|
88 <xs:sequence maxOccurs="unbounded"> |
|
89 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
90 <xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
91 </xs:sequence> |
|
92 <xs:attribute name="name" type="xs:string" use="required" /> |
|
93 </xs:complexType> |
|
94 |
|
95 <xs:complexType name="ButtonGroups"> |
|
96 <xs:sequence> |
|
97 <xs:element name="buttongroup" type="ButtonGroup" maxOccurs="unbounded" /> |
|
98 </xs:sequence> |
|
99 </xs:complexType> |
|
100 <!-- button groups end --> |
|
101 |
|
102 <!-- images begin --> |
|
103 <xs:complexType name="Images"> |
|
104 <xs:sequence> |
|
105 <xs:element name="image" type="Image" maxOccurs="unbounded" /> |
|
106 </xs:sequence> |
|
107 </xs:complexType> |
|
108 |
|
109 <xs:complexType name="Image"> |
|
110 <xs:sequence> |
|
111 <xs:element name="data" type="ImageData" /> |
|
112 </xs:sequence> |
|
113 <xs:attribute name="name" type="xs:string" use="required" /> |
|
114 </xs:complexType> |
|
115 |
|
116 <xs:complexType name="ImageData" mixed="true" > |
|
117 <xs:attribute name="format" type="xs:string" use="required" /> |
|
118 <xs:attribute name="length" type="xs:integer" use="required" /> |
|
119 </xs:complexType> |
|
120 <!-- images end --> |
|
121 |
|
122 <!-- custom widget support begin --> |
|
123 <xs:complexType name="CustomWidgets"> |
|
124 <xs:sequence> |
|
125 <xs:element name="customwidget" type="CustomWidget" maxOccurs="unbounded" /> |
|
126 </xs:sequence> |
|
127 </xs:complexType> |
|
128 |
|
129 <xs:complexType name="Header" mixed="true" > |
|
130 <xs:attribute name="location" type="xs:string" /> <!-- local or global --> |
|
131 </xs:complexType> |
|
132 |
|
133 <xs:complexType name="CustomWidget"> |
|
134 <xs:all> |
|
135 <xs:element name="class" type="xs:string" /> |
|
136 <xs:element name="extends" type="xs:string" /> |
|
137 <xs:element name="header" type="Header" /> |
|
138 <xs:element name="sizehint" type="Size" minOccurs="0" /> |
|
139 <xs:element name="addpagemethod" type="xs:string" minOccurs="0" /> |
|
140 <xs:element name="container" type="xs:integer" minOccurs="0" /> |
|
141 <xs:element name="sizepolicy" type="SizePolicyData" minOccurs="0" /> |
|
142 <xs:element name="pixmap" type="xs:string" minOccurs="0" /> |
|
143 <xs:element name="script" type="Script" minOccurs="0" /> |
|
144 <xs:element name="properties" type="Properties" minOccurs="0" /> |
|
145 <xs:element name="slots" type="Slots" minOccurs="0" /> |
|
146 <xs:element name="propertyspecifications" type="PropertySpecifications" minOccurs="0" /> |
|
147 </xs:all> |
|
148 </xs:complexType> |
|
149 |
|
150 <xs:complexType name="Properties"> |
|
151 <xs:sequence> |
|
152 <xs:element name="property" type="PropertyData" maxOccurs="unbounded" /> |
|
153 </xs:sequence> |
|
154 </xs:complexType> |
|
155 |
|
156 <xs:complexType name="PropertyData"> |
|
157 <xs:attribute name="type" type="xs:string" use="required" /> |
|
158 </xs:complexType> |
|
159 |
|
160 <xs:complexType name="SizePolicyData"> |
|
161 <xs:all> |
|
162 <xs:element name="hordata" type="xs:integer" /> |
|
163 <xs:element name="verdata" type="xs:integer" /> |
|
164 </xs:all> |
|
165 </xs:complexType> |
|
166 |
|
167 <!-- custom widget support end --> |
|
168 |
|
169 <xs:complexType name="LayoutDefault"> |
|
170 <xs:attribute name="spacing" type="xs:integer" use="required" /> |
|
171 <xs:attribute name="margin" type="xs:integer" use="required" /> |
|
172 </xs:complexType> |
|
173 |
|
174 <xs:complexType name="LayoutFunction"> |
|
175 <xs:attribute name="spacing" type="xs:string" use="required" /> |
|
176 <xs:attribute name="margin" type="xs:string" use="required" /> |
|
177 </xs:complexType> |
|
178 |
|
179 <xs:complexType name="TabStops"> |
|
180 <xs:sequence> |
|
181 <xs:element name="tabstop" type="xs:string" maxOccurs="unbounded" /> |
|
182 </xs:sequence> |
|
183 </xs:complexType> |
|
184 |
|
185 <xs:complexType name="Layout"> |
|
186 <xs:sequence maxOccurs="unbounded" > |
|
187 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
188 <xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
189 <xs:element name="item" type="LayoutItem" minOccurs="0" maxOccurs="unbounded" /> |
|
190 </xs:sequence> |
|
191 <xs:attribute name="class" type="xs:string" use="required" /> |
|
192 <xs:attribute name="name" type="xs:string" /> |
|
193 <xs:attribute name="stretch" type="xs:string" /> |
|
194 <xs:attribute name="rowstretch" type="xs:string" /> |
|
195 <xs:attribute name="columnstretch" type="xs:string" /> |
|
196 <xs:attribute name="rowminimumheight" type="xs:string" /> |
|
197 <xs:attribute name="columnminimumwidth" type="xs:string" /> |
|
198 </xs:complexType> |
|
199 |
|
200 <xs:complexType name="LayoutItem"> |
|
201 <xs:choice> |
|
202 <xs:element name="widget" type="Widget" /> |
|
203 <xs:element name="layout" type="Layout" /> |
|
204 <xs:element name="spacer" type="Spacer" /> |
|
205 </xs:choice> |
|
206 <xs:attribute name="row" type="xs:integer" /> |
|
207 <xs:attribute name="column" type="xs:integer" /> |
|
208 <xs:attribute name="rowspan" type="xs:integer" /> |
|
209 <xs:attribute name="colspan" type="xs:integer" /> |
|
210 </xs:complexType> |
|
211 |
|
212 <!-- item view begin --> |
|
213 <xs:complexType name="Row"> |
|
214 <xs:sequence> |
|
215 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
216 </xs:sequence> |
|
217 </xs:complexType> |
|
218 |
|
219 <xs:complexType name="Column"> |
|
220 <xs:sequence> |
|
221 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
222 </xs:sequence> |
|
223 </xs:complexType> |
|
224 |
|
225 <xs:complexType name="Item"> |
|
226 <xs:sequence maxOccurs="unbounded"> |
|
227 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
228 <xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded" /> |
|
229 </xs:sequence> |
|
230 <xs:attribute name="row" type="xs:integer" /> |
|
231 <xs:attribute name="column" type="xs:integer" /> |
|
232 </xs:complexType> |
|
233 <!-- item view end --> |
|
234 |
|
235 <xs:complexType name="Widget"> |
|
236 <!-- Order does not matter (cannot use xs:all here |
|
237 because of unbounded row, column, item --> |
|
238 <xs:sequence> |
|
239 <xs:element name="class" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons --> |
|
240 <xs:element name="property" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
241 <xs:element name="script" type="Script" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons --> |
|
242 <xs:element name="widgetdata" type="WidgetData" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons --> |
|
243 <xs:element name="attribute" type="Property" minOccurs="0" maxOccurs="unbounded" /> |
|
244 <!-- item view begin --> |
|
245 <xs:element name="row" type="Row" minOccurs="0" maxOccurs="unbounded" /> |
|
246 <xs:element name="column" type="Column" minOccurs="0" maxOccurs="unbounded" /> |
|
247 <xs:element name="item" type="Item" minOccurs="0" maxOccurs="unbounded" /> |
|
248 <!-- item view end --> |
|
249 <xs:element name="layout" type="Layout" minOccurs="0" maxOccurs="unbounded" /> <!-- unbounded kept for compatibility reasons --> |
|
250 <xs:element name="widget" type="Widget" minOccurs="0" maxOccurs="unbounded" /> |
|
251 <xs:element name="action" type="Action" minOccurs="0" maxOccurs="unbounded" /> |
|
252 <xs:element name="actiongroup" type="ActionGroup" minOccurs="0" maxOccurs="unbounded" /> |
|
253 <xs:element name="addaction" type="ActionRef" minOccurs="0" maxOccurs="unbounded" /> |
|
254 <xs:element name="zorder" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|
255 </xs:sequence> |
|
256 <xs:attribute name="class" type="xs:string" use="required" /> |
|
257 <xs:attribute name="name" type="xs:string" /> |
|
258 <xs:attribute name="native" type="xs:boolean" /> |
|
259 </xs:complexType> |
|
260 |
|
261 <xs:complexType name="Spacer"> |
|
262 <xs:sequence> |
|
263 <xs:element name="property" type="Property" maxOccurs="unbounded" /> |
|
264 </xs:sequence> |
|
265 <xs:attribute name="name" type="xs:string" /> |
|
266 </xs:complexType> |
|
267 |
|
268 <xs:complexType name="Color"> |
|
269 <xs:all> |
|
270 <xs:element name="red" type="xs:integer" /> |
|
271 <xs:element name="green" type="xs:integer" /> |
|
272 <xs:element name="blue" type="xs:integer" /> |
|
273 </xs:all> |
|
274 <xs:attribute name="alpha" type="xs:integer" /> |
|
275 </xs:complexType> |
|
276 |
|
277 <xs:complexType name="GradientStop"> |
|
278 <xs:sequence> |
|
279 <xs:element name="color" type="Color" /> |
|
280 </xs:sequence> |
|
281 <xs:attribute name="position" type="xs:double" use="required" /> |
|
282 </xs:complexType> |
|
283 |
|
284 <xs:complexType name="Gradient"> |
|
285 <xs:sequence> |
|
286 <xs:element name="gradientStop" type="GradientStop" maxOccurs="unbounded" /> |
|
287 </xs:sequence> |
|
288 <xs:attribute name="startx" type="xs:double" use="required" /> |
|
289 <xs:attribute name="starty" type="xs:double" use="required" /> |
|
290 <xs:attribute name="endx" type="xs:double" use="required" /> |
|
291 <xs:attribute name="endy" type="xs:double" use="required" /> |
|
292 <xs:attribute name="centralx" type="xs:double" use="required" /> |
|
293 <xs:attribute name="centraly" type="xs:double" use="required" /> |
|
294 <xs:attribute name="focalx" type="xs:double" use="required" /> |
|
295 <xs:attribute name="focaly" type="xs:double" use="required" /> |
|
296 <xs:attribute name="radius" type="xs:double" use="required" /> |
|
297 <xs:attribute name="angle" type="xs:double" use="required" /> |
|
298 <xs:attribute name="type" type="xs:string" use="required" /> |
|
299 <xs:attribute name="spread" type="xs:string" use="required" /> |
|
300 <xs:attribute name="coordinatemode" type="xs:string" use="required" /> |
|
301 </xs:complexType> |
|
302 |
|
303 <xs:complexType name="Brush"> |
|
304 <xs:choice> |
|
305 <xs:element name="color" type="Color" /> |
|
306 <xs:element name="texture" type="Property" /> |
|
307 <xs:element name="gradient" type="Gradient" /> |
|
308 </xs:choice> |
|
309 <xs:attribute name="brushstyle" type="xs:string" use="required" /> |
|
310 </xs:complexType> |
|
311 |
|
312 <xs:complexType name="ColorRole"> |
|
313 <xs:sequence> |
|
314 <xs:element name="brush" type="Brush" /> |
|
315 </xs:sequence> |
|
316 <xs:attribute name="role" type="xs:string" use="required" /> |
|
317 </xs:complexType> |
|
318 |
|
319 <xs:complexType name="ColorGroup"> |
|
320 <xs:sequence maxOccurs="unbounded"> |
|
321 <xs:element name="colorrole" type="ColorRole" minOccurs="0" maxOccurs="unbounded" /> |
|
322 <xs:element name="color" type="Color" minOccurs="0" maxOccurs="unbounded" /> |
|
323 </xs:sequence> |
|
324 </xs:complexType> |
|
325 |
|
326 <xs:complexType name="Palette"> |
|
327 <xs:all> |
|
328 <xs:element name="active" type="ColorGroup" /> |
|
329 <xs:element name="inactive" type="ColorGroup" /> |
|
330 <xs:element name="disabled" type="ColorGroup" /> |
|
331 </xs:all> |
|
332 </xs:complexType> |
|
333 |
|
334 <xs:complexType name="Font"> |
|
335 <xs:all> |
|
336 <xs:element name="family" type="xs:string" minOccurs="0" /> |
|
337 <xs:element name="pointsize" type="xs:integer" minOccurs="0" /> |
|
338 <xs:element name="weight" type="xs:integer" minOccurs="0" /> |
|
339 <xs:element name="italic" type="xs:boolean" minOccurs="0" /> |
|
340 <xs:element name="bold" type="xs:boolean" minOccurs="0" /> |
|
341 <xs:element name="underline" type="xs:boolean" minOccurs="0" /> |
|
342 <xs:element name="strikeout" type="xs:boolean" minOccurs="0" /> |
|
343 <xs:element name="antialiasing" type="xs:boolean" minOccurs="0" /> |
|
344 <xs:element name="stylestrategy" type="xs:string" minOccurs="0" /> |
|
345 <xs:element name="kerning" type="xs:boolean" minOccurs="0" /> |
|
346 </xs:all> |
|
347 </xs:complexType> |
|
348 |
|
349 <xs:complexType name="Point"> |
|
350 <xs:all> |
|
351 <xs:element name="x" type="xs:integer" /> |
|
352 <xs:element name="y" type="xs:integer" /> |
|
353 </xs:all> |
|
354 </xs:complexType> |
|
355 |
|
356 <xs:complexType name="Rect"> |
|
357 <xs:all> |
|
358 <xs:element name="x" type="xs:integer" /> |
|
359 <xs:element name="y" type="xs:integer" /> |
|
360 <xs:element name="width" type="xs:integer" /> |
|
361 <xs:element name="height" type="xs:integer" /> |
|
362 </xs:all> |
|
363 </xs:complexType> |
|
364 |
|
365 <xs:complexType name="Locale"> |
|
366 <xs:attribute name="language" type="xs:string" use="required" /> |
|
367 <xs:attribute name="country" type="xs:string" use="required" /> |
|
368 </xs:complexType> |
|
369 |
|
370 <xs:complexType name="SizePolicy"> |
|
371 <xs:all> |
|
372 <xs:element name="hsizetype" type="xs:integer" minOccurs="0" /> |
|
373 <xs:element name="vsizetype" type="xs:integer" minOccurs="0" /> |
|
374 <xs:element name="horstretch" type="xs:integer" /> |
|
375 <xs:element name="verstretch" type="xs:integer" /> |
|
376 </xs:all> |
|
377 <xs:attribute name="hsizetype" type="xs:string" /> |
|
378 <xs:attribute name="vsizetype" type="xs:string" /> |
|
379 </xs:complexType> |
|
380 |
|
381 <xs:complexType name="Size"> |
|
382 <xs:all> |
|
383 <xs:element name="width" type="xs:integer" /> |
|
384 <xs:element name="height" type="xs:integer" /> |
|
385 </xs:all> |
|
386 </xs:complexType> |
|
387 |
|
388 <xs:complexType name="Date"> |
|
389 <xs:all> |
|
390 <xs:element name="year" type="xs:integer" /> |
|
391 <xs:element name="month" type="xs:integer" /> |
|
392 <xs:element name="day" type="xs:integer" /> |
|
393 </xs:all> |
|
394 </xs:complexType> |
|
395 |
|
396 <xs:complexType name="Time"> |
|
397 <xs:all> |
|
398 <xs:element name="hour" type="xs:integer" /> |
|
399 <xs:element name="minute" type="xs:integer" /> |
|
400 <xs:element name="second" type="xs:integer" /> |
|
401 </xs:all> |
|
402 </xs:complexType> |
|
403 |
|
404 <xs:complexType name="DateTime"> |
|
405 <xs:all> |
|
406 <xs:element name="hour" type="xs:integer" /> |
|
407 <xs:element name="minute" type="xs:integer" /> |
|
408 <xs:element name="second" type="xs:integer" /> |
|
409 <xs:element name="year" type="xs:integer" /> |
|
410 <xs:element name="month" type="xs:integer" /> |
|
411 <xs:element name="day" type="xs:integer" /> |
|
412 </xs:all> |
|
413 </xs:complexType> |
|
414 |
|
415 <xs:complexType name="StringList"> |
|
416 <xs:sequence> |
|
417 <xs:element name="string" type="xs:string" maxOccurs="unbounded" /> |
|
418 </xs:sequence> |
|
419 </xs:complexType> |
|
420 |
|
421 <xs:complexType name="ResourcePixmap" mixed="true"> |
|
422 <xs:attribute name="resource" type="xs:string" /> |
|
423 <xs:attribute name="alias" type="xs:string" /> |
|
424 </xs:complexType> |
|
425 |
|
426 <xs:complexType name="ResourceIcon" mixed="true"> |
|
427 <xs:all> |
|
428 <xs:element name="normaloff" type="ResourcePixmap" minOccurs="0" /> |
|
429 <xs:element name="normalon" type="ResourcePixmap" minOccurs="0" /> |
|
430 <xs:element name="disabledoff" type="ResourcePixmap" minOccurs="0" /> |
|
431 <xs:element name="disabledon" type="ResourcePixmap" minOccurs="0" /> |
|
432 <xs:element name="activeoff" type="ResourcePixmap" minOccurs="0" /> |
|
433 <xs:element name="activeon" type="ResourcePixmap" minOccurs="0" /> |
|
434 <xs:element name="selectedoff" type="ResourcePixmap" minOccurs="0" /> |
|
435 <xs:element name="selectedon" type="ResourcePixmap" minOccurs="0" /> |
|
436 </xs:all> |
|
437 <xs:attribute name="resource" type="xs:string" /> <!-- pre 4.4 legacy support --> |
|
438 </xs:complexType> |
|
439 |
|
440 <xs:complexType name="String" mixed="true"> |
|
441 <xs:attribute name="notr" type="xs:string" /> |
|
442 <xs:attribute name="comment" type="xs:string" /> |
|
443 <xs:attribute name="extracomment" type="xs:string" /> |
|
444 </xs:complexType> |
|
445 |
|
446 <xs:complexType name="PointF"> |
|
447 <xs:all> |
|
448 <xs:element name="x" type="xs:double" /> |
|
449 <xs:element name="y" type="xs:double" /> |
|
450 </xs:all> |
|
451 </xs:complexType> |
|
452 |
|
453 <xs:complexType name="RectF"> |
|
454 <xs:all> |
|
455 <xs:element name="x" type="xs:double" /> |
|
456 <xs:element name="y" type="xs:double" /> |
|
457 <xs:element name="width" type="xs:double" /> |
|
458 <xs:element name="height" type="xs:double" /> |
|
459 </xs:all> |
|
460 </xs:complexType> |
|
461 |
|
462 <xs:complexType name="SizeF"> |
|
463 <xs:all> |
|
464 <xs:element name="width" type="xs:double" /> |
|
465 <xs:element name="height" type="xs:double" /> |
|
466 </xs:all> |
|
467 </xs:complexType> |
|
468 |
|
469 <xs:complexType name="Char"> |
|
470 <xs:sequence> |
|
471 <xs:element name="unicode" type="xs:integer" /> |
|
472 </xs:sequence> |
|
473 </xs:complexType> |
|
474 |
|
475 <xs:complexType name="Url"> |
|
476 <xs:sequence> |
|
477 <xs:element name="string" type="String" /> |
|
478 </xs:sequence> |
|
479 </xs:complexType> |
|
480 |
|
481 <xs:complexType name="Property"> |
|
482 <xs:choice> |
|
483 <xs:element name="bool" type="xs:string" /> |
|
484 <xs:element name="color" type="Color" /> |
|
485 <xs:element name="cstring" type="xs:string" /> |
|
486 <xs:element name="cursor" type="xs:integer" /> |
|
487 <xs:element name="cursorshape" type="xs:string" /> |
|
488 <xs:element name="enum" type="xs:string" /> |
|
489 <xs:element name="font" type ="Font" /> |
|
490 <xs:element name="iconset" type="ResourceIcon"/> |
|
491 <xs:element name="pixmap" type="ResourcePixmap" /> |
|
492 <xs:element name="palette" type="Palette" /> |
|
493 <xs:element name="point" type="Point" /> |
|
494 <xs:element name="rect" type="Rect" /> |
|
495 <xs:element name="set" type="xs:string" /> |
|
496 <xs:element name="locale" type="Locale" /> |
|
497 <xs:element name="sizepolicy" type="SizePolicy" /> |
|
498 <xs:element name="size" type="Size" /> |
|
499 <xs:element name="string" type="String" /> |
|
500 <xs:element name="stringlist" type="StringList" /> |
|
501 <xs:element name="number" type="xs:integer" /> |
|
502 <xs:element name="float" type="xs:float" /> |
|
503 <xs:element name="double" type="xs:double" /> |
|
504 <xs:element name="date" type="Date" /> |
|
505 <xs:element name="time" type="Time" /> |
|
506 <xs:element name="datetime" type="DateTime" /> |
|
507 <xs:element name="pointf" type="PointF" /> |
|
508 <xs:element name="rectf" type="RectF" /> |
|
509 <xs:element name="sizef" type="SizeF" /> |
|
510 <xs:element name="longlong" type="xs:long" /> |
|
511 <xs:element name="char" type="Char" /> |
|
512 <xs:element name="url" type="Url" /> |
|
513 <xs:element name="uint" type="xs:unsignedInt" /> |
|
514 <xs:element name="ulonglong" type="xs:unsignedLong" /> |
|
515 <xs:element name="brush" type="Brush" /> |
|
516 </xs:choice> |
|
517 <xs:attribute name="name" type="xs:string" use="required" /> |
|
518 <xs:attribute name="stdset" type="xs:integer" /> |
|
519 </xs:complexType> |
|
520 |
|
521 <xs:complexType name="Connections"> |
|
522 <xs:sequence> |
|
523 <xs:element name="connection" type="Connection" minOccurs="0" maxOccurs="unbounded" /> |
|
524 </xs:sequence> |
|
525 </xs:complexType> |
|
526 |
|
527 <xs:complexType name="Connection"> |
|
528 <xs:all> |
|
529 <xs:element name="sender" type="xs:string" /> |
|
530 <xs:element name="signal" type="xs:string" /> |
|
531 <xs:element name="receiver" type="xs:string" /> |
|
532 <xs:element name="slot" type="xs:string" /> |
|
533 <xs:element name="hints" type="ConnectionHints" minOccurs="0" /> |
|
534 </xs:all> |
|
535 </xs:complexType> |
|
536 |
|
537 <xs:complexType name="ConnectionHints"> |
|
538 <xs:sequence> |
|
539 <xs:element name="hint" type="ConnectionHint" maxOccurs="unbounded" /> |
|
540 </xs:sequence> |
|
541 </xs:complexType> |
|
542 |
|
543 <xs:complexType name="ConnectionHint"> |
|
544 <xs:all> |
|
545 <xs:element name="x" type="xs:integer"/> |
|
546 <xs:element name="y" type="xs:integer"/> |
|
547 </xs:all> |
|
548 <xs:attribute name="type" type="xs:string" use="required" /> |
|
549 </xs:complexType> |
|
550 |
|
551 <xs:complexType name="Script"> |
|
552 <xs:attribute name="source" type="xs:string" use="required" /> |
|
553 <xs:attribute name="language" type="xs:string" use="required" /> |
|
554 </xs:complexType> |
|
555 |
|
556 <xs:complexType name="WidgetData"> |
|
557 <xs:sequence> |
|
558 <xs:element name="property" type="Property" maxOccurs="unbounded" /> |
|
559 </xs:sequence> |
|
560 </xs:complexType> |
|
561 |
|
562 <xs:complexType name="DesignerData"> |
|
563 <xs:sequence> |
|
564 <xs:element name="property" type="Property" maxOccurs="unbounded" /> |
|
565 </xs:sequence> |
|
566 </xs:complexType> |
|
567 |
|
568 <xs:complexType name="Slots"> |
|
569 <xs:sequence maxOccurs="unbounded"> |
|
570 <xs:element name="signal" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|
571 <xs:element name="slot" type="xs:string" minOccurs="0" maxOccurs="unbounded" /> |
|
572 </xs:sequence> |
|
573 </xs:complexType> |
|
574 |
|
575 <xs:complexType name="PropertySpecifications"> |
|
576 <xs:sequence maxOccurs="unbounded"> |
|
577 <xs:element name="stringpropertyspecification" type="StringPropertySpecification" minOccurs="0" maxOccurs="unbounded" /> |
|
578 </xs:sequence> |
|
579 </xs:complexType> |
|
580 |
|
581 <xs:complexType name="StringPropertySpecification"> |
|
582 <xs:attribute name="name" type="xs:string" use="required" /> |
|
583 <xs:attribute name="type" type="xs:string" use="required" /> |
|
584 <xs:attribute name="notr" type="xs:string"/> |
|
585 </xs:complexType> |
|
586 |
|
587 </xs:schema> |