Qt Designer's UI File Format▲
The UI file format used by Qt Designer is described by the XML schema presented below, which we include for your convenience. Be aware that the format may change in future Qt releases.
Sélectionnez
&
lt;?xml version=
"1.0"
encoding=
"utf-8"
?&
gt;
&
lt;xs:schema xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
&
gt;
&
lt;xs:element name=
"ui"
type=
"UI"
/&
gt;
&
lt;xs:complexType name=
"UI"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"author"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"comment"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"exportmacro"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"class"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"widget"
type=
"Widget"
/&
gt;
&
lt;xs:element name=
"layoutdefault"
type=
"LayoutDefault"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"layoutfunction"
type=
"LayoutFunction"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"pixmapfunction"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"customwidgets"
type=
"CustomWidgets"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"tabstops"
type=
"TabStops"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"images"
use=
"deprecated"
/&
gt;
&
lt;xs:element name=
"includes"
type=
"Includes"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"resources"
type=
"Resources"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"connections"
type=
"Connections"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"designerdata"
type=
"DesignerData"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"slots"
type=
"Slots"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"buttongroups"
type=
"ButtonGroups"
minOccurs=
"0"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;xs:attribute name=
"version"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"language"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"displayname"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"idbasedtr"
type=
"xs:boolean"
/&
gt;
&
lt;xs:attribute name=
"connectslotsbyname"
type=
"xs:boolean"
/&
gt;
&
lt;!--
Legacy attribute generated by uic3 --&
gt;
&
lt;xs:attribute name=
"stdsetdef"
type=
"xs:integer"
/&
gt;
&
lt;!--
Legacy attribute generated by the VS integration --&
gt;
&
lt;xs:attribute name=
"stdSetDef"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
include begin --&
gt;
&
lt;xs:complexType name=
"Includes"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"include"
type=
"Include"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Include"
mixed=
"true"
&
gt;
&
lt;xs:attribute name=
"location"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"impldecl"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
include end --&
gt;
&
lt;!--
resource begin --&
gt;
&
lt;xs:complexType name=
"Resources"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"include"
type=
"Resource"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Resource"
&
gt;
&
lt;xs:attribute name=
"location"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
resource end --&
gt;
&
lt;!--
actions begin --&
gt;
&
lt;xs:complexType name=
"ActionGroup"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"action"
type=
"Action"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"actiongroup"
type=
"ActionGroup"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"attribute"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Action"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"attribute"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"menu"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ActionRef"
&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
actions end --&
gt;
&
lt;!--
button groups begin --&
gt;
&
lt;xs:complexType name=
"ButtonGroup"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"attribute"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ButtonGroups"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"buttongroup"
type=
"ButtonGroup"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
button groups end --&
gt;
&
lt;!--
custom widget support begin --&
gt;
&
lt;xs:complexType name=
"CustomWidgets"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"customwidget"
type=
"CustomWidget"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Header"
mixed=
"true"
&
gt;
&
lt;xs:attribute name=
"location"
type=
"xs:string"
/&
gt; &
lt;!--
local or
global --&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"CustomWidget"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"class"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"extends"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"header"
type=
"Header"
/&
gt;
&
lt;xs:element name=
"sizehint"
type=
"Size"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"addpagemethod"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"container"
type=
"xs:integer"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"sizepolicy"
use=
"deprecated"
/&
gt;
&
lt;xs:element name=
"pixmap"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"script"
use=
"deprecated"
/&
gt;
&
lt;xs:element name=
"properties"
use=
"deprecated"
/&
gt;
&
lt;xs:element name=
"slots"
type=
"Slots"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"propertyspecifications"
type=
"PropertySpecifications"
minOccurs=
"0"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
custom widget support end --&
gt;
&
lt;xs:complexType name=
"LayoutDefault"
&
gt;
&
lt;xs:attribute name=
"spacing"
type=
"xs:integer"
/&
gt;
&
lt;xs:attribute name=
"margin"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"LayoutFunction"
&
gt;
&
lt;xs:attribute name=
"spacing"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"margin"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"TabStops"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"tabstop"
type=
"xs:string"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Layout"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"attribute"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"item"
type=
"LayoutItem"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"class"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"stretch"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"rowstretch"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"columnstretch"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"rowminimumheight"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"columnminimumwidth"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"LayoutItem"
&
gt;
&
lt;xs:choice&
gt;
&
lt;xs:element name=
"widget"
type=
"Widget"
/&
gt;
&
lt;xs:element name=
"layout"
type=
"Layout"
/&
gt;
&
lt;xs:element name=
"spacer"
type=
"Spacer"
/&
gt;
&
lt;/
xs:choice&
gt;
&
lt;xs:attribute name=
"row"
type=
"xs:integer"
/&
gt;
&
lt;xs:attribute name=
"column"
type=
"xs:integer"
/&
gt;
&
lt;xs:attribute name=
"rowspan"
type=
"xs:integer"
/&
gt;
&
lt;xs:attribute name=
"colspan"
type=
"xs:integer"
/&
gt;
&
lt;xs:attribute name=
"alignment"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
item view begin --&
gt;
&
lt;xs:complexType name=
"Row"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Column"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Item"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"item"
type=
"Item"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"row"
type=
"xs:integer"
/&
gt;
&
lt;xs:attribute name=
"column"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;!--
item view end --&
gt;
&
lt;xs:complexType name=
"Widget"
&
gt;
&
lt;!--
Order does not
matter (cannot use xs:all here
because of unbounded row, column, item --&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"class"
type=
"xs:string"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt; &
lt;!--
unbounded kept for
compatibility reasons --&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"script"
use=
"deprecated"
/&
gt;
&
lt;xs:element name=
"widgetdata"
use=
"deprecated"
/&
gt;
&
lt;xs:element name=
"attribute"
type=
"Property"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;!--
item view begin --&
gt;
&
lt;xs:element name=
"row"
type=
"Row"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"column"
type=
"Column"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"item"
type=
"Item"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;!--
item view end --&
gt;
&
lt;xs:element name=
"layout"
type=
"Layout"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt; &
lt;!--
unbounded kept for
compatibility reasons --&
gt;
&
lt;xs:element name=
"widget"
type=
"Widget"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"action"
type=
"Action"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"actiongroup"
type=
"ActionGroup"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"addaction"
type=
"ActionRef"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"zorder"
type=
"xs:string"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"class"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"native"
type=
"xs:boolean"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Spacer"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Color"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"red"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"green"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"blue"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;xs:attribute name=
"alpha"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"GradientStop"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"color"
type=
"Color"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"position"
type=
"xs:double"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Gradient"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"gradientStop"
type=
"GradientStop"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"startx"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"starty"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"endx"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"endy"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"centralx"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"centraly"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"focalx"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"focaly"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"radius"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"angle"
type=
"xs:double"
/&
gt;
&
lt;xs:attribute name=
"type"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"spread"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"coordinatemode"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Brush"
&
gt;
&
lt;xs:choice&
gt;
&
lt;xs:element name=
"color"
type=
"Color"
/&
gt;
&
lt;xs:element name=
"texture"
type=
"Property"
/&
gt;
&
lt;xs:element name=
"gradient"
type=
"Gradient"
/&
gt;
&
lt;/
xs:choice&
gt;
&
lt;xs:attribute name=
"brushstyle"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ColorRole"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"brush"
type=
"Brush"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;xs:attribute name=
"role"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ColorGroup"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"colorrole"
type=
"ColorRole"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"color"
type=
"Color"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Palette"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"active"
type=
"ColorGroup"
/&
gt;
&
lt;xs:element name=
"inactive"
type=
"ColorGroup"
/&
gt;
&
lt;xs:element name=
"disabled"
type=
"ColorGroup"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Font"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"family"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"pointsize"
type=
"xs:integer"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"weight"
type=
"xs:integer"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"italic"
type=
"xs:boolean"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"bold"
type=
"xs:boolean"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"underline"
type=
"xs:boolean"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"strikeout"
type=
"xs:boolean"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"antialiasing"
type=
"xs:boolean"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"stylestrategy"
type=
"xs:string"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"kerning"
type=
"xs:boolean"
minOccurs=
"0"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Point"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"x"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"y"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Rect"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"x"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"y"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"width"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"height"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Locale"
&
gt;
&
lt;xs:attribute name=
"language"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"country"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"SizePolicy"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"hsizetype"
type=
"xs:integer"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"vsizetype"
type=
"xs:integer"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"horstretch"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"verstretch"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;xs:attribute name=
"hsizetype"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"vsizetype"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Size"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"width"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"height"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Date"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"year"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"month"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"day"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Time"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"hour"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"minute"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"second"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"DateTime"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"hour"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"minute"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"second"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"year"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"month"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"day"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"StringList"
&
gt;
&
lt;xs:attribute name=
"notr"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"comment"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"extracomment"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"id"
type=
"xs:string"
/&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"string"
type=
"xs:string"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ResourcePixmap"
mixed=
"true"
&
gt;
&
lt;xs:attribute name=
"resource"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"alias"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ResourceIcon"
mixed=
"true"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"normaloff"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"normalon"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"disabledoff"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"disabledon"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"activeoff"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"activeon"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"selectedoff"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;xs:element name=
"selectedon"
type=
"ResourcePixmap"
minOccurs=
"0"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;xs:attribute name=
"theme"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"resource"
type=
"xs:string"
/&
gt; &
lt;!--
pre 4.4
legacy support --&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"String"
mixed=
"true"
&
gt;
&
lt;xs:attribute name=
"notr"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"comment"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"extracomment"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"id"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"PointF"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"x"
type=
"xs:double"
/&
gt;
&
lt;xs:element name=
"y"
type=
"xs:double"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"RectF"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"x"
type=
"xs:double"
/&
gt;
&
lt;xs:element name=
"y"
type=
"xs:double"
/&
gt;
&
lt;xs:element name=
"width"
type=
"xs:double"
/&
gt;
&
lt;xs:element name=
"height"
type=
"xs:double"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"SizeF"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"width"
type=
"xs:double"
/&
gt;
&
lt;xs:element name=
"height"
type=
"xs:double"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Char"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"unicode"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Url"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"string"
type=
"String"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Property"
&
gt;
&
lt;xs:choice&
gt;
&
lt;xs:element name=
"bool"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"color"
type=
"Color"
/&
gt;
&
lt;xs:element name=
"cstring"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"cursor"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"cursorshape"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"enum"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"font"
type =
"Font"
/&
gt;
&
lt;xs:element name=
"iconset"
type=
"ResourceIcon"
/&
gt;
&
lt;xs:element name=
"pixmap"
type=
"ResourcePixmap"
/&
gt;
&
lt;xs:element name=
"palette"
type=
"Palette"
/&
gt;
&
lt;xs:element name=
"point"
type=
"Point"
/&
gt;
&
lt;xs:element name=
"rect"
type=
"Rect"
/&
gt;
&
lt;xs:element name=
"set"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"locale"
type=
"Locale"
/&
gt;
&
lt;xs:element name=
"sizepolicy"
type=
"SizePolicy"
/&
gt;
&
lt;xs:element name=
"size"
type=
"Size"
/&
gt;
&
lt;xs:element name=
"string"
type=
"String"
/&
gt;
&
lt;xs:element name=
"stringlist"
type=
"StringList"
/&
gt;
&
lt;xs:element name=
"number"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"float"
type=
"xs:float"
/&
gt;
&
lt;xs:element name=
"double"
type=
"xs:double"
/&
gt;
&
lt;xs:element name=
"date"
type=
"Date"
/&
gt;
&
lt;xs:element name=
"time"
type=
"Time"
/&
gt;
&
lt;xs:element name=
"datetime"
type=
"DateTime"
/&
gt;
&
lt;xs:element name=
"pointf"
type=
"PointF"
/&
gt;
&
lt;xs:element name=
"rectf"
type=
"RectF"
/&
gt;
&
lt;xs:element name=
"sizef"
type=
"SizeF"
/&
gt;
&
lt;xs:element name=
"longlong"
type=
"xs:long"
/&
gt;
&
lt;xs:element name=
"char"
type=
"Char"
/&
gt;
&
lt;xs:element name=
"url"
type=
"Url"
/&
gt;
&
lt;xs:element name=
"uint"
type=
"xs:unsignedInt"
/&
gt;
&
lt;xs:element name=
"ulonglong"
type=
"xs:unsignedLong"
/&
gt;
&
lt;xs:element name=
"brush"
type=
"Brush"
/&
gt;
&
lt;/
xs:choice&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"stdset"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Connections"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"connection"
type=
"Connection"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Connection"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"sender"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"signal"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"receiver"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"slot"
type=
"xs:string"
/&
gt;
&
lt;xs:element name=
"hints"
type=
"ConnectionHints"
minOccurs=
"0"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ConnectionHints"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"hint"
type=
"ConnectionHint"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"ConnectionHint"
&
gt;
&
lt;xs:all&
gt;
&
lt;xs:element name=
"x"
type=
"xs:integer"
/&
gt;
&
lt;xs:element name=
"y"
type=
"xs:integer"
/&
gt;
&
lt;/
xs:all&
gt;
&
lt;xs:attribute name=
"type"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"DesignerData"
&
gt;
&
lt;xs:sequence&
gt;
&
lt;xs:element name=
"property"
type=
"Property"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"Slots"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"signal"
type=
"xs:string"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"slot"
type=
"xs:string"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"PropertySpecifications"
&
gt;
&
lt;xs:sequence maxOccurs=
"unbounded"
&
gt;
&
lt;xs:element name=
"tooltip"
type=
"PropertyToolTip"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;xs:element name=
"stringpropertyspecification"
type=
"StringPropertySpecification"
minOccurs=
"0"
maxOccurs=
"unbounded"
/&
gt;
&
lt;/
xs:sequence&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"PropertyToolTip"
&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;xs:complexType name=
"StringPropertySpecification"
&
gt;
&
lt;xs:attribute name=
"name"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"type"
type=
"xs:string"
/&
gt;
&
lt;xs:attribute name=
"notr"
type=
"xs:string"
/&
gt;
&
lt;/
xs:complexType&
gt;
&
lt;/
xs:schema&
gt;