qtquickcontrols2.metainfo 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. MetaInfo {
  2. Type {
  3. name: "QtQuick.Controls.BusyIndicator"
  4. icon: "images/busyindicator-icon16.png"
  5. ItemLibraryEntry {
  6. name: "Busy Indicator"
  7. category: "Qt Quick - Controls 2"
  8. libraryIcon: "images/busyindicator-icon.png"
  9. version: "2.0"
  10. requiredImport: "QtQuick.Controls"
  11. toolTip: qsTr("Indicates activity while, for example, content is being loaded.")
  12. }
  13. }
  14. Type {
  15. name: "QtQuick.Controls.Button"
  16. icon: "images/button-icon16.png"
  17. ItemLibraryEntry {
  18. name: "Button"
  19. category: "Qt Quick - Controls 2"
  20. libraryIcon: "images/button-icon.png"
  21. version: "2.0"
  22. requiredImport: "QtQuick.Controls"
  23. toolTip: qsTr("A button with text.")
  24. Property { name: "text"; type: "binding"; value: "qsTr(\"Button\")" }
  25. }
  26. }
  27. Type {
  28. name: "QtQuick.Controls.CheckBox"
  29. icon: "images/checkbox-icon16.png"
  30. ItemLibraryEntry {
  31. name: "Check Box"
  32. category: "Qt Quick - Controls 2"
  33. libraryIcon: "images/checkbox-icon.png"
  34. version: "2.0"
  35. requiredImport: "QtQuick.Controls"
  36. toolTip: qsTr("A checkbox with a text label.")
  37. Property { name: "text"; type: "binding"; value: "qsTr(\"Check Box\")" }
  38. }
  39. }
  40. Type {
  41. name: "QtQuick.Controls.CheckDelegate"
  42. icon: "images/checkbox-icon16.png"
  43. ItemLibraryEntry {
  44. name: "Check Delegate"
  45. category: "Qt Quick - Controls 2"
  46. libraryIcon: "images/checkbox-icon.png"
  47. version: "2.0"
  48. requiredImport: "QtQuick.Controls"
  49. toolTip: qsTr("Presents items from a model as checkboxes.")
  50. Property { name: "text"; type: "binding"; value: "qsTr(\"Check Delegate\")" }
  51. }
  52. }
  53. Type {
  54. name: "QtQuick.Controls.ComboBox"
  55. icon: "images/combobox-icon16.png"
  56. ItemLibraryEntry {
  57. name: "Combo Box"
  58. category: "Qt Quick - Controls 2"
  59. libraryIcon: "images/combobox-icon.png"
  60. version: "2.0"
  61. requiredImport: "QtQuick.Controls"
  62. toolTip: qsTr("An editable drop-down list.")
  63. }
  64. }
  65. Type {
  66. name: "QtQuick.Controls.Control"
  67. icon: "images/control-icon16.png"
  68. ItemLibraryEntry {
  69. name: "Control"
  70. category: "Qt Quick - Controls 2"
  71. libraryIcon: "images/control-icon.png"
  72. version: "2.0"
  73. requiredImport: "QtQuick.Controls"
  74. toolTip: qsTr("An abstract base type for UI controls.")
  75. }
  76. }
  77. Type {
  78. name: "QtQuick.Controls.DelayButton"
  79. icon: "images/button-icon16.png"
  80. ItemLibraryEntry {
  81. name: "Delay Button"
  82. category: "Qt Quick - Controls 2"
  83. libraryIcon: "images/delaybutton-icon.png"
  84. version: "2.2"
  85. requiredImport: "QtQuick.Controls"
  86. toolTip: qsTr("A button with a delay preventing accidental presses.")
  87. Property { name: "text"; type: "binding"; value: "qsTr(\"Delay Button\")" }
  88. }
  89. }
  90. Type {
  91. name: "QtQuick.Controls.Dial"
  92. icon: "images/dial-icon16.png"
  93. ItemLibraryEntry {
  94. name: "Dial"
  95. category: "Qt Quick - Controls 2"
  96. libraryIcon: "images/dial-icon.png"
  97. version: "2.0"
  98. requiredImport: "QtQuick.Controls"
  99. toolTip: qsTr("A circular dial that is rotated to set a value.")
  100. }
  101. }
  102. Type {
  103. name: "QtQuick.Controls.Frame"
  104. icon: "images/frame-icon16.png"
  105. ItemLibraryEntry {
  106. name: "Frame"
  107. category: "Qt Quick - Controls 2"
  108. libraryIcon: "images/frame-icon.png"
  109. version: "2.0"
  110. requiredImport: "QtQuick.Controls"
  111. toolTip: qsTr("An untitled container for a group of controls.")
  112. Property { name: "width"; type: "int"; value: 200 }
  113. Property { name: "height"; type: "int"; value: 200 }
  114. }
  115. }
  116. Type {
  117. name: "QtQuick.Controls.GroupBox"
  118. icon: "images/groupbox-icon16.png"
  119. ItemLibraryEntry {
  120. name: "Group Box"
  121. category: "Qt Quick - Controls 2"
  122. libraryIcon: "images/groupbox-icon.png"
  123. version: "2.0"
  124. requiredImport: "QtQuick.Controls"
  125. toolTip: qsTr("A titled container for a group of controls.")
  126. Property { name: "width"; type: "int"; value: 200 }
  127. Property { name: "height"; type: "int"; value: 200 }
  128. Property { name: "title"; type: "binding"; value: "qsTr(\"Group Box\")" }
  129. }
  130. }
  131. Type {
  132. name: "QtQuick.Controls.ItemDelegate"
  133. icon: "images/itemdelegate-icon16.png"
  134. ItemLibraryEntry {
  135. name: "Item Delegate"
  136. category: "Qt Quick - Controls 2"
  137. libraryIcon: "images/itemdelegate-icon.png"
  138. version: "2.0"
  139. requiredImport: "QtQuick.Controls"
  140. toolTip: qsTr("Presents a standard view item. It can be used as a delegate in various views and controls, such as ListView and ComboBox.")
  141. Property { name: "text"; type: "binding"; value: "qsTr(\"Item Delegate\")" }
  142. }
  143. }
  144. Type {
  145. name: "QtQuick.Controls.Label"
  146. icon: "images/label-icon16.png"
  147. ItemLibraryEntry {
  148. name: "Label"
  149. category: "Qt Quick - Controls 2"
  150. libraryIcon: "images/label-icon.png"
  151. version: "2.0"
  152. requiredImport: "QtQuick.Controls"
  153. toolTip: qsTr("A text label.")
  154. Property { name: "text"; type: "binding"; value: "qsTr(\"Label\")" }
  155. }
  156. }
  157. Type {
  158. name: "QtQuick.Controls.Page"
  159. icon: "images/page-icon16.png"
  160. ItemLibraryEntry {
  161. name: "Page"
  162. category: "Qt Quick - Controls 2"
  163. libraryIcon: "images/page-icon.png"
  164. version: "2.0"
  165. requiredImport: "QtQuick.Controls"
  166. toolTip: qsTr("A page with header and footer.")
  167. Property { name: "width"; type: "int"; value: 200 }
  168. Property { name: "height"; type: "int"; value: 200 }
  169. }
  170. }
  171. Type {
  172. name: "QtQuick.Controls.PageIndicator"
  173. icon: "images/pageindicator-icon16.png"
  174. ItemLibraryEntry {
  175. name: "Page Indicator"
  176. category: "Qt Quick - Controls 2"
  177. libraryIcon: "images/pageindicator-icon.png"
  178. version: "2.0"
  179. requiredImport: "QtQuick.Controls"
  180. toolTip: qsTr("Indicates the currently active page.")
  181. Property { name: "count"; type: "int"; value: 3 }
  182. }
  183. }
  184. Type {
  185. name: "QtQuick.Controls.Pane"
  186. icon: "images/pane-icon16.png"
  187. ItemLibraryEntry {
  188. name: "Pane"
  189. category: "Qt Quick - Controls 2"
  190. libraryIcon: "images/pane-icon.png"
  191. version: "2.0"
  192. requiredImport: "QtQuick.Controls"
  193. toolTip: qsTr("Provides a background matching the application style and theme.")
  194. Property { name: "width"; type: "int"; value: 200 }
  195. Property { name: "height"; type: "int"; value: 200 }
  196. }
  197. }
  198. Type {
  199. name: "QtQuick.Controls.ProgressBar"
  200. icon: "images/progressbar-icon16.png"
  201. ItemLibraryEntry {
  202. name: "Progress Bar"
  203. category: "Qt Quick - Controls 2"
  204. libraryIcon: "images/progressbar-icon.png"
  205. version: "2.0"
  206. requiredImport: "QtQuick.Controls"
  207. toolTip: qsTr("A bar indicating the progress of an operation.")
  208. Property { name: "value"; type: "real"; value: 0.5 }
  209. }
  210. }
  211. Type {
  212. name: "QtQuick.Controls.RadioButton"
  213. icon: "images/radiobutton-icon16.png"
  214. ItemLibraryEntry {
  215. name: "Radio Button"
  216. category: "Qt Quick - Controls 2"
  217. libraryIcon: "images/radiobutton-icon.png"
  218. version: "2.0"
  219. requiredImport: "QtQuick.Controls"
  220. toolTip: qsTr("An option button that you can toggle on or off.")
  221. Property { name: "text"; type: "binding"; value: "qsTr(\"Radio Button\")" }
  222. }
  223. }
  224. Type {
  225. name: "QtQuick.Controls.RadioDelegate"
  226. icon: "images/radiobutton-icon16.png"
  227. ItemLibraryEntry {
  228. name: "Radio Delegate"
  229. category: "Qt Quick - Controls 2"
  230. libraryIcon: "images/radiobutton-icon.png"
  231. version: "2.0"
  232. requiredImport: "QtQuick.Controls"
  233. toolTip: qsTr("Presents items from a model as radio buttons.")
  234. Property { name: "text"; type: "binding"; value: "qsTr(\"Radio Delegate\")" }
  235. }
  236. }
  237. Type {
  238. name: "QtQuick.Controls.RangeSlider"
  239. icon: "images/rangeslider-icon16.png"
  240. ItemLibraryEntry {
  241. name: "Range Slider"
  242. category: "Qt Quick - Controls 2"
  243. libraryIcon: "images/rangeslider-icon.png"
  244. version: "2.0"
  245. requiredImport: "QtQuick.Controls"
  246. toolTip: qsTr("A bar with adjustable start and end points.")
  247. Property { name: "first.value"; type: "real"; value: 0.25 }
  248. Property { name: "second.value"; type: "real"; value: 0.75 }
  249. }
  250. }
  251. Type {
  252. name: "QtQuick.Controls.RoundButton"
  253. icon: "images/roundbutton-icon16.png"
  254. ItemLibraryEntry {
  255. name: "Round Button"
  256. category: "Qt Quick - Controls 2"
  257. libraryIcon: "images/roundbutton-icon.png"
  258. version: "2.1"
  259. requiredImport: "QtQuick.Controls"
  260. toolTip: qsTr("A round button with text.")
  261. Property { name: "text"; type: "string"; value: "+" }
  262. }
  263. }
  264. Type {
  265. name: "QtQuick.Controls.Slider"
  266. icon: "images/slider-icon16.png"
  267. ItemLibraryEntry {
  268. name: "Slider"
  269. category: "Qt Quick - Controls 2"
  270. libraryIcon: "images/slider-icon.png"
  271. version: "2.0"
  272. requiredImport: "QtQuick.Controls"
  273. toolTip: qsTr("An adjustable slider.")
  274. Property { name: "value"; type: "real"; value: 0.5 }
  275. }
  276. }
  277. Type {
  278. name: "QtQuick.Controls.SpinBox"
  279. icon: "images/spinbox-icon16.png"
  280. ItemLibraryEntry {
  281. name: "Spin Box"
  282. category: "Qt Quick - Controls 2"
  283. libraryIcon: "images/spinbox-icon.png"
  284. version: "2.0"
  285. requiredImport: "QtQuick.Controls"
  286. toolTip: qsTr("A box with an adjustable number.")
  287. }
  288. }
  289. Type {
  290. name: "QtQuick.Controls.ScrollView"
  291. icon: "images/scrollview-icon16.png"
  292. ItemLibraryEntry {
  293. name: "Scroll View"
  294. category: "Qt Quick - Controls 2"
  295. libraryIcon: "images/scrollview-icon.png"
  296. version: "2.2"
  297. requiredImport: "QtQuick.Controls"
  298. toolTip: qsTr("A scrollable area.")
  299. Property { name: "width"; type: "int"; value: 200 }
  300. Property { name: "height"; type: "int"; value: 200 }
  301. }
  302. }
  303. Type {
  304. name: "QtQuick.Controls.StackView"
  305. icon: "images/stackview-icon16.png"
  306. ItemLibraryEntry {
  307. name: "Stack View"
  308. category: "Qt Quick - Controls 2"
  309. libraryIcon: "images/stackview-icon.png"
  310. version: "2.0"
  311. requiredImport: "QtQuick.Controls"
  312. toolTip: qsTr("Provides a stack-based navigation for a set of pages.")
  313. Property { name: "width"; type: "int"; value: 200 }
  314. Property { name: "height"; type: "int"; value: 200 }
  315. }
  316. }
  317. Type {
  318. name: "QtQuick.Controls.SwipeDelegate"
  319. icon: "images/itemdelegate-icon16.png"
  320. ItemLibraryEntry {
  321. name: "Swipe Delegate"
  322. category: "Qt Quick - Controls 2"
  323. libraryIcon: "images/itemdelegate-icon.png"
  324. version: "2.0"
  325. requiredImport: "QtQuick.Controls"
  326. toolTip: qsTr("Presents items from a model as items that you can swipe to expose more options.")
  327. Property { name: "text"; type: "binding"; value: "qsTr(\"Swipe Delegate\")" }
  328. }
  329. }
  330. Type {
  331. name: "QtQuick.Controls.SwipeView"
  332. icon: "images/swipeview-icon16.png"
  333. ItemLibraryEntry {
  334. name: "Swipe View"
  335. category: "Qt Quick - Controls 2"
  336. libraryIcon: "images/swipeview-icon.png"
  337. version: "2.0"
  338. requiredImport: "QtQuick.Controls"
  339. toolTip: qsTr("Provides a view where you can navigate pages by swiping.")
  340. Property { name: "width"; type: "int"; value: 200 }
  341. Property { name: "height"; type: "int"; value: 200 }
  342. }
  343. }
  344. Type {
  345. name: "QtQuick.Controls.Switch"
  346. icon: "images/switch-icon16.png"
  347. ItemLibraryEntry {
  348. name: "Switch"
  349. category: "Qt Quick - Controls 2"
  350. libraryIcon: "images/switch-icon.png"
  351. version: "2.0"
  352. requiredImport: "QtQuick.Controls"
  353. toolTip: qsTr("A button that you can toggle on and off.")
  354. Property { name: "text"; type: "binding"; value: "qsTr(\"Switch\")" }
  355. }
  356. }
  357. Type {
  358. name: "QtQuick.Controls.SwitchDelegate"
  359. icon: "images/switch-icon16.png"
  360. ItemLibraryEntry {
  361. name: "Switch Delegate"
  362. category: "Qt Quick - Controls 2"
  363. libraryIcon: "images/switch-icon.png"
  364. version: "2.0"
  365. requiredImport: "QtQuick.Controls"
  366. toolTip: qsTr("Presents items from a model as toggle switches.")
  367. Property { name: "text"; type: "binding"; value: "qsTr(\"Switch Delegate\")" }
  368. }
  369. }
  370. Type {
  371. name: "QtQuick.Controls.TabBar"
  372. icon: "images/toolbar-icon16.png"
  373. ItemLibraryEntry {
  374. name: "Tab Bar"
  375. category: "Qt Quick - Controls 2"
  376. libraryIcon: "images/toolbar-icon.png"
  377. version: "2.0"
  378. requiredImport: "QtQuick.Controls"
  379. toolTip: qsTr("A tab-based navigation model.")
  380. Property { name: "width"; type: "int"; value: 240 }
  381. }
  382. }
  383. Type {
  384. name: "QtQuick.Controls.TabButton"
  385. icon: "images/toolbutton-icon16.png"
  386. ItemLibraryEntry {
  387. name: "Tab Button"
  388. category: "Qt Quick - Controls 2"
  389. libraryIcon: "images/toolbutton-icon.png"
  390. version: "2.0"
  391. requiredImport: "QtQuick.Controls"
  392. toolTip: qsTr("A button suitable for a tab bar.")
  393. Property { name: "text"; type: "binding"; value: "qsTr(\"Tab Button\")" }
  394. }
  395. }
  396. Type {
  397. name: "QtQuick.Controls.TextArea"
  398. icon: "images/textarea-icon16.png"
  399. ItemLibraryEntry {
  400. name: "Text Area"
  401. category: "Qt Quick - Controls 2"
  402. libraryIcon: "images/textarea-icon.png"
  403. version: "2.0"
  404. requiredImport: "QtQuick.Controls"
  405. toolTip: qsTr("A multi-line text box.")
  406. Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Area\")" }
  407. }
  408. }
  409. Type {
  410. name: "QtQuick.Controls.TextField"
  411. icon: "images/textfield-icon16.png"
  412. ItemLibraryEntry {
  413. name: "Text Field"
  414. category: "Qt Quick - Controls 2"
  415. libraryIcon: "images/textfield-icon.png"
  416. version: "2.0"
  417. requiredImport: "QtQuick.Controls"
  418. toolTip: qsTr("A single-line text box.")
  419. Property { name: "placeholderText"; type: "binding"; value: "qsTr(\"Text Field\")" }
  420. }
  421. }
  422. Type {
  423. name: "QtQuick.Controls.ToolBar"
  424. icon: "images/toolbar-icon16.png"
  425. ItemLibraryEntry {
  426. name: "Tool Bar"
  427. category: "Qt Quick - Controls 2"
  428. libraryIcon: "images/toolbar-icon.png"
  429. version: "2.0"
  430. requiredImport: "QtQuick.Controls"
  431. toolTip: qsTr("A row that can hold actions and buttons.")
  432. Property { name: "width"; type: "int"; value: 360 }
  433. }
  434. }
  435. Type {
  436. name: "QtQuick.Controls.ToolButton"
  437. icon: "images/toolbutton-icon16.png"
  438. ItemLibraryEntry {
  439. name: "Tool Button"
  440. category: "Qt Quick - Controls 2"
  441. libraryIcon: "images/toolbutton-icon.png"
  442. version: "2.0"
  443. requiredImport: "QtQuick.Controls"
  444. toolTip: qsTr("A button suitable for a tool bar.")
  445. Property { name: "text"; type: "binding"; value: "qsTr(\"Tool Button\")" }
  446. }
  447. }
  448. Type {
  449. name: "QtQuick.Controls.ToolSeparator"
  450. icon: "images/toolseparator-icon16.png"
  451. ItemLibraryEntry {
  452. name: "Tool Separator"
  453. category: "Qt Quick - Controls 2"
  454. libraryIcon: "images/toolseparator-icon.png"
  455. version: "2.1"
  456. requiredImport: "QtQuick.Controls"
  457. toolTip: qsTr("A line to separate sections in a tool bar.")
  458. }
  459. }
  460. Type {
  461. name: "QtQuick.Controls.Tumbler"
  462. icon: "images/tumbler-icon16.png"
  463. ItemLibraryEntry {
  464. name: "Tumbler"
  465. category: "Qt Quick - Controls 2"
  466. libraryIcon: "images/tumbler-icon.png"
  467. version: "2.0"
  468. requiredImport: "QtQuick.Controls"
  469. toolTip: qsTr("A spinnable wheel of selectable items.")
  470. Property { name: "model"; type: "int"; value: "10" }
  471. }
  472. }
  473. }