QtDesigner.xsd 23 KB

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