XML-Schema-Qt5.15.xsd 23 KB

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