From 5570ade79fec6d2e7b7381b6fe1869239832e05b Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Wed, 13 Apr 2016 20:30:26 +0200 Subject: Doc: add 2-suffix to the image assets and snippets Change-Id: Ib8050cb3baefe07d28c7e2dcec64af155d2d7c9b Reviewed-by: J-P Nurmi --- .../qtquickcontrols-chattutorial-chapter1.png | Bin 5877 -> 0 bytes ...trols-chattutorial-chapter2-listview-header.gif | Bin 176936 -> 0 bytes .../qtquickcontrols-chattutorial-chapter2.png | Bin 22195 -> 0 bytes ...trols-chattutorial-chapter3-listview-header.gif | Bin 262432 -> 0 bytes ...controls-chattutorial-chapter3-view-margins.png | Bin 3895 -> 0 bytes .../qtquickcontrols-chattutorial-chapter3.gif | Bin 169856 -> 0 bytes ...controls-chattutorial-chapter4-long-message.png | Bin 16495 -> 0 bytes ...ols-chattutorial-chapter4-message-timestamp.png | Bin 10762 -> 0 bytes .../qtquickcontrols-chattutorial-chapter4.gif | Bin 102536 -> 0 bytes ...hattutorial-chapter5-contacts-material-dark.png | Bin 21774 -> 0 bytes ...hattutorial-chapter5-contacts-material-test.png | Bin 18308 -> 0 bytes ...ols-chattutorial-chapter5-contacts-material.png | Bin 19284 -> 0 bytes ...attutorial-chapter5-contacts-universal-dark.png | Bin 19534 -> 0 bytes ...ls-chattutorial-chapter5-contacts-universal.png | Bin 18259 -> 0 bytes ...torial-chapter5-conversations-material-dark.png | Bin 16739 -> 0 bytes ...torial-chapter5-conversations-material-test.png | Bin 2970 -> 0 bytes ...hattutorial-chapter5-conversations-material.png | Bin 3524 -> 0 bytes ...orial-chapter5-conversations-universal-dark.png | Bin 9875 -> 0 bytes ...attutorial-chapter5-conversations-universal.png | Bin 11716 -> 0 bytes .../qtquickcontrols2-chattutorial-chapter1.png | Bin 0 -> 5877 bytes ...rols2-chattutorial-chapter2-listview-header.gif | Bin 0 -> 176936 bytes .../qtquickcontrols2-chattutorial-chapter2.png | Bin 0 -> 22195 bytes ...rols2-chattutorial-chapter3-listview-header.gif | Bin 0 -> 262432 bytes ...ontrols2-chattutorial-chapter3-view-margins.png | Bin 0 -> 3895 bytes .../qtquickcontrols2-chattutorial-chapter3.gif | Bin 0 -> 169856 bytes ...ontrols2-chattutorial-chapter4-long-message.png | Bin 0 -> 16495 bytes ...ls2-chattutorial-chapter4-message-timestamp.png | Bin 0 -> 10762 bytes .../qtquickcontrols2-chattutorial-chapter4.gif | Bin 0 -> 102536 bytes ...hattutorial-chapter5-contacts-material-dark.png | Bin 0 -> 21774 bytes ...hattutorial-chapter5-contacts-material-test.png | Bin 0 -> 18308 bytes ...ls2-chattutorial-chapter5-contacts-material.png | Bin 0 -> 19284 bytes ...attutorial-chapter5-contacts-universal-dark.png | Bin 0 -> 19534 bytes ...s2-chattutorial-chapter5-contacts-universal.png | Bin 0 -> 18259 bytes ...torial-chapter5-conversations-material-dark.png | Bin 0 -> 16739 bytes ...torial-chapter5-conversations-material-test.png | Bin 0 -> 2970 bytes ...hattutorial-chapter5-conversations-material.png | Bin 0 -> 3524 bytes ...orial-chapter5-conversations-universal-dark.png | Bin 0 -> 9875 bytes ...attutorial-chapter5-conversations-universal.png | Bin 0 -> 11716 bytes .../doc/src/qtquickcontrols2-chattutorial.qdoc | 38 +++--- .../doc/images/qtquickcontrols-gallery-drawer.png | Bin 17156 -> 0 bytes .../doc/images/qtquickcontrols-gallery-menu.png | Bin 17209 -> 0 bytes .../doc/images/qtquickcontrols-gallery-welcome.png | Bin 23502 -> 0 bytes .../doc/images/qtquickcontrols2-gallery-drawer.png | Bin 0 -> 17156 bytes .../doc/images/qtquickcontrols2-gallery-menu.png | Bin 0 -> 17209 bytes .../images/qtquickcontrols2-gallery-welcome.png | Bin 0 -> 23502 bytes .../gallery/doc/src/qtquickcontrols-gallery.qdoc | 61 ---------- .../gallery/doc/src/qtquickcontrols2-gallery.qdoc | 61 ++++++++++ ...qtquickcontrols-applicationwindow-wireframe.png | Bin 1795 -> 0 bytes .../qtquickcontrols-busyindicator-background.png | Bin 1594 -> 0 bytes .../qtquickcontrols-busyindicator-contentItem.png | Bin 1583 -> 0 bytes .../doc/images/qtquickcontrols-busyindicator.gif | Bin 3241 -> 0 bytes .../doc/images/qtquickcontrols-busyindicator.png | Bin 1713 -> 0 bytes .../images/qtquickcontrols-button-background.png | Bin 1499 -> 0 bytes .../images/qtquickcontrols-button-contentItem.png | Bin 1550 -> 0 bytes .../doc/images/qtquickcontrols-button-disabled.png | Bin 1653 -> 0 bytes .../doc/images/qtquickcontrols-button-focused.png | Bin 1515 -> 0 bytes .../doc/images/qtquickcontrols-button-normal.png | Bin 1507 -> 0 bytes .../doc/images/qtquickcontrols-button-pressed.png | Bin 1949 -> 0 bytes .../controls/doc/images/qtquickcontrols-button.gif | Bin 2171 -> 0 bytes .../controls/doc/images/qtquickcontrols-button.png | Bin 1518 -> 0 bytes .../images/qtquickcontrols-checkbox-background.png | Bin 2607 -> 0 bytes .../images/qtquickcontrols-checkbox-checked.png | Bin 2687 -> 0 bytes .../qtquickcontrols-checkbox-contentItem.png | Bin 2582 -> 0 bytes .../images/qtquickcontrols-checkbox-disabled.png | Bin 2197 -> 0 bytes .../images/qtquickcontrols-checkbox-focused.png | Bin 2069 -> 0 bytes .../images/qtquickcontrols-checkbox-indicator.png | Bin 2539 -> 0 bytes .../doc/images/qtquickcontrols-checkbox-normal.png | Bin 1547 -> 0 bytes .../doc/images/qtquickcontrols-checkbox.png | Bin 2573 -> 0 bytes .../qtquickcontrols-checkdelegate-background.png | Bin 3203 -> 0 bytes .../qtquickcontrols-checkdelegate-contentItem.png | Bin 3091 -> 0 bytes .../qtquickcontrols-checkdelegate-indicator.png | Bin 3104 -> 0 bytes .../doc/images/qtquickcontrols-checkdelegate.gif | Bin 14330 -> 0 bytes .../images/qtquickcontrols-combobox-background.png | Bin 2731 -> 0 bytes .../qtquickcontrols-combobox-contentItem.png | Bin 2752 -> 0 bytes .../images/qtquickcontrols-combobox-delegate.png | Bin 4999 -> 0 bytes .../doc/images/qtquickcontrols-combobox-popup.png | Bin 4969 -> 0 bytes .../doc/images/qtquickcontrols-combobox.png | Bin 4984 -> 0 bytes .../doc/images/qtquickcontrols-control.png | Bin 9850 -> 0 bytes .../doc/images/qtquickcontrols-default.png | Bin 19608 -> 0 bytes .../doc/images/qtquickcontrols-dial-background.png | Bin 6563 -> 0 bytes .../doc/images/qtquickcontrols-dial-handle.png | Bin 7325 -> 0 bytes .../controls/doc/images/qtquickcontrols-dial.png | Bin 7204 -> 0 bytes .../qtquickcontrols-drawer-expanded-wireframe.png | Bin 3004 -> 0 bytes .../images/qtquickcontrols-drawer-wireframe.png | Bin 3956 -> 0 bytes .../images/qtquickcontrols-frame-background.png | Bin 345 -> 0 bytes .../controls/doc/images/qtquickcontrols-frame.png | Bin 5213 -> 0 bytes .../images/qtquickcontrols-groupbox-background.png | Bin 2685 -> 0 bytes .../images/qtquickcontrols-groupbox-checkable.png | Bin 8311 -> 0 bytes .../doc/images/qtquickcontrols-groupbox-label.png | Bin 2673 -> 0 bytes .../doc/images/qtquickcontrols-groupbox.png | Bin 7718 -> 0 bytes .../qtquickcontrols-itemdelegate-background.png | Bin 3499 -> 0 bytes .../qtquickcontrols-itemdelegate-contentItem.png | Bin 3441 -> 0 bytes .../qtquickcontrols-itemdelegate-indicator.png | Bin 3456 -> 0 bytes .../doc/images/qtquickcontrols-itemdelegate.gif | Bin 14448 -> 0 bytes .../doc/images/qtquickcontrols-itemdelegate.png | Bin 9440 -> 0 bytes .../images/qtquickcontrols-label-background.png | Bin 1118 -> 0 bytes .../controls/doc/images/qtquickcontrols-label.png | Bin 1093 -> 0 bytes .../doc/images/qtquickcontrols-material-button.png | Bin 1272 -> 0 bytes .../doc/images/qtquickcontrols-material-dark.png | Bin 4981 -> 0 bytes .../doc/images/qtquickcontrols-material.png | Bin 23669 -> 0 bytes .../images/qtquickcontrols-menu-contentItem.png | Bin 4777 -> 0 bytes .../controls/doc/images/qtquickcontrols-menu.gif | Bin 4683 -> 0 bytes .../controls/doc/images/qtquickcontrols-menu.png | Bin 4821 -> 0 bytes .../doc/images/qtquickcontrols-page-wireframe.png | Bin 1795 -> 0 bytes .../qtquickcontrols-pageindicator-background.png | Bin 415 -> 0 bytes .../qtquickcontrols-pageindicator-contentItem.png | Bin 348 -> 0 bytes .../qtquickcontrols-pageindicator-delegate.png | Bin 498 -> 0 bytes .../doc/images/qtquickcontrols-pageindicator.png | Bin 416 -> 0 bytes .../doc/images/qtquickcontrols-pane-background.png | Bin 341 -> 0 bytes .../controls/doc/images/qtquickcontrols-pane.png | Bin 4939 -> 0 bytes .../qtquickcontrols-popup-transformorigin.png | Bin 8927 -> 0 bytes .../qtquickcontrols-progressbar-background.png | Bin 146 -> 0 bytes .../qtquickcontrols-progressbar-contentItem.png | Bin 133 -> 0 bytes .../qtquickcontrols-progressbar-disabled.png | Bin 133 -> 0 bytes .../qtquickcontrols-progressbar-indeterminate.png | Bin 229 -> 0 bytes .../images/qtquickcontrols-progressbar-normal.png | Bin 133 -> 0 bytes .../qtquickcontrols-radiobutton-background.png | Bin 3474 -> 0 bytes .../images/qtquickcontrols-radiobutton-checked.png | Bin 3411 -> 0 bytes .../qtquickcontrols-radiobutton-contentItem.png | Bin 3435 -> 0 bytes .../qtquickcontrols-radiobutton-disabled.png | Bin 2897 -> 0 bytes .../images/qtquickcontrols-radiobutton-focused.png | Bin 2771 -> 0 bytes .../qtquickcontrols-radiobutton-indicator.png | Bin 3337 -> 0 bytes .../images/qtquickcontrols-radiobutton-normal.png | Bin 2234 -> 0 bytes .../doc/images/qtquickcontrols-radiobutton.png | Bin 3491 -> 0 bytes .../qtquickcontrols-radiodelegate-background.png | Bin 3727 -> 0 bytes .../qtquickcontrols-radiodelegate-contentItem.png | Bin 3595 -> 0 bytes .../qtquickcontrols-radiodelegate-indicator.png | Bin 3595 -> 0 bytes .../doc/images/qtquickcontrols-radiodelegate.gif | Bin 16357 -> 0 bytes .../qtquickcontrols-rangeslider-background.png | Bin 1201 -> 0 bytes .../qtquickcontrols-rangeslider-disabled.png | Bin 1204 -> 0 bytes ...ckcontrols-rangeslider-first-handle-focused.png | Bin 1204 -> 0 bytes .../qtquickcontrols-rangeslider-first-handle.png | Bin 1206 -> 0 bytes .../images/qtquickcontrols-rangeslider-normal.png | Bin 1204 -> 0 bytes ...kcontrols-rangeslider-second-handle-focused.png | Bin 1204 -> 0 bytes .../qtquickcontrols-rangeslider-second-handle.png | Bin 1365 -> 0 bytes .../doc/images/qtquickcontrols-rangeslider.gif | Bin 18024 -> 0 bytes .../doc/images/qtquickcontrols-rangeslider.png | Bin 1204 -> 0 bytes .../qtquickcontrols-scrollbar-background.png | Bin 260 -> 0 bytes .../qtquickcontrols-scrollbar-contentItem.png | Bin 248 -> 0 bytes .../doc/images/qtquickcontrols-scrollbar.png | Bin 680 -> 0 bytes .../qtquickcontrols-scrollindicator-background.png | Bin 147 -> 0 bytes ...qtquickcontrols-scrollindicator-contentItem.png | Bin 121 -> 0 bytes .../doc/images/qtquickcontrols-scrollindicator.png | Bin 387 -> 0 bytes .../images/qtquickcontrols-slider-background.png | Bin 1104 -> 0 bytes .../doc/images/qtquickcontrols-slider-disabled.png | Bin 1117 -> 0 bytes .../doc/images/qtquickcontrols-slider-focused.png | Bin 1117 -> 0 bytes .../doc/images/qtquickcontrols-slider-handle.png | Bin 953 -> 0 bytes .../doc/images/qtquickcontrols-slider-normal.png | Bin 1117 -> 0 bytes .../controls/doc/images/qtquickcontrols-slider.gif | Bin 16972 -> 0 bytes .../controls/doc/images/qtquickcontrols-slider.png | Bin 1117 -> 0 bytes .../images/qtquickcontrols-spinbox-background.png | Bin 1104 -> 0 bytes .../images/qtquickcontrols-spinbox-contentItem.png | Bin 1178 -> 0 bytes .../doc/images/qtquickcontrols-spinbox-down.png | Bin 1130 -> 0 bytes .../doc/images/qtquickcontrols-spinbox-textual.png | Bin 1825 -> 0 bytes .../doc/images/qtquickcontrols-spinbox-up.png | Bin 1144 -> 0 bytes .../doc/images/qtquickcontrols-spinbox.png | Bin 1149 -> 0 bytes .../images/qtquickcontrols-stackview-wireframe.png | Bin 646 -> 0 bytes .../qtquickcontrols-swipedelegate-background.png | Bin 1919 -> 0 bytes .../qtquickcontrols-swipedelegate-behind.gif | Bin 248344 -> 0 bytes .../qtquickcontrols-swipedelegate-contentItem.png | Bin 1894 -> 0 bytes .../qtquickcontrols-swipedelegate-indicator.png | Bin 2407 -> 0 bytes ...uickcontrols-swipedelegate-leading-trailing.gif | Bin 132134 -> 0 bytes .../doc/images/qtquickcontrols-swipedelegate.gif | Bin 123494 -> 0 bytes .../images/qtquickcontrols-swipeview-indicator.png | Bin 695 -> 0 bytes .../images/qtquickcontrols-swipeview-wireframe.png | Bin 1583 -> 0 bytes .../images/qtquickcontrols-switch-background.png | Bin 2648 -> 0 bytes .../doc/images/qtquickcontrols-switch-checked.png | Bin 3124 -> 0 bytes .../images/qtquickcontrols-switch-contentItem.png | Bin 2605 -> 0 bytes .../doc/images/qtquickcontrols-switch-disabled.png | Bin 3218 -> 0 bytes .../doc/images/qtquickcontrols-switch-focused.png | Bin 2905 -> 0 bytes .../images/qtquickcontrols-switch-indicator.png | Bin 2522 -> 0 bytes .../doc/images/qtquickcontrols-switch-normal.png | Bin 2415 -> 0 bytes .../controls/doc/images/qtquickcontrols-switch.gif | Bin 3466 -> 0 bytes .../controls/doc/images/qtquickcontrols-switch.png | Bin 2669 -> 0 bytes .../qtquickcontrols-switchdelegate-background.png | Bin 3630 -> 0 bytes .../qtquickcontrols-switchdelegate-contentItem.png | Bin 3477 -> 0 bytes .../qtquickcontrols-switchdelegate-indicator.png | Bin 3493 -> 0 bytes .../doc/images/qtquickcontrols-switchdelegate.gif | Bin 38688 -> 0 bytes .../images/qtquickcontrols-tabbar-wireframe.png | Bin 609 -> 0 bytes .../controls/doc/images/qtquickcontrols-tabbar.gif | Bin 8590 -> 0 bytes .../controls/doc/images/qtquickcontrols-tabbar.png | Bin 4725 -> 0 bytes .../doc/images/qtquickcontrols-tabbutton.png | Bin 4728 -> 0 bytes .../doc/images/qtquickcontrols-textarea.png | Bin 2113 -> 0 bytes .../qtquickcontrols-textfield-background.png | Bin 1976 -> 0 bytes .../images/qtquickcontrols-textfield-disabled.png | Bin 193 -> 0 bytes .../images/qtquickcontrols-textfield-focused.png | Bin 2072 -> 0 bytes .../images/qtquickcontrols-textfield-normal.png | Bin 1553 -> 0 bytes .../doc/images/qtquickcontrols-textfield.png | Bin 2088 -> 0 bytes .../qtquickcontrols-togglebutton-background.png | Bin 2558 -> 0 bytes .../qtquickcontrols-togglebutton-checked.png | Bin 1921 -> 0 bytes .../qtquickcontrols-togglebutton-disabled.png | Bin 1921 -> 0 bytes .../qtquickcontrols-togglebutton-focused.png | Bin 1788 -> 0 bytes .../qtquickcontrols-togglebutton-indicator.png | Bin 2450 -> 0 bytes .../images/qtquickcontrols-togglebutton-label.png | Bin 2530 -> 0 bytes .../images/qtquickcontrols-togglebutton-normal.png | Bin 1444 -> 0 bytes .../images/qtquickcontrols-toolbar-background.png | Bin 217 -> 0 bytes .../doc/images/qtquickcontrols-toolbar.png | Bin 4172 -> 0 bytes .../qtquickcontrols-toolbutton-background.png | Bin 1722 -> 0 bytes .../qtquickcontrols-toolbutton-contentItem.png | Bin 1682 -> 0 bytes .../doc/images/qtquickcontrols-toolbutton.png | Bin 1683 -> 0 bytes .../images/qtquickcontrols-tooltip-background.png | Bin 1014 -> 0 bytes .../images/qtquickcontrols-tooltip-contentItem.png | Bin 1046 -> 0 bytes .../doc/images/qtquickcontrols-tooltip-delay.png | Bin 1278 -> 0 bytes .../doc/images/qtquickcontrols-tooltip-hover.png | Bin 1275 -> 0 bytes .../qtquickcontrols-tooltip-pressandhold.png | Bin 1275 -> 0 bytes .../doc/images/qtquickcontrols-tooltip-slider.png | Bin 2130 -> 0 bytes .../doc/images/qtquickcontrols-tooltip.png | Bin 5611 -> 0 bytes .../images/qtquickcontrols-tumbler-background.png | Bin 1289 -> 0 bytes .../images/qtquickcontrols-tumbler-contentItem.png | Bin 1289 -> 0 bytes .../images/qtquickcontrols-tumbler-delegate.png | Bin 1300 -> 0 bytes .../doc/images/qtquickcontrols-tumbler-wrap.gif | Bin 54383 -> 0 bytes .../doc/images/qtquickcontrols-tumbler.png | Bin 1123 -> 0 bytes .../images/qtquickcontrols-universal-button.png | Bin 674 -> 0 bytes .../doc/images/qtquickcontrols-universal-dark.png | Bin 2894 -> 0 bytes .../doc/images/qtquickcontrols-universal.png | Bin 18382 -> 0 bytes ...tquickcontrols2-applicationwindow-wireframe.png | Bin 0 -> 1795 bytes .../qtquickcontrols2-busyindicator-background.png | Bin 0 -> 1594 bytes .../qtquickcontrols2-busyindicator-contentItem.png | Bin 0 -> 1583 bytes .../doc/images/qtquickcontrols2-busyindicator.gif | Bin 0 -> 3241 bytes .../doc/images/qtquickcontrols2-busyindicator.png | Bin 0 -> 1713 bytes .../images/qtquickcontrols2-button-background.png | Bin 0 -> 1499 bytes .../images/qtquickcontrols2-button-contentItem.png | Bin 0 -> 1550 bytes .../images/qtquickcontrols2-button-disabled.png | Bin 0 -> 1653 bytes .../doc/images/qtquickcontrols2-button-focused.png | Bin 0 -> 1515 bytes .../doc/images/qtquickcontrols2-button-normal.png | Bin 0 -> 1507 bytes .../doc/images/qtquickcontrols2-button-pressed.png | Bin 0 -> 1949 bytes .../doc/images/qtquickcontrols2-button.gif | Bin 0 -> 2171 bytes .../doc/images/qtquickcontrols2-button.png | Bin 0 -> 1518 bytes .../qtquickcontrols2-checkbox-background.png | Bin 0 -> 2607 bytes .../images/qtquickcontrols2-checkbox-checked.png | Bin 0 -> 2687 bytes .../qtquickcontrols2-checkbox-contentItem.png | Bin 0 -> 2582 bytes .../images/qtquickcontrols2-checkbox-disabled.png | Bin 0 -> 2197 bytes .../images/qtquickcontrols2-checkbox-focused.png | Bin 0 -> 2069 bytes .../images/qtquickcontrols2-checkbox-indicator.png | Bin 0 -> 2539 bytes .../images/qtquickcontrols2-checkbox-normal.png | Bin 0 -> 1547 bytes .../doc/images/qtquickcontrols2-checkbox.png | Bin 0 -> 2573 bytes .../qtquickcontrols2-checkdelegate-background.png | Bin 0 -> 3203 bytes .../qtquickcontrols2-checkdelegate-contentItem.png | Bin 0 -> 3091 bytes .../qtquickcontrols2-checkdelegate-indicator.png | Bin 0 -> 3104 bytes .../doc/images/qtquickcontrols2-checkdelegate.gif | Bin 0 -> 14330 bytes .../qtquickcontrols2-combobox-background.png | Bin 0 -> 2731 bytes .../qtquickcontrols2-combobox-contentItem.png | Bin 0 -> 2752 bytes .../images/qtquickcontrols2-combobox-delegate.png | Bin 0 -> 4999 bytes .../doc/images/qtquickcontrols2-combobox-popup.png | Bin 0 -> 4969 bytes .../doc/images/qtquickcontrols2-combobox.png | Bin 0 -> 4984 bytes .../doc/images/qtquickcontrols2-control.png | Bin 0 -> 9850 bytes .../doc/images/qtquickcontrols2-default.png | Bin 0 -> 19608 bytes .../images/qtquickcontrols2-dial-background.png | Bin 0 -> 6563 bytes .../doc/images/qtquickcontrols2-dial-handle.png | Bin 0 -> 7325 bytes .../controls/doc/images/qtquickcontrols2-dial.png | Bin 0 -> 7204 bytes .../qtquickcontrols2-drawer-expanded-wireframe.png | Bin 0 -> 3004 bytes .../images/qtquickcontrols2-drawer-wireframe.png | Bin 0 -> 3956 bytes .../images/qtquickcontrols2-frame-background.png | Bin 0 -> 345 bytes .../controls/doc/images/qtquickcontrols2-frame.png | Bin 0 -> 5213 bytes .../qtquickcontrols2-groupbox-background.png | Bin 0 -> 2685 bytes .../images/qtquickcontrols2-groupbox-checkable.png | Bin 0 -> 8311 bytes .../doc/images/qtquickcontrols2-groupbox-label.png | Bin 0 -> 2673 bytes .../doc/images/qtquickcontrols2-groupbox.png | Bin 0 -> 7718 bytes .../qtquickcontrols2-itemdelegate-background.png | Bin 0 -> 3499 bytes .../qtquickcontrols2-itemdelegate-contentItem.png | Bin 0 -> 3441 bytes .../qtquickcontrols2-itemdelegate-indicator.png | Bin 0 -> 3456 bytes .../doc/images/qtquickcontrols2-itemdelegate.gif | Bin 0 -> 14448 bytes .../doc/images/qtquickcontrols2-itemdelegate.png | Bin 0 -> 9440 bytes .../images/qtquickcontrols2-label-background.png | Bin 0 -> 1118 bytes .../controls/doc/images/qtquickcontrols2-label.png | Bin 0 -> 1093 bytes .../images/qtquickcontrols2-material-button.png | Bin 0 -> 1272 bytes .../doc/images/qtquickcontrols2-material-dark.png | Bin 0 -> 4981 bytes .../doc/images/qtquickcontrols2-material.png | Bin 0 -> 23669 bytes .../images/qtquickcontrols2-menu-contentItem.png | Bin 0 -> 4777 bytes .../controls/doc/images/qtquickcontrols2-menu.gif | Bin 0 -> 4683 bytes .../controls/doc/images/qtquickcontrols2-menu.png | Bin 0 -> 4821 bytes .../doc/images/qtquickcontrols2-page-wireframe.png | Bin 0 -> 1795 bytes .../qtquickcontrols2-pageindicator-background.png | Bin 0 -> 415 bytes .../qtquickcontrols2-pageindicator-contentItem.png | Bin 0 -> 348 bytes .../qtquickcontrols2-pageindicator-delegate.png | Bin 0 -> 498 bytes .../doc/images/qtquickcontrols2-pageindicator.png | Bin 0 -> 416 bytes .../images/qtquickcontrols2-pane-background.png | Bin 0 -> 341 bytes .../controls/doc/images/qtquickcontrols2-pane.png | Bin 0 -> 4939 bytes .../qtquickcontrols2-popup-transformorigin.png | Bin 0 -> 8927 bytes .../qtquickcontrols2-progressbar-background.png | Bin 0 -> 146 bytes .../qtquickcontrols2-progressbar-contentItem.png | Bin 0 -> 133 bytes .../qtquickcontrols2-progressbar-disabled.png | Bin 0 -> 133 bytes .../qtquickcontrols2-progressbar-indeterminate.png | Bin 0 -> 229 bytes .../images/qtquickcontrols2-progressbar-normal.png | Bin 0 -> 133 bytes .../qtquickcontrols2-radiobutton-background.png | Bin 0 -> 3474 bytes .../qtquickcontrols2-radiobutton-checked.png | Bin 0 -> 3411 bytes .../qtquickcontrols2-radiobutton-contentItem.png | Bin 0 -> 3435 bytes .../qtquickcontrols2-radiobutton-disabled.png | Bin 0 -> 2897 bytes .../qtquickcontrols2-radiobutton-focused.png | Bin 0 -> 2771 bytes .../qtquickcontrols2-radiobutton-indicator.png | Bin 0 -> 3337 bytes .../images/qtquickcontrols2-radiobutton-normal.png | Bin 0 -> 2234 bytes .../doc/images/qtquickcontrols2-radiobutton.png | Bin 0 -> 3491 bytes .../qtquickcontrols2-radiodelegate-background.png | Bin 0 -> 3727 bytes .../qtquickcontrols2-radiodelegate-contentItem.png | Bin 0 -> 3595 bytes .../qtquickcontrols2-radiodelegate-indicator.png | Bin 0 -> 3595 bytes .../doc/images/qtquickcontrols2-radiodelegate.gif | Bin 0 -> 16357 bytes .../qtquickcontrols2-rangeslider-background.png | Bin 0 -> 1201 bytes .../qtquickcontrols2-rangeslider-disabled.png | Bin 0 -> 1204 bytes ...kcontrols2-rangeslider-first-handle-focused.png | Bin 0 -> 1204 bytes .../qtquickcontrols2-rangeslider-first-handle.png | Bin 0 -> 1206 bytes .../images/qtquickcontrols2-rangeslider-normal.png | Bin 0 -> 1204 bytes ...controls2-rangeslider-second-handle-focused.png | Bin 0 -> 1204 bytes .../qtquickcontrols2-rangeslider-second-handle.png | Bin 0 -> 1365 bytes .../doc/images/qtquickcontrols2-rangeslider.gif | Bin 0 -> 18024 bytes .../doc/images/qtquickcontrols2-rangeslider.png | Bin 0 -> 1204 bytes .../qtquickcontrols2-scrollbar-background.png | Bin 0 -> 260 bytes .../qtquickcontrols2-scrollbar-contentItem.png | Bin 0 -> 248 bytes .../doc/images/qtquickcontrols2-scrollbar.png | Bin 0 -> 680 bytes ...qtquickcontrols2-scrollindicator-background.png | Bin 0 -> 147 bytes ...tquickcontrols2-scrollindicator-contentItem.png | Bin 0 -> 121 bytes .../images/qtquickcontrols2-scrollindicator.png | Bin 0 -> 387 bytes .../images/qtquickcontrols2-slider-background.png | Bin 0 -> 1104 bytes .../images/qtquickcontrols2-slider-disabled.png | Bin 0 -> 1117 bytes .../doc/images/qtquickcontrols2-slider-focused.png | Bin 0 -> 1117 bytes .../doc/images/qtquickcontrols2-slider-handle.png | Bin 0 -> 953 bytes .../doc/images/qtquickcontrols2-slider-normal.png | Bin 0 -> 1117 bytes .../doc/images/qtquickcontrols2-slider.gif | Bin 0 -> 16972 bytes .../doc/images/qtquickcontrols2-slider.png | Bin 0 -> 1117 bytes .../images/qtquickcontrols2-spinbox-background.png | Bin 0 -> 1104 bytes .../qtquickcontrols2-spinbox-contentItem.png | Bin 0 -> 1178 bytes .../doc/images/qtquickcontrols2-spinbox-down.png | Bin 0 -> 1130 bytes .../images/qtquickcontrols2-spinbox-textual.png | Bin 0 -> 1825 bytes .../doc/images/qtquickcontrols2-spinbox-up.png | Bin 0 -> 1144 bytes .../doc/images/qtquickcontrols2-spinbox.png | Bin 0 -> 1149 bytes .../qtquickcontrols2-stackview-wireframe.png | Bin 0 -> 646 bytes .../qtquickcontrols2-swipedelegate-background.png | Bin 0 -> 1919 bytes .../qtquickcontrols2-swipedelegate-behind.gif | Bin 0 -> 248344 bytes .../qtquickcontrols2-swipedelegate-contentItem.png | Bin 0 -> 1894 bytes .../qtquickcontrols2-swipedelegate-indicator.png | Bin 0 -> 2407 bytes ...ickcontrols2-swipedelegate-leading-trailing.gif | Bin 0 -> 132134 bytes .../doc/images/qtquickcontrols2-swipedelegate.gif | Bin 0 -> 123494 bytes .../qtquickcontrols2-swipeview-indicator.png | Bin 0 -> 695 bytes .../qtquickcontrols2-swipeview-wireframe.png | Bin 0 -> 1583 bytes .../images/qtquickcontrols2-switch-background.png | Bin 0 -> 2648 bytes .../doc/images/qtquickcontrols2-switch-checked.png | Bin 0 -> 3124 bytes .../images/qtquickcontrols2-switch-contentItem.png | Bin 0 -> 2605 bytes .../images/qtquickcontrols2-switch-disabled.png | Bin 0 -> 3218 bytes .../doc/images/qtquickcontrols2-switch-focused.png | Bin 0 -> 2905 bytes .../images/qtquickcontrols2-switch-indicator.png | Bin 0 -> 2522 bytes .../doc/images/qtquickcontrols2-switch-normal.png | Bin 0 -> 2415 bytes .../doc/images/qtquickcontrols2-switch.gif | Bin 0 -> 3466 bytes .../doc/images/qtquickcontrols2-switch.png | Bin 0 -> 2669 bytes .../qtquickcontrols2-switchdelegate-background.png | Bin 0 -> 3630 bytes ...qtquickcontrols2-switchdelegate-contentItem.png | Bin 0 -> 3477 bytes .../qtquickcontrols2-switchdelegate-indicator.png | Bin 0 -> 3493 bytes .../doc/images/qtquickcontrols2-switchdelegate.gif | Bin 0 -> 38688 bytes .../images/qtquickcontrols2-tabbar-wireframe.png | Bin 0 -> 609 bytes .../doc/images/qtquickcontrols2-tabbar.gif | Bin 0 -> 8590 bytes .../doc/images/qtquickcontrols2-tabbar.png | Bin 0 -> 4725 bytes .../doc/images/qtquickcontrols2-tabbutton.png | Bin 0 -> 4728 bytes .../doc/images/qtquickcontrols2-textarea.png | Bin 0 -> 2113 bytes .../qtquickcontrols2-textfield-background.png | Bin 0 -> 1976 bytes .../images/qtquickcontrols2-textfield-disabled.png | Bin 0 -> 193 bytes .../images/qtquickcontrols2-textfield-focused.png | Bin 0 -> 2072 bytes .../images/qtquickcontrols2-textfield-normal.png | Bin 0 -> 1553 bytes .../doc/images/qtquickcontrols2-textfield.png | Bin 0 -> 2088 bytes .../qtquickcontrols2-togglebutton-background.png | Bin 0 -> 2558 bytes .../qtquickcontrols2-togglebutton-checked.png | Bin 0 -> 1921 bytes .../qtquickcontrols2-togglebutton-disabled.png | Bin 0 -> 1921 bytes .../qtquickcontrols2-togglebutton-focused.png | Bin 0 -> 1788 bytes .../qtquickcontrols2-togglebutton-indicator.png | Bin 0 -> 2450 bytes .../images/qtquickcontrols2-togglebutton-label.png | Bin 0 -> 2530 bytes .../qtquickcontrols2-togglebutton-normal.png | Bin 0 -> 1444 bytes .../images/qtquickcontrols2-toolbar-background.png | Bin 0 -> 217 bytes .../doc/images/qtquickcontrols2-toolbar.png | Bin 0 -> 4172 bytes .../qtquickcontrols2-toolbutton-background.png | Bin 0 -> 1722 bytes .../qtquickcontrols2-toolbutton-contentItem.png | Bin 0 -> 1682 bytes .../doc/images/qtquickcontrols2-toolbutton.png | Bin 0 -> 1683 bytes .../images/qtquickcontrols2-tooltip-background.png | Bin 0 -> 1014 bytes .../qtquickcontrols2-tooltip-contentItem.png | Bin 0 -> 1046 bytes .../doc/images/qtquickcontrols2-tooltip-delay.png | Bin 0 -> 1278 bytes .../doc/images/qtquickcontrols2-tooltip-hover.png | Bin 0 -> 1275 bytes .../qtquickcontrols2-tooltip-pressandhold.png | Bin 0 -> 1275 bytes .../doc/images/qtquickcontrols2-tooltip-slider.png | Bin 0 -> 2130 bytes .../doc/images/qtquickcontrols2-tooltip.png | Bin 0 -> 5611 bytes .../images/qtquickcontrols2-tumbler-background.png | Bin 0 -> 1289 bytes .../qtquickcontrols2-tumbler-contentItem.png | Bin 0 -> 1289 bytes .../images/qtquickcontrols2-tumbler-delegate.png | Bin 0 -> 1300 bytes .../doc/images/qtquickcontrols2-tumbler-wrap.gif | Bin 0 -> 54383 bytes .../doc/images/qtquickcontrols2-tumbler.png | Bin 0 -> 1123 bytes .../images/qtquickcontrols2-universal-button.png | Bin 0 -> 674 bytes .../doc/images/qtquickcontrols2-universal-dark.png | Bin 0 -> 2894 bytes .../doc/images/qtquickcontrols2-universal.png | Bin 0 -> 18382 bytes .../qtquickcontrols-busyindicator-background.qml | 36 ------ .../qtquickcontrols-busyindicator-contentItem.qml | 37 ------ .../doc/snippets/qtquickcontrols-busyindicator.qml | 32 ----- .../snippets/qtquickcontrols-button-background.qml | 39 ------ .../qtquickcontrols-button-contentItem.qml | 39 ------ .../snippets/qtquickcontrols-button-disabled.qml | 35 ------ .../snippets/qtquickcontrols-button-focused.qml | 35 ------ .../doc/snippets/qtquickcontrols-button-normal.qml | 34 ------ .../snippets/qtquickcontrols-button-pressed.qml | 35 ------ .../doc/snippets/qtquickcontrols-button.qml | 33 ------ .../qtquickcontrols-checkbox-background.qml | 37 ------ .../snippets/qtquickcontrols-checkbox-checked.qml | 34 ------ .../qtquickcontrols-checkbox-contentItem.qml | 38 ------ .../snippets/qtquickcontrols-checkbox-disabled.qml | 34 ------ .../snippets/qtquickcontrols-checkbox-focused.qml | 34 ------ .../qtquickcontrols-checkbox-indicator.qml | 38 ------ .../snippets/qtquickcontrols-checkbox-normal.qml | 33 ------ .../doc/snippets/qtquickcontrols-checkbox.qml | 33 ------ .../qtquickcontrols-checkdelegate-background.qml | 38 ------ .../qtquickcontrols-checkdelegate-contentItem.qml | 39 ------ .../qtquickcontrols-checkdelegate-indicator.qml | 39 ------ .../qtquickcontrols-combobox-background.qml | 38 ------ .../qtquickcontrols-combobox-contentItem.qml | 38 ------ .../snippets/qtquickcontrols-combobox-delegate.qml | 53 --------- .../snippets/qtquickcontrols-combobox-popup.qml | 47 -------- .../doc/snippets/qtquickcontrols-combobox.qml | 43 ------- .../snippets/qtquickcontrols-dial-background.qml | 37 ------ .../doc/snippets/qtquickcontrols-dial-handle.qml | 41 ------- .../controls/doc/snippets/qtquickcontrols-dial.qml | 32 ----- .../snippets/qtquickcontrols-frame-background.qml | 38 ------ .../doc/snippets/qtquickcontrols-frame.qml | 41 ------- .../qtquickcontrols-groupbox-background.qml | 39 ------ .../qtquickcontrols-groupbox-checkable.qml | 48 -------- .../snippets/qtquickcontrols-groupbox-label.qml | 41 ------- .../doc/snippets/qtquickcontrols-groupbox.qml | 42 ------- .../qtquickcontrols-itemdelegate-background.qml | 37 ------ .../qtquickcontrols-itemdelegate-contentItem.qml | 38 ------ .../qtquickcontrols-itemdelegate-indicator.qml | 38 ------ .../doc/snippets/qtquickcontrols-itemdelegate.qml | 46 ------- .../snippets/qtquickcontrols-label-background.qml | 37 ------ .../doc/snippets/qtquickcontrols-label.qml | 35 ------ .../snippets/qtquickcontrols-menu-contentItem.qml | 58 --------- .../controls/doc/snippets/qtquickcontrols-menu.qml | 51 -------- .../qtquickcontrols-pageindicator-background.qml | 38 ------ .../qtquickcontrols-pageindicator-contentItem.qml | 39 ------ .../qtquickcontrols-pageindicator-delegate.qml | 40 ------- .../doc/snippets/qtquickcontrols-pageindicator.qml | 35 ------ .../snippets/qtquickcontrols-pane-background.qml | 38 ------ .../controls/doc/snippets/qtquickcontrols-pane.qml | 41 ------- .../qtquickcontrols-progressbar-background.qml | 38 ------ .../qtquickcontrols-progressbar-contentItem.qml | 39 ------ .../qtquickcontrols-progressbar-disabled.qml | 34 ------ .../qtquickcontrols-progressbar-normal.qml | 33 ------ .../qtquickcontrols-radiobutton-background.qml | 37 ------ .../qtquickcontrols-radiobutton-checked.qml | 34 ------ .../qtquickcontrols-radiobutton-contentItem.qml | 38 ------ .../qtquickcontrols-radiobutton-disabled.qml | 34 ------ .../qtquickcontrols-radiobutton-focused.qml | 34 ------ .../qtquickcontrols-radiobutton-indicator.qml | 38 ------ .../qtquickcontrols-radiobutton-normal.qml | 33 ------ .../doc/snippets/qtquickcontrols-radiobutton.qml | 33 ------ .../qtquickcontrols-radiodelegate-background.qml | 38 ------ .../qtquickcontrols-radiodelegate-contentItem.qml | 39 ------ .../qtquickcontrols-radiodelegate-indicator.qml | 39 ------ .../qtquickcontrols-rangeslider-background.qml | 38 ------ .../qtquickcontrols-rangeslider-disabled.qml | 35 ------ ...ckcontrols-rangeslider-first-handle-focused.qml | 35 ------ .../qtquickcontrols-rangeslider-first-handle.qml | 39 ------ .../qtquickcontrols-rangeslider-normal.qml | 34 ------ ...kcontrols-rangeslider-second-handle-focused.qml | 35 ------ .../qtquickcontrols-rangeslider-second-handle.qml | 39 ------ .../doc/snippets/qtquickcontrols-rangeslider.qml | 34 ------ .../snippets/qtquickcontrols-scrollbar-active.qml | 46 ------- .../qtquickcontrols-scrollbar-background.qml | 40 ------- .../qtquickcontrols-scrollbar-contentItem.qml | 42 ------- .../doc/snippets/qtquickcontrols-scrollbar.qml | 52 -------- .../qtquickcontrols-scrollindicator-active.qml | 46 ------- .../qtquickcontrols-scrollindicator-background.qml | 40 ------- ...qtquickcontrols-scrollindicator-contentItem.qml | 42 ------- .../snippets/qtquickcontrols-scrollindicator.qml | 52 -------- .../snippets/qtquickcontrols-slider-background.qml | 38 ------ .../snippets/qtquickcontrols-slider-disabled.qml | 34 ------ .../snippets/qtquickcontrols-slider-focused.qml | 34 ------ .../doc/snippets/qtquickcontrols-slider-handle.qml | 38 ------ .../doc/snippets/qtquickcontrols-slider-normal.qml | 33 ------ .../doc/snippets/qtquickcontrols-slider.qml | 33 ------ .../qtquickcontrols-spinbox-background.qml | 38 ------ .../qtquickcontrols-spinbox-contentItem.qml | 38 ------ .../doc/snippets/qtquickcontrols-spinbox-down.qml | 38 ------ .../snippets/qtquickcontrols-spinbox-textual.qml | 55 --------- .../doc/snippets/qtquickcontrols-spinbox-up.qml | 38 ------ .../doc/snippets/qtquickcontrols-spinbox.qml | 35 ------ .../qtquickcontrols-swipedelegate-background.qml | 38 ------ .../qtquickcontrols-swipedelegate-contentItem.qml | 38 ------ .../qtquickcontrols-swipedelegate-indicator.qml | 39 ------ .../doc/snippets/qtquickcontrols-swipedelegate.qml | 87 -------------- .../qtquickcontrols-swipeview-indicator.qml | 63 ---------- .../snippets/qtquickcontrols-switch-background.qml | 37 ------ .../snippets/qtquickcontrols-switch-checked.qml | 34 ------ .../qtquickcontrols-switch-contentItem.qml | 38 ------ .../snippets/qtquickcontrols-switch-disabled.qml | 34 ------ .../snippets/qtquickcontrols-switch-focused.qml | 34 ------ .../snippets/qtquickcontrols-switch-indicator.qml | 38 ------ .../doc/snippets/qtquickcontrols-switch-normal.qml | 33 ------ .../doc/snippets/qtquickcontrols-switch.qml | 33 ------ .../qtquickcontrols-switchdelegate-background.qml | 38 ------ .../qtquickcontrols-switchdelegate-contentItem.qml | 39 ------ .../qtquickcontrols-switchdelegate-indicator.qml | 39 ------ .../doc/snippets/qtquickcontrols-tabbar.qml | 64 ---------- .../doc/snippets/qtquickcontrols-tabbutton.qml | 43 ------- .../doc/snippets/qtquickcontrols-textarea.qml | 33 ------ .../qtquickcontrols-textfield-background.qml | 39 ------ .../qtquickcontrols-textfield-disabled.qml | 35 ------ .../snippets/qtquickcontrols-textfield-focused.qml | 35 ------ .../snippets/qtquickcontrols-textfield-normal.qml | 34 ------ .../doc/snippets/qtquickcontrols-textfield.qml | 33 ------ .../qtquickcontrols-toolbar-background.qml | 39 ------ .../doc/snippets/qtquickcontrols-toolbar.qml | 45 ------- .../qtquickcontrols-toolbutton-background.qml | 38 ------ .../qtquickcontrols-toolbutton-contentItem.qml | 38 ------ .../doc/snippets/qtquickcontrols-toolbutton.qml | 35 ------ .../qtquickcontrols-tooltip-background.qml | 49 -------- .../qtquickcontrols-tooltip-contentItem.qml | 49 -------- .../doc/snippets/qtquickcontrols-tooltip-hover.qml | 41 ------- .../qtquickcontrols-tooltip-pressandhold.qml | 39 ------ .../snippets/qtquickcontrols-tooltip-slider.qml | 53 --------- .../doc/snippets/qtquickcontrols-tooltip.qml | 51 -------- .../qtquickcontrols-tumbler-background.qml | 39 ------ .../qtquickcontrols-tumbler-contentItem.qml | 39 ------ .../snippets/qtquickcontrols-tumbler-delegate.qml | 47 -------- .../doc/snippets/qtquickcontrols-tumbler.qml | 33 ------ .../qtquickcontrols2-busyindicator-background.qml | 36 ++++++ .../qtquickcontrols2-busyindicator-contentItem.qml | 37 ++++++ .../snippets/qtquickcontrols2-busyindicator.qml | 32 +++++ .../qtquickcontrols2-button-background.qml | 39 ++++++ .../qtquickcontrols2-button-contentItem.qml | 39 ++++++ .../snippets/qtquickcontrols2-button-disabled.qml | 35 ++++++ .../snippets/qtquickcontrols2-button-focused.qml | 35 ++++++ .../snippets/qtquickcontrols2-button-normal.qml | 34 ++++++ .../snippets/qtquickcontrols2-button-pressed.qml | 35 ++++++ .../doc/snippets/qtquickcontrols2-button.qml | 33 ++++++ .../qtquickcontrols2-checkbox-background.qml | 37 ++++++ .../snippets/qtquickcontrols2-checkbox-checked.qml | 34 ++++++ .../qtquickcontrols2-checkbox-contentItem.qml | 38 ++++++ .../qtquickcontrols2-checkbox-disabled.qml | 34 ++++++ .../snippets/qtquickcontrols2-checkbox-focused.qml | 34 ++++++ .../qtquickcontrols2-checkbox-indicator.qml | 38 ++++++ .../snippets/qtquickcontrols2-checkbox-normal.qml | 33 ++++++ .../doc/snippets/qtquickcontrols2-checkbox.qml | 33 ++++++ .../qtquickcontrols2-checkdelegate-background.qml | 38 ++++++ .../qtquickcontrols2-checkdelegate-contentItem.qml | 39 ++++++ .../qtquickcontrols2-checkdelegate-indicator.qml | 39 ++++++ .../qtquickcontrols2-combobox-background.qml | 38 ++++++ .../qtquickcontrols2-combobox-contentItem.qml | 38 ++++++ .../qtquickcontrols2-combobox-delegate.qml | 53 +++++++++ .../snippets/qtquickcontrols2-combobox-popup.qml | 47 ++++++++ .../doc/snippets/qtquickcontrols2-combobox.qml | 43 +++++++ .../snippets/qtquickcontrols2-dial-background.qml | 37 ++++++ .../doc/snippets/qtquickcontrols2-dial-handle.qml | 41 +++++++ .../doc/snippets/qtquickcontrols2-dial.qml | 32 +++++ .../snippets/qtquickcontrols2-frame-background.qml | 38 ++++++ .../doc/snippets/qtquickcontrols2-frame.qml | 41 +++++++ .../qtquickcontrols2-groupbox-background.qml | 39 ++++++ .../qtquickcontrols2-groupbox-checkable.qml | 48 ++++++++ .../snippets/qtquickcontrols2-groupbox-label.qml | 41 +++++++ .../doc/snippets/qtquickcontrols2-groupbox.qml | 42 +++++++ .../qtquickcontrols2-itemdelegate-background.qml | 37 ++++++ .../qtquickcontrols2-itemdelegate-contentItem.qml | 38 ++++++ .../qtquickcontrols2-itemdelegate-indicator.qml | 38 ++++++ .../doc/snippets/qtquickcontrols2-itemdelegate.qml | 46 +++++++ .../snippets/qtquickcontrols2-label-background.qml | 37 ++++++ .../doc/snippets/qtquickcontrols2-label.qml | 35 ++++++ .../snippets/qtquickcontrols2-menu-contentItem.qml | 58 +++++++++ .../doc/snippets/qtquickcontrols2-menu.qml | 51 ++++++++ .../qtquickcontrols2-pageindicator-background.qml | 38 ++++++ .../qtquickcontrols2-pageindicator-contentItem.qml | 39 ++++++ .../qtquickcontrols2-pageindicator-delegate.qml | 40 +++++++ .../snippets/qtquickcontrols2-pageindicator.qml | 35 ++++++ .../snippets/qtquickcontrols2-pane-background.qml | 38 ++++++ .../doc/snippets/qtquickcontrols2-pane.qml | 41 +++++++ .../qtquickcontrols2-progressbar-background.qml | 38 ++++++ .../qtquickcontrols2-progressbar-contentItem.qml | 39 ++++++ .../qtquickcontrols2-progressbar-disabled.qml | 34 ++++++ .../qtquickcontrols2-progressbar-normal.qml | 33 ++++++ .../qtquickcontrols2-radiobutton-background.qml | 37 ++++++ .../qtquickcontrols2-radiobutton-checked.qml | 34 ++++++ .../qtquickcontrols2-radiobutton-contentItem.qml | 38 ++++++ .../qtquickcontrols2-radiobutton-disabled.qml | 34 ++++++ .../qtquickcontrols2-radiobutton-focused.qml | 34 ++++++ .../qtquickcontrols2-radiobutton-indicator.qml | 38 ++++++ .../qtquickcontrols2-radiobutton-normal.qml | 33 ++++++ .../doc/snippets/qtquickcontrols2-radiobutton.qml | 33 ++++++ .../qtquickcontrols2-radiodelegate-background.qml | 38 ++++++ .../qtquickcontrols2-radiodelegate-contentItem.qml | 39 ++++++ .../qtquickcontrols2-radiodelegate-indicator.qml | 39 ++++++ .../qtquickcontrols2-rangeslider-background.qml | 38 ++++++ .../qtquickcontrols2-rangeslider-disabled.qml | 35 ++++++ ...kcontrols2-rangeslider-first-handle-focused.qml | 35 ++++++ .../qtquickcontrols2-rangeslider-first-handle.qml | 39 ++++++ .../qtquickcontrols2-rangeslider-normal.qml | 34 ++++++ ...controls2-rangeslider-second-handle-focused.qml | 35 ++++++ .../qtquickcontrols2-rangeslider-second-handle.qml | 39 ++++++ .../doc/snippets/qtquickcontrols2-rangeslider.qml | 34 ++++++ .../snippets/qtquickcontrols2-scrollbar-active.qml | 46 +++++++ .../qtquickcontrols2-scrollbar-background.qml | 40 +++++++ .../qtquickcontrols2-scrollbar-contentItem.qml | 42 +++++++ .../doc/snippets/qtquickcontrols2-scrollbar.qml | 52 ++++++++ .../qtquickcontrols2-scrollindicator-active.qml | 46 +++++++ ...qtquickcontrols2-scrollindicator-background.qml | 40 +++++++ ...tquickcontrols2-scrollindicator-contentItem.qml | 42 +++++++ .../snippets/qtquickcontrols2-scrollindicator.qml | 52 ++++++++ .../qtquickcontrols2-slider-background.qml | 38 ++++++ .../snippets/qtquickcontrols2-slider-disabled.qml | 34 ++++++ .../snippets/qtquickcontrols2-slider-focused.qml | 34 ++++++ .../snippets/qtquickcontrols2-slider-handle.qml | 38 ++++++ .../snippets/qtquickcontrols2-slider-normal.qml | 33 ++++++ .../doc/snippets/qtquickcontrols2-slider.qml | 33 ++++++ .../qtquickcontrols2-spinbox-background.qml | 38 ++++++ .../qtquickcontrols2-spinbox-contentItem.qml | 38 ++++++ .../doc/snippets/qtquickcontrols2-spinbox-down.qml | 38 ++++++ .../snippets/qtquickcontrols2-spinbox-textual.qml | 55 +++++++++ .../doc/snippets/qtquickcontrols2-spinbox-up.qml | 38 ++++++ .../doc/snippets/qtquickcontrols2-spinbox.qml | 35 ++++++ .../qtquickcontrols2-swipedelegate-background.qml | 38 ++++++ .../qtquickcontrols2-swipedelegate-contentItem.qml | 38 ++++++ .../qtquickcontrols2-swipedelegate-indicator.qml | 39 ++++++ .../snippets/qtquickcontrols2-swipedelegate.qml | 87 ++++++++++++++ .../qtquickcontrols2-swipeview-indicator.qml | 63 ++++++++++ .../qtquickcontrols2-switch-background.qml | 37 ++++++ .../snippets/qtquickcontrols2-switch-checked.qml | 34 ++++++ .../qtquickcontrols2-switch-contentItem.qml | 38 ++++++ .../snippets/qtquickcontrols2-switch-disabled.qml | 34 ++++++ .../snippets/qtquickcontrols2-switch-focused.qml | 34 ++++++ .../snippets/qtquickcontrols2-switch-indicator.qml | 38 ++++++ .../snippets/qtquickcontrols2-switch-normal.qml | 33 ++++++ .../doc/snippets/qtquickcontrols2-switch.qml | 33 ++++++ .../qtquickcontrols2-switchdelegate-background.qml | 38 ++++++ ...qtquickcontrols2-switchdelegate-contentItem.qml | 39 ++++++ .../qtquickcontrols2-switchdelegate-indicator.qml | 39 ++++++ .../doc/snippets/qtquickcontrols2-tabbar.qml | 64 ++++++++++ .../doc/snippets/qtquickcontrols2-tabbutton.qml | 43 +++++++ .../doc/snippets/qtquickcontrols2-textarea.qml | 33 ++++++ .../qtquickcontrols2-textfield-background.qml | 39 ++++++ .../qtquickcontrols2-textfield-disabled.qml | 35 ++++++ .../qtquickcontrols2-textfield-focused.qml | 35 ++++++ .../snippets/qtquickcontrols2-textfield-normal.qml | 34 ++++++ .../doc/snippets/qtquickcontrols2-textfield.qml | 33 ++++++ .../qtquickcontrols2-toolbar-background.qml | 39 ++++++ .../doc/snippets/qtquickcontrols2-toolbar.qml | 45 +++++++ .../qtquickcontrols2-toolbutton-background.qml | 38 ++++++ .../qtquickcontrols2-toolbutton-contentItem.qml | 38 ++++++ .../doc/snippets/qtquickcontrols2-toolbutton.qml | 35 ++++++ .../qtquickcontrols2-tooltip-background.qml | 49 ++++++++ .../qtquickcontrols2-tooltip-contentItem.qml | 49 ++++++++ .../snippets/qtquickcontrols2-tooltip-hover.qml | 41 +++++++ .../qtquickcontrols2-tooltip-pressandhold.qml | 39 ++++++ .../snippets/qtquickcontrols2-tooltip-slider.qml | 53 +++++++++ .../doc/snippets/qtquickcontrols2-tooltip.qml | 51 ++++++++ .../qtquickcontrols2-tumbler-background.qml | 39 ++++++ .../qtquickcontrols2-tumbler-contentItem.qml | 39 ++++++ .../snippets/qtquickcontrols2-tumbler-delegate.qml | 47 ++++++++ .../doc/snippets/qtquickcontrols2-tumbler.qml | 33 ++++++ .../controls/doc/src/qtquickcontrols2-buttons.qdoc | 10 +- .../doc/src/qtquickcontrols2-containers.qdoc | 18 +-- .../doc/src/qtquickcontrols2-customize.qdoc | 132 ++++++++++----------- .../controls/doc/src/qtquickcontrols2-default.qdoc | 2 +- .../doc/src/qtquickcontrols2-delegates.qdoc | 4 +- .../doc/src/qtquickcontrols2-indicators.qdoc | 8 +- .../controls/doc/src/qtquickcontrols2-input.qdoc | 14 +-- .../doc/src/qtquickcontrols2-material.qdoc | 6 +- .../controls/doc/src/qtquickcontrols2-menus.qdoc | 2 +- .../doc/src/qtquickcontrols2-navigation.qdoc | 6 +- .../doc/src/qtquickcontrols2-universal.qdoc | 6 +- src/quicktemplates2/qquickapplicationwindow.cpp | 2 +- src/quicktemplates2/qquickbusyindicator.cpp | 2 +- src/quicktemplates2/qquickbutton.cpp | 10 +- src/quicktemplates2/qquickcheckbox.cpp | 8 +- src/quicktemplates2/qquickcheckdelegate.cpp | 2 +- src/quicktemplates2/qquickcombobox.cpp | 2 +- src/quicktemplates2/qquickcontrol.cpp | 2 +- src/quicktemplates2/qquickdrawer.cpp | 4 +- src/quicktemplates2/qquickframe.cpp | 4 +- src/quicktemplates2/qquickgroupbox.cpp | 8 +- src/quicktemplates2/qquickitemdelegate.cpp | 4 +- src/quicktemplates2/qquicklabel.cpp | 4 +- src/quicktemplates2/qquickmenu.cpp | 2 +- src/quicktemplates2/qquickpage.cpp | 2 +- src/quicktemplates2/qquickpageindicator.cpp | 4 +- src/quicktemplates2/qquickpane.cpp | 4 +- src/quicktemplates2/qquickpopup.cpp | 2 +- src/quicktemplates2/qquickprogressbar.cpp | 6 +- src/quicktemplates2/qquickradiobutton.cpp | 8 +- src/quicktemplates2/qquickradiodelegate.cpp | 2 +- src/quicktemplates2/qquickrangeslider.cpp | 10 +- src/quicktemplates2/qquickscrollbar.cpp | 4 +- src/quicktemplates2/qquickscrollindicator.cpp | 4 +- src/quicktemplates2/qquickslider.cpp | 8 +- src/quicktemplates2/qquickspinbox.cpp | 8 +- src/quicktemplates2/qquickstackview.cpp | 2 +- src/quicktemplates2/qquickswipedelegate.cpp | 6 +- src/quicktemplates2/qquickswipeview.cpp | 4 +- src/quicktemplates2/qquickswitch.cpp | 10 +- src/quicktemplates2/qquickswitchdelegate.cpp | 2 +- src/quicktemplates2/qquicktabbar.cpp | 4 +- src/quicktemplates2/qquicktabbutton.cpp | 4 +- src/quicktemplates2/qquicktextfield.cpp | 6 +- src/quicktemplates2/qquicktoolbar.cpp | 2 +- src/quicktemplates2/qquicktooltip.cpp | 12 +- src/quicktemplates2/qquicktumbler.cpp | 2 +- .../gifs/data/qtquickcontrols-busyindicator.qml | 57 --------- tests/manual/gifs/data/qtquickcontrols-button.qml | 55 --------- .../gifs/data/qtquickcontrols-checkdelegate.qml | 64 ---------- .../gifs/data/qtquickcontrols-itemdelegate.qml | 63 ---------- tests/manual/gifs/data/qtquickcontrols-menu.qml | 75 ------------ .../gifs/data/qtquickcontrols-radiodelegate.qml | 70 ----------- .../gifs/data/qtquickcontrols-rangeslider.qml | 56 --------- tests/manual/gifs/data/qtquickcontrols-slider.qml | 56 --------- .../data/qtquickcontrols-swipedelegate-behind.qml | 71 ----------- ...uickcontrols-swipedelegate-leading-trailing.qml | 83 ------------- .../gifs/data/qtquickcontrols-swipedelegate.qml | 82 ------------- tests/manual/gifs/data/qtquickcontrols-switch.qml | 54 --------- .../gifs/data/qtquickcontrols-switchdelegate.qml | 64 ---------- tests/manual/gifs/data/qtquickcontrols-tabbar.qml | 58 --------- .../gifs/data/qtquickcontrols-tumbler-wrap.qml | 120 ------------------- .../gifs/data/qtquickcontrols2-busyindicator.qml | 57 +++++++++ tests/manual/gifs/data/qtquickcontrols2-button.qml | 55 +++++++++ .../gifs/data/qtquickcontrols2-checkdelegate.qml | 64 ++++++++++ .../gifs/data/qtquickcontrols2-itemdelegate.qml | 63 ++++++++++ tests/manual/gifs/data/qtquickcontrols2-menu.qml | 75 ++++++++++++ .../gifs/data/qtquickcontrols2-radiodelegate.qml | 70 +++++++++++ .../gifs/data/qtquickcontrols2-rangeslider.qml | 56 +++++++++ tests/manual/gifs/data/qtquickcontrols2-slider.qml | 56 +++++++++ .../data/qtquickcontrols2-swipedelegate-behind.qml | 71 +++++++++++ ...ickcontrols2-swipedelegate-leading-trailing.qml | 83 +++++++++++++ .../gifs/data/qtquickcontrols2-swipedelegate.qml | 82 +++++++++++++ tests/manual/gifs/data/qtquickcontrols2-switch.qml | 54 +++++++++ .../gifs/data/qtquickcontrols2-switchdelegate.qml | 64 ++++++++++ tests/manual/gifs/data/qtquickcontrols2-tabbar.qml | 58 +++++++++ .../gifs/data/qtquickcontrols2-tumbler-wrap.qml | 120 +++++++++++++++++++ tests/manual/gifs/tst_gifs.cpp | 24 ++-- 723 files changed, 6465 insertions(+), 6465 deletions(-) delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter1.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2-listview-header.gif delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-listview-header.gif delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-view-margins.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3.gif delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-long-message.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-message-timestamp.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4.gif delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-dark.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-test.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal-dark.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-dark.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-test.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal-dark.png delete mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter1.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2-listview-header.gif create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-listview-header.gif create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-view-margins.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3.gif create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-long-message.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-message-timestamp.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4.gif create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-dark.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-test.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal-dark.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-dark.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-test.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal-dark.png create mode 100644 examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal.png delete mode 100644 examples/controls/gallery/doc/images/qtquickcontrols-gallery-drawer.png delete mode 100644 examples/controls/gallery/doc/images/qtquickcontrols-gallery-menu.png delete mode 100644 examples/controls/gallery/doc/images/qtquickcontrols-gallery-welcome.png create mode 100644 examples/controls/gallery/doc/images/qtquickcontrols2-gallery-drawer.png create mode 100644 examples/controls/gallery/doc/images/qtquickcontrols2-gallery-menu.png create mode 100644 examples/controls/gallery/doc/images/qtquickcontrols2-gallery-welcome.png delete mode 100644 examples/controls/gallery/doc/src/qtquickcontrols-gallery.qdoc create mode 100644 examples/controls/gallery/doc/src/qtquickcontrols2-gallery.qdoc delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-applicationwindow-wireframe.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-busyindicator-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-busyindicator-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-busyindicator.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-busyindicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button-pressed.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-button.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox-checked.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkbox.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkdelegate-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkdelegate-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkdelegate-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-checkdelegate.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-combobox-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-combobox-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-combobox-delegate.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-combobox-popup.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-combobox.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-control.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-default.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-dial-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-dial-handle.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-dial.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-drawer-expanded-wireframe.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-drawer-wireframe.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-frame-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-frame.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-groupbox-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-groupbox-checkable.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-groupbox-label.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-groupbox.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-itemdelegate-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-itemdelegate-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-itemdelegate-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-itemdelegate.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-itemdelegate.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-label-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-label.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-material-button.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-material-dark.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-material.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-menu-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-menu.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-menu.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-page-wireframe.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-pageindicator-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-pageindicator-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-pageindicator-delegate.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-pageindicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-pane-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-pane.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-popup-transformorigin.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-progressbar-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-progressbar-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-progressbar-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-progressbar-indeterminate.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-progressbar-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton-checked.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiobutton.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiodelegate-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiodelegate-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiodelegate-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-radiodelegate.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-rangeslider.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-scrollbar-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-scrollbar-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-scrollbar.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-scrollindicator-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-scrollindicator-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-scrollindicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-slider-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-slider-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-slider-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-slider-handle.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-slider-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-slider.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-slider.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-spinbox-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-spinbox-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-spinbox-down.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-spinbox-textual.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-spinbox-up.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-spinbox.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-stackview-wireframe.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipedelegate-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipedelegate-behind.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipedelegate-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipedelegate-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipedelegate-leading-trailing.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipedelegate.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipeview-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-swipeview-wireframe.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch-checked.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switch.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switchdelegate-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switchdelegate-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switchdelegate-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-switchdelegate.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tabbar-wireframe.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tabbar.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tabbar.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tabbutton.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-textarea.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-textfield-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-textfield-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-textfield-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-textfield-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-textfield.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-togglebutton-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-togglebutton-checked.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-togglebutton-disabled.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-togglebutton-focused.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-togglebutton-indicator.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-togglebutton-label.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-togglebutton-normal.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-toolbar-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-toolbar.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-toolbutton-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-toolbutton-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-toolbutton.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tooltip-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tooltip-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tooltip-delay.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tooltip-hover.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tooltip-pressandhold.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tooltip-slider.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tooltip.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tumbler-background.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tumbler-contentItem.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tumbler-delegate.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tumbler-wrap.gif delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-tumbler.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-universal-button.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-universal-dark.png delete mode 100644 src/imports/controls/doc/images/qtquickcontrols-universal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-applicationwindow-wireframe.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-busyindicator-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-busyindicator-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-busyindicator.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-busyindicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button-pressed.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-button.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox-checked.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkbox.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-checkdelegate.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-combobox-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-combobox-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-combobox-delegate.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-combobox-popup.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-combobox.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-control.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-default.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-dial-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-dial-handle.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-dial.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-drawer-expanded-wireframe.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-drawer-wireframe.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-frame-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-frame.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-groupbox-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-groupbox-checkable.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-groupbox-label.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-groupbox.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-label-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-label.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-material-button.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-material-dark.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-material.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-menu-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-menu.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-menu.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-page-wireframe.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-pageindicator-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-pageindicator-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-pageindicator-delegate.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-pageindicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-pane-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-pane.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-popup-transformorigin.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-progressbar-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-progressbar-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-progressbar-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-progressbar-indeterminate.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-progressbar-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton-checked.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiobutton.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-radiodelegate.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-rangeslider.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-scrollbar-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-scrollbar-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-scrollbar.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-scrollindicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-slider-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-slider-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-slider-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-slider-handle.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-slider-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-slider.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-slider.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-spinbox-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-spinbox-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-spinbox-down.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-spinbox-textual.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-spinbox-up.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-spinbox.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-stackview-wireframe.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-behind.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-leading-trailing.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipedelegate.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipeview-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-swipeview-wireframe.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch-checked.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switch.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-switchdelegate.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tabbar-wireframe.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tabbar.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tabbar.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tabbutton.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-textarea.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-textfield-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-textfield-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-textfield-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-textfield-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-textfield.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-togglebutton-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-togglebutton-checked.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-togglebutton-disabled.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-togglebutton-focused.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-togglebutton-indicator.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-togglebutton-label.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-togglebutton-normal.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-toolbar-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-toolbar.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-toolbutton-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-toolbutton-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-toolbutton.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tooltip-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tooltip-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tooltip-delay.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tooltip-hover.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tooltip-pressandhold.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tooltip-slider.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tooltip.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tumbler-background.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tumbler-contentItem.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tumbler-delegate.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tumbler-wrap.gif create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-tumbler.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-universal-button.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-universal-dark.png create mode 100644 src/imports/controls/doc/images/qtquickcontrols2-universal.png delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-busyindicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-button-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-button-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-button-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-button-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-button-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-button-pressed.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-button.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox-checked.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkbox.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-combobox-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-combobox-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-combobox-delegate.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-combobox-popup.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-combobox.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-dial-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-dial-handle.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-dial.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-frame-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-frame.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-groupbox-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-groupbox-checkable.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-groupbox-label.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-groupbox.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-label-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-label.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-menu-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-menu.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-delegate.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-pageindicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-pane-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-pane.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-progressbar-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-progressbar-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-progressbar-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-progressbar-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-checked.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiobutton.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-rangeslider.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-active.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollbar.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-active.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-slider-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-slider-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-slider-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-slider-handle.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-slider-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-slider.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-spinbox-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-spinbox-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-spinbox-down.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-spinbox-textual.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-spinbox-up.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-spinbox.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-swipeview-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch-checked.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switch.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-indicator.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tabbar.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tabbutton.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-textarea.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-textfield-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-textfield-disabled.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-textfield-focused.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-textfield-normal.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-textfield.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-toolbar-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-toolbar.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-toolbutton.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tooltip-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tooltip-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tooltip-hover.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tooltip-pressandhold.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tooltip-slider.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tooltip.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tumbler-background.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tumbler-contentItem.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tumbler-delegate.qml delete mode 100644 src/imports/controls/doc/snippets/qtquickcontrols-tumbler.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-button-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-button-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-button-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-button-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-button-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-button-pressed.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-button.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-checked.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkbox.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-combobox-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-combobox-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-combobox-delegate.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-combobox-popup.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-combobox.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-dial-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-dial-handle.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-dial.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-frame-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-frame.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-checkable.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-label.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-groupbox.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-label-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-label.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-menu-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-menu.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-delegate.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-pane-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-pane.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-checked.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-active.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-active.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-slider-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-slider-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-slider-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-slider-handle.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-slider-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-slider.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-down.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-textual.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-up.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-spinbox.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-swipeview-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch-checked.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switch.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-indicator.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tabbar.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tabbutton.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-textarea.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-textfield-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-textfield-disabled.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-textfield-focused.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-textfield-normal.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-textfield.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-toolbar-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-toolbar.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-hover.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-pressandhold.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-slider.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tooltip.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-background.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-contentItem.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-delegate.qml create mode 100644 src/imports/controls/doc/snippets/qtquickcontrols2-tumbler.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-busyindicator.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-button.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-checkdelegate.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-itemdelegate.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-menu.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-radiodelegate.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-rangeslider.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-slider.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-swipedelegate-behind.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-swipedelegate-leading-trailing.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-swipedelegate.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-switch.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-switchdelegate.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-tabbar.qml delete mode 100644 tests/manual/gifs/data/qtquickcontrols-tumbler-wrap.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-busyindicator.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-button.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-checkdelegate.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-itemdelegate.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-menu.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-radiodelegate.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-rangeslider.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-slider.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-swipedelegate-behind.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-swipedelegate-leading-trailing.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-swipedelegate.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-switch.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-switchdelegate.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-tabbar.qml create mode 100644 tests/manual/gifs/data/qtquickcontrols2-tumbler-wrap.qml diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter1.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter1.png deleted file mode 100644 index ee03535f..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter1.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2-listview-header.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2-listview-header.gif deleted file mode 100644 index 17096519..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2-listview-header.gif and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2.png deleted file mode 100644 index c2c49e3e..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter2.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-listview-header.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-listview-header.gif deleted file mode 100644 index 07eb93b1..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-listview-header.gif and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-view-margins.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-view-margins.png deleted file mode 100644 index 9ca0fe69..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3-view-margins.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3.gif deleted file mode 100644 index 1763b1f3..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter3.gif and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-long-message.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-long-message.png deleted file mode 100644 index acbe1886..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-long-message.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-message-timestamp.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-message-timestamp.png deleted file mode 100644 index e4a578cc..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4-message-timestamp.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4.gif deleted file mode 100644 index dd47c4cb..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter4.gif and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-dark.png deleted file mode 100644 index 9a3d00bd..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-dark.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-test.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-test.png deleted file mode 100644 index 501ea772..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material-test.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material.png deleted file mode 100644 index 57782b58..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-material.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal-dark.png deleted file mode 100644 index 22183c82..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal-dark.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal.png deleted file mode 100644 index 327076d3..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-contacts-universal.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-dark.png deleted file mode 100644 index 19a7b685..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-dark.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-test.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-test.png deleted file mode 100644 index 4cc4caa3..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material-test.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material.png deleted file mode 100644 index bdc9bcd3..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-material.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal-dark.png deleted file mode 100644 index f10d6cb6..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal-dark.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal.png b/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal.png deleted file mode 100644 index a6913c3c..00000000 Binary files a/examples/controls/chattutorial/doc/images/qtquickcontrols-chattutorial-chapter5-conversations-universal.png and /dev/null differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter1.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter1.png new file mode 100644 index 00000000..ee03535f Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter1.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2-listview-header.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2-listview-header.gif new file mode 100644 index 00000000..17096519 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2-listview-header.gif differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2.png new file mode 100644 index 00000000..c2c49e3e Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter2.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-listview-header.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-listview-header.gif new file mode 100644 index 00000000..07eb93b1 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-listview-header.gif differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-view-margins.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-view-margins.png new file mode 100644 index 00000000..9ca0fe69 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3-view-margins.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3.gif new file mode 100644 index 00000000..1763b1f3 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter3.gif differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-long-message.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-long-message.png new file mode 100644 index 00000000..acbe1886 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-long-message.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-message-timestamp.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-message-timestamp.png new file mode 100644 index 00000000..e4a578cc Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4-message-timestamp.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4.gif b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4.gif new file mode 100644 index 00000000..dd47c4cb Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter4.gif differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-dark.png new file mode 100644 index 00000000..9a3d00bd Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-dark.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-test.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-test.png new file mode 100644 index 00000000..501ea772 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material-test.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material.png new file mode 100644 index 00000000..57782b58 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-material.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal-dark.png new file mode 100644 index 00000000..22183c82 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal-dark.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal.png new file mode 100644 index 00000000..327076d3 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-contacts-universal.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-dark.png new file mode 100644 index 00000000..19a7b685 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-dark.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-test.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-test.png new file mode 100644 index 00000000..4cc4caa3 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material-test.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material.png new file mode 100644 index 00000000..bdc9bcd3 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-material.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal-dark.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal-dark.png new file mode 100644 index 00000000..f10d6cb6 Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal-dark.png differ diff --git a/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal.png b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal.png new file mode 100644 index 00000000..a6913c3c Binary files /dev/null and b/examples/controls/chattutorial/doc/images/qtquickcontrols2-chattutorial-chapter5-conversations-universal.png differ diff --git a/examples/controls/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc b/examples/controls/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc index f4fc9f70..e83f84c2 100644 --- a/examples/controls/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc +++ b/examples/controls/chattutorial/doc/src/qtquickcontrols2-chattutorial.qdoc @@ -187,7 +187,7 @@ This line determines where the example will be copied to when running Now we can build and run the application: -\image qtquickcontrols-chattutorial-chapter1.png +\image qtquickcontrols2-chattutorial-chapter1.png \section1 Chapter 2: Lists @@ -261,7 +261,7 @@ The image will be \c 40 pixels wide and \c 40 pixels high. We'll base the height of the delegate on the image's height, so that we don't have any empty vertical space. -\image qtquickcontrols-chattutorial-chapter2.png +\image qtquickcontrols2-chattutorial-chapter2.png \section1 Chapter 3: Navigation @@ -312,7 +312,7 @@ In chapter 2, we added a ListView below the header. If you run the application for that chapter, you'll see that the contents of the view can be scrolled over the top of the header: -\image qtquickcontrols-chattutorial-chapter2-listview-header.gif +\image qtquickcontrols2-chattutorial-chapter2-listview-header.gif This is not that nice, especially if the text in the delegates is long enough that it reaches the text in the header. What we @@ -332,7 +332,7 @@ usual, comes from the application style. Here it is in action: \printuntil } \printuntil } -\image qtquickcontrols-chattutorial-chapter3-listview-header.gif +\image qtquickcontrols2-chattutorial-chapter3-listview-header.gif It has no layout of its own, so we center the label within it ourselves. @@ -436,7 +436,7 @@ the view. This gives us a nice alignment with the placeholder text in the \omit TODO: recreate image \endomit -\image qtquickcontrols-chattutorial-chapter3-view-margins.png +\image qtquickcontrols2-chattutorial-chapter3-view-margins.png Next, we set \l {ListView::}{displayMarginBeginning} and \l {ListView::}{displayMarginEnd}. These properties ensure that the delegates @@ -488,7 +488,7 @@ does not go outside of the screen. Finally, the button is only enabled when there is actually a message to send. -\image qtquickcontrols-chattutorial-chapter3.gif +\image qtquickcontrols2-chattutorial-chapter3.gif \section1 Chapter 4: Models @@ -666,7 +666,7 @@ timestamp that we want to display below every message: \printuntil } \printuntil } -\image qtquickcontrols-chattutorial-chapter4-message-timestamp.png +\image qtquickcontrols2-chattutorial-chapter4-message-timestamp.png Now that we have a proper model, we can use its \c recipient role in the expression for the \c sentByMe property. @@ -688,7 +688,7 @@ smaller value. However, in the image below, the message text is quite long, so the smaller value (the width of the view) is chosen, ensuring that the text stops at the opposite edge of the screen: -\image qtquickcontrols-chattutorial-chapter4-long-message.png +\image qtquickcontrols2-chattutorial-chapter4-long-message.png In order to display the timestamp for each message that we discussed earlier, we use a Label. The date and time are formatted with @@ -704,7 +704,7 @@ First, we call the invokable \c sendMessage() function of the model, which inserts a new row into the Conversations database table. Then, we clear the text field to make way for future input. -\image qtquickcontrols-chattutorial-chapter4.gif +\image qtquickcontrols2-chattutorial-chapter4.gif \section1 Chapter 5: Styling @@ -717,12 +717,12 @@ So far, we've just been testing the application with the Default style. If we run it with the \l {Material Style}, for example, we'll immediately see some issues. Here is the Contacts page: -\image qtquickcontrols-chattutorial-chapter5-contacts-material-test.png +\image qtquickcontrols2-chattutorial-chapter5-contacts-material-test.png The header text is black on a dark blue background, which is very difficult to read. The same thing occurs with the Conversations page: -\image qtquickcontrols-chattutorial-chapter5-conversations-material-test.png +\image qtquickcontrols2-chattutorial-chapter5-conversations-material-test.png The solution is to tell the toolbar that it should use the \e "Dark" theme, so that this information is propagated to its children, allowing them to switch @@ -792,13 +792,13 @@ We'll make the same changes to \c ConversationPage.qml: Now both pages look correct: -\image qtquickcontrols-chattutorial-chapter5-contacts-material.png -\image qtquickcontrols-chattutorial-chapter5-conversations-material.png +\image qtquickcontrols2-chattutorial-chapter5-contacts-material.png +\image qtquickcontrols2-chattutorial-chapter5-conversations-material.png Let's try out the Universal style: -\image qtquickcontrols-chattutorial-chapter5-contacts-universal.png -\image qtquickcontrols-chattutorial-chapter5-conversations-universal.png +\image qtquickcontrols2-chattutorial-chapter5-contacts-universal.png +\image qtquickcontrols2-chattutorial-chapter5-conversations-universal.png No issues there. For a relatively simple application such as this one, there should be very few adjustments necessary when switching styles. @@ -817,8 +817,8 @@ Theme=Dark Once this is done, build and run the application. This is what you should see: -\image qtquickcontrols-chattutorial-chapter5-contacts-material-dark.png -\image qtquickcontrols-chattutorial-chapter5-conversations-material-dark.png +\image qtquickcontrols2-chattutorial-chapter5-contacts-material-dark.png +\image qtquickcontrols2-chattutorial-chapter5-conversations-material-dark.png Both pages look fine. Now add an entry for the Universal style: @@ -829,8 +829,8 @@ Theme=Dark After building and running the application, you should see these results: -\image qtquickcontrols-chattutorial-chapter5-contacts-universal-dark.png -\image qtquickcontrols-chattutorial-chapter5-conversations-universal-dark.png +\image qtquickcontrols2-chattutorial-chapter5-contacts-universal-dark.png +\image qtquickcontrols2-chattutorial-chapter5-conversations-universal-dark.png \section1 Summary diff --git a/examples/controls/gallery/doc/images/qtquickcontrols-gallery-drawer.png b/examples/controls/gallery/doc/images/qtquickcontrols-gallery-drawer.png deleted file mode 100644 index 57ec1026..00000000 Binary files a/examples/controls/gallery/doc/images/qtquickcontrols-gallery-drawer.png and /dev/null differ diff --git a/examples/controls/gallery/doc/images/qtquickcontrols-gallery-menu.png b/examples/controls/gallery/doc/images/qtquickcontrols-gallery-menu.png deleted file mode 100644 index 5b34264e..00000000 Binary files a/examples/controls/gallery/doc/images/qtquickcontrols-gallery-menu.png and /dev/null differ diff --git a/examples/controls/gallery/doc/images/qtquickcontrols-gallery-welcome.png b/examples/controls/gallery/doc/images/qtquickcontrols-gallery-welcome.png deleted file mode 100644 index 5c2bb682..00000000 Binary files a/examples/controls/gallery/doc/images/qtquickcontrols-gallery-welcome.png and /dev/null differ diff --git a/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-drawer.png b/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-drawer.png new file mode 100644 index 00000000..57ec1026 Binary files /dev/null and b/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-drawer.png differ diff --git a/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-menu.png b/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-menu.png new file mode 100644 index 00000000..5b34264e Binary files /dev/null and b/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-menu.png differ diff --git a/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-welcome.png b/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-welcome.png new file mode 100644 index 00000000..5c2bb682 Binary files /dev/null and b/examples/controls/gallery/doc/images/qtquickcontrols2-gallery-welcome.png differ diff --git a/examples/controls/gallery/doc/src/qtquickcontrols-gallery.qdoc b/examples/controls/gallery/doc/src/qtquickcontrols-gallery.qdoc deleted file mode 100644 index b1420101..00000000 --- a/examples/controls/gallery/doc/src/qtquickcontrols-gallery.qdoc +++ /dev/null @@ -1,61 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -/*! - \example gallery - \title Qt Quick Controls 2 - Gallery - \ingroup qtquickcontrols2-examples - \brief A gallery of controls - - \raw HTML -
- -
- \endraw - \image qtquickcontrols-gallery-welcome.png - \caption Welcome Screen - \raw HTML - - \endraw - \image qtquickcontrols-gallery-drawer.png - \caption Side Drawer - \raw HTML - - \endraw - \image qtquickcontrols-gallery-menu.png - \caption Options Menu - \raw HTML -
- \endraw - - The gallery example is a simple application with a drawer menu that contains - all the \l {Qt Quick Controls 2}. Each menu item opens a page that shows the - graphical appearance of a control, allows you to interact with the control, - and explains in which circumstances it is handy to use this control. - - \include examples-run.qdocinc -*/ diff --git a/examples/controls/gallery/doc/src/qtquickcontrols2-gallery.qdoc b/examples/controls/gallery/doc/src/qtquickcontrols2-gallery.qdoc new file mode 100644 index 00000000..2f43472f --- /dev/null +++ b/examples/controls/gallery/doc/src/qtquickcontrols2-gallery.qdoc @@ -0,0 +1,61 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +/*! + \example gallery + \title Qt Quick Controls 2 - Gallery + \ingroup qtquickcontrols2-examples + \brief A gallery of controls + + \raw HTML +
+ +
+ \endraw + \image qtquickcontrols2-gallery-welcome.png + \caption Welcome Screen + \raw HTML + + \endraw + \image qtquickcontrols2-gallery-drawer.png + \caption Side Drawer + \raw HTML + + \endraw + \image qtquickcontrols2-gallery-menu.png + \caption Options Menu + \raw HTML +
+ \endraw + + The gallery example is a simple application with a drawer menu that contains + all the \l {Qt Quick Controls 2}. Each menu item opens a page that shows the + graphical appearance of a control, allows you to interact with the control, + and explains in which circumstances it is handy to use this control. + + \include examples-run.qdocinc +*/ diff --git a/src/imports/controls/doc/images/qtquickcontrols-applicationwindow-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols-applicationwindow-wireframe.png deleted file mode 100644 index f612c243..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-applicationwindow-wireframe.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-busyindicator-background.png b/src/imports/controls/doc/images/qtquickcontrols-busyindicator-background.png deleted file mode 100644 index 03cf98d0..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-busyindicator-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-busyindicator-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-busyindicator-contentItem.png deleted file mode 100644 index fb14cb86..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-busyindicator-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-busyindicator.gif b/src/imports/controls/doc/images/qtquickcontrols-busyindicator.gif deleted file mode 100644 index 31ab2d1c..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-busyindicator.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-busyindicator.png b/src/imports/controls/doc/images/qtquickcontrols-busyindicator.png deleted file mode 100644 index e631df32..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-busyindicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button-background.png b/src/imports/controls/doc/images/qtquickcontrols-button-background.png deleted file mode 100644 index c2703157..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-button-contentItem.png deleted file mode 100644 index 73d8f2fb..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-button-disabled.png deleted file mode 100644 index 33638d1e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button-focused.png b/src/imports/controls/doc/images/qtquickcontrols-button-focused.png deleted file mode 100644 index 24d2cd06..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button-normal.png b/src/imports/controls/doc/images/qtquickcontrols-button-normal.png deleted file mode 100644 index 9a5ea80e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button-pressed.png b/src/imports/controls/doc/images/qtquickcontrols-button-pressed.png deleted file mode 100644 index c88d57b0..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button-pressed.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button.gif b/src/imports/controls/doc/images/qtquickcontrols-button.gif deleted file mode 100644 index 89dcba31..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-button.png b/src/imports/controls/doc/images/qtquickcontrols-button.png deleted file mode 100644 index d8a39e55..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-button.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox-background.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox-background.png deleted file mode 100644 index 4d24fa2f..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox-checked.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox-checked.png deleted file mode 100644 index 8620b0c2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox-checked.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox-contentItem.png deleted file mode 100644 index d5a1ef2e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox-disabled.png deleted file mode 100644 index 63669b29..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox-focused.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox-focused.png deleted file mode 100644 index ea49c721..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox-indicator.png deleted file mode 100644 index fe6cd7a2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox-normal.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox-normal.png deleted file mode 100644 index b185fc99..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkbox.png b/src/imports/controls/doc/images/qtquickcontrols-checkbox.png deleted file mode 100644 index a824949c..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkbox.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-background.png deleted file mode 100644 index 79023922..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-contentItem.png deleted file mode 100644 index 29d900a8..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-indicator.png deleted file mode 100644 index e1708413..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate.gif b/src/imports/controls/doc/images/qtquickcontrols-checkdelegate.gif deleted file mode 100644 index d379f63c..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-checkdelegate.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-combobox-background.png b/src/imports/controls/doc/images/qtquickcontrols-combobox-background.png deleted file mode 100644 index 1930034b..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-combobox-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-combobox-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-combobox-contentItem.png deleted file mode 100644 index 08c7bfc8..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-combobox-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-combobox-delegate.png b/src/imports/controls/doc/images/qtquickcontrols-combobox-delegate.png deleted file mode 100644 index d76776cf..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-combobox-delegate.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-combobox-popup.png b/src/imports/controls/doc/images/qtquickcontrols-combobox-popup.png deleted file mode 100644 index 5cb32247..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-combobox-popup.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-combobox.png b/src/imports/controls/doc/images/qtquickcontrols-combobox.png deleted file mode 100644 index e687fb0e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-combobox.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-control.png b/src/imports/controls/doc/images/qtquickcontrols-control.png deleted file mode 100644 index eb5ee349..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-control.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-default.png b/src/imports/controls/doc/images/qtquickcontrols-default.png deleted file mode 100644 index 144ceacb..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-default.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-dial-background.png b/src/imports/controls/doc/images/qtquickcontrols-dial-background.png deleted file mode 100644 index ca6c9283..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-dial-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-dial-handle.png b/src/imports/controls/doc/images/qtquickcontrols-dial-handle.png deleted file mode 100644 index b9a8e0d8..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-dial-handle.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-dial.png b/src/imports/controls/doc/images/qtquickcontrols-dial.png deleted file mode 100644 index dfe37f87..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-dial.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-drawer-expanded-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols-drawer-expanded-wireframe.png deleted file mode 100644 index 8a8078bf..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-drawer-expanded-wireframe.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-drawer-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols-drawer-wireframe.png deleted file mode 100644 index d1ef1801..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-drawer-wireframe.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-frame-background.png b/src/imports/controls/doc/images/qtquickcontrols-frame-background.png deleted file mode 100644 index 75ad77bd..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-frame-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-frame.png b/src/imports/controls/doc/images/qtquickcontrols-frame.png deleted file mode 100644 index dc14acaf..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-frame.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-groupbox-background.png b/src/imports/controls/doc/images/qtquickcontrols-groupbox-background.png deleted file mode 100644 index baec44d5..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-groupbox-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-groupbox-checkable.png b/src/imports/controls/doc/images/qtquickcontrols-groupbox-checkable.png deleted file mode 100644 index 9b3f32b1..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-groupbox-checkable.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-groupbox-label.png b/src/imports/controls/doc/images/qtquickcontrols-groupbox-label.png deleted file mode 100644 index ea4dfb32..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-groupbox-label.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-groupbox.png b/src/imports/controls/doc/images/qtquickcontrols-groupbox.png deleted file mode 100644 index c0fc92c7..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-groupbox.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-background.png deleted file mode 100644 index 8a97d8ee..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-contentItem.png deleted file mode 100644 index 89f094c6..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-indicator.png deleted file mode 100644 index 029abb00..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate.gif b/src/imports/controls/doc/images/qtquickcontrols-itemdelegate.gif deleted file mode 100644 index 0e8554ff..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate.png b/src/imports/controls/doc/images/qtquickcontrols-itemdelegate.png deleted file mode 100644 index 456a0d55..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-itemdelegate.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-label-background.png b/src/imports/controls/doc/images/qtquickcontrols-label-background.png deleted file mode 100644 index 34a638d6..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-label-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-label.png b/src/imports/controls/doc/images/qtquickcontrols-label.png deleted file mode 100644 index 961ce3e3..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-label.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-material-button.png b/src/imports/controls/doc/images/qtquickcontrols-material-button.png deleted file mode 100644 index 5181d8b1..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-material-button.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-material-dark.png b/src/imports/controls/doc/images/qtquickcontrols-material-dark.png deleted file mode 100644 index 8afb2cd6..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-material-dark.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-material.png b/src/imports/controls/doc/images/qtquickcontrols-material.png deleted file mode 100644 index d7ce0e88..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-material.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-menu-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-menu-contentItem.png deleted file mode 100644 index 4dcf1fac..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-menu-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-menu.gif b/src/imports/controls/doc/images/qtquickcontrols-menu.gif deleted file mode 100644 index 93a873a3..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-menu.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-menu.png b/src/imports/controls/doc/images/qtquickcontrols-menu.png deleted file mode 100644 index b6446d39..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-menu.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-page-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols-page-wireframe.png deleted file mode 100644 index f612c243..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-page-wireframe.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-pageindicator-background.png b/src/imports/controls/doc/images/qtquickcontrols-pageindicator-background.png deleted file mode 100644 index 756b87f1..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-pageindicator-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-pageindicator-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-pageindicator-contentItem.png deleted file mode 100644 index cfce4ffb..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-pageindicator-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-pageindicator-delegate.png b/src/imports/controls/doc/images/qtquickcontrols-pageindicator-delegate.png deleted file mode 100644 index a1e9a8cd..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-pageindicator-delegate.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-pageindicator.png b/src/imports/controls/doc/images/qtquickcontrols-pageindicator.png deleted file mode 100644 index 872012d0..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-pageindicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-pane-background.png b/src/imports/controls/doc/images/qtquickcontrols-pane-background.png deleted file mode 100644 index a379d915..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-pane-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-pane.png b/src/imports/controls/doc/images/qtquickcontrols-pane.png deleted file mode 100644 index fe534424..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-pane.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-popup-transformorigin.png b/src/imports/controls/doc/images/qtquickcontrols-popup-transformorigin.png deleted file mode 100644 index 4af320fb..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-popup-transformorigin.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-progressbar-background.png b/src/imports/controls/doc/images/qtquickcontrols-progressbar-background.png deleted file mode 100644 index 59e81b2b..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-progressbar-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-progressbar-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-progressbar-contentItem.png deleted file mode 100644 index 9ce19e92..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-progressbar-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-progressbar-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-progressbar-disabled.png deleted file mode 100644 index 9ce19e92..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-progressbar-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-progressbar-indeterminate.png b/src/imports/controls/doc/images/qtquickcontrols-progressbar-indeterminate.png deleted file mode 100644 index ec2e9ae9..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-progressbar-indeterminate.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-progressbar-normal.png b/src/imports/controls/doc/images/qtquickcontrols-progressbar-normal.png deleted file mode 100644 index 9ce19e92..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-progressbar-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-background.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton-background.png deleted file mode 100644 index 30295394..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-checked.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton-checked.png deleted file mode 100644 index 8f5af513..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-checked.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton-contentItem.png deleted file mode 100644 index 457555b7..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton-disabled.png deleted file mode 100644 index 626cd616..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-focused.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton-focused.png deleted file mode 100644 index 797e50a9..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton-indicator.png deleted file mode 100644 index 0d78a0d5..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-normal.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton-normal.png deleted file mode 100644 index f8d0828b..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiobutton.png b/src/imports/controls/doc/images/qtquickcontrols-radiobutton.png deleted file mode 100644 index 6c217968..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiobutton.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-background.png deleted file mode 100644 index f9ff48c2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-contentItem.png deleted file mode 100644 index 9ede889f..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-indicator.png deleted file mode 100644 index 9d8cbdbd..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate.gif b/src/imports/controls/doc/images/qtquickcontrols-radiodelegate.gif deleted file mode 100644 index 851064e9..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-radiodelegate.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-background.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider-background.png deleted file mode 100644 index c045fdbb..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider-disabled.png deleted file mode 100644 index abb033c2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle-focused.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle-focused.png deleted file mode 100644 index abb033c2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle.png deleted file mode 100644 index fb246db3..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-first-handle.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-normal.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider-normal.png deleted file mode 100644 index abb033c2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle-focused.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle-focused.png deleted file mode 100644 index abb033c2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle.png deleted file mode 100644 index a33a6de2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider-second-handle.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider.gif b/src/imports/controls/doc/images/qtquickcontrols-rangeslider.gif deleted file mode 100644 index 394e8085..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-rangeslider.png b/src/imports/controls/doc/images/qtquickcontrols-rangeslider.png deleted file mode 100644 index abb033c2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-rangeslider.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-scrollbar-background.png b/src/imports/controls/doc/images/qtquickcontrols-scrollbar-background.png deleted file mode 100644 index 0b1aa171..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-scrollbar-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-scrollbar-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-scrollbar-contentItem.png deleted file mode 100644 index 5d916e66..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-scrollbar-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-scrollbar.png b/src/imports/controls/doc/images/qtquickcontrols-scrollbar.png deleted file mode 100644 index b1abafb5..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-scrollbar.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-scrollindicator-background.png b/src/imports/controls/doc/images/qtquickcontrols-scrollindicator-background.png deleted file mode 100644 index e9fa04c7..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-scrollindicator-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-scrollindicator-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-scrollindicator-contentItem.png deleted file mode 100644 index 99266362..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-scrollindicator-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-scrollindicator.png b/src/imports/controls/doc/images/qtquickcontrols-scrollindicator.png deleted file mode 100644 index ea0923cc..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-scrollindicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-slider-background.png b/src/imports/controls/doc/images/qtquickcontrols-slider-background.png deleted file mode 100644 index 23a754c3..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-slider-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-slider-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-slider-disabled.png deleted file mode 100644 index 2e27a604..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-slider-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-slider-focused.png b/src/imports/controls/doc/images/qtquickcontrols-slider-focused.png deleted file mode 100644 index 2e27a604..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-slider-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-slider-handle.png b/src/imports/controls/doc/images/qtquickcontrols-slider-handle.png deleted file mode 100644 index 7729ef07..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-slider-handle.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-slider-normal.png b/src/imports/controls/doc/images/qtquickcontrols-slider-normal.png deleted file mode 100644 index 2e27a604..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-slider-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-slider.gif b/src/imports/controls/doc/images/qtquickcontrols-slider.gif deleted file mode 100644 index 7cb84b56..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-slider.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-slider.png b/src/imports/controls/doc/images/qtquickcontrols-slider.png deleted file mode 100644 index 2e27a604..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-slider.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-spinbox-background.png b/src/imports/controls/doc/images/qtquickcontrols-spinbox-background.png deleted file mode 100644 index 74fbab6e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-spinbox-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-spinbox-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-spinbox-contentItem.png deleted file mode 100644 index 81d549c0..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-spinbox-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-spinbox-down.png b/src/imports/controls/doc/images/qtquickcontrols-spinbox-down.png deleted file mode 100644 index e7c43101..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-spinbox-down.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-spinbox-textual.png b/src/imports/controls/doc/images/qtquickcontrols-spinbox-textual.png deleted file mode 100644 index 4361c492..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-spinbox-textual.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-spinbox-up.png b/src/imports/controls/doc/images/qtquickcontrols-spinbox-up.png deleted file mode 100644 index b9992471..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-spinbox-up.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-spinbox.png b/src/imports/controls/doc/images/qtquickcontrols-spinbox.png deleted file mode 100644 index 909fbda6..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-spinbox.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-stackview-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols-stackview-wireframe.png deleted file mode 100644 index 65704c25..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-stackview-wireframe.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-background.png deleted file mode 100644 index 07f388bb..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-behind.gif b/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-behind.gif deleted file mode 100644 index 97d6a592..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-behind.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-contentItem.png deleted file mode 100644 index cec6cf15..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-indicator.png deleted file mode 100644 index 1b43928b..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-leading-trailing.gif b/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-leading-trailing.gif deleted file mode 100644 index 0641bd14..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate-leading-trailing.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate.gif b/src/imports/controls/doc/images/qtquickcontrols-swipedelegate.gif deleted file mode 100644 index 86c380b7..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipedelegate.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipeview-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-swipeview-indicator.png deleted file mode 100644 index 91786964..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipeview-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-swipeview-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols-swipeview-wireframe.png deleted file mode 100644 index 7e387c2d..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-swipeview-wireframe.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch-background.png b/src/imports/controls/doc/images/qtquickcontrols-switch-background.png deleted file mode 100644 index c3cf20f3..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch-checked.png b/src/imports/controls/doc/images/qtquickcontrols-switch-checked.png deleted file mode 100644 index 7c678417..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch-checked.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-switch-contentItem.png deleted file mode 100644 index 50f608ab..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-switch-disabled.png deleted file mode 100644 index 15ff76e6..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch-focused.png b/src/imports/controls/doc/images/qtquickcontrols-switch-focused.png deleted file mode 100644 index 9e973d0e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-switch-indicator.png deleted file mode 100644 index 02b88dde..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch-normal.png b/src/imports/controls/doc/images/qtquickcontrols-switch-normal.png deleted file mode 100644 index aac440a0..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch.gif b/src/imports/controls/doc/images/qtquickcontrols-switch.gif deleted file mode 100644 index 5f956304..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switch.png b/src/imports/controls/doc/images/qtquickcontrols-switch.png deleted file mode 100644 index b9d0812e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switch.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-background.png deleted file mode 100644 index e53141ac..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-contentItem.png deleted file mode 100644 index e12be69a..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-indicator.png deleted file mode 100644 index 33c15cdf..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate.gif b/src/imports/controls/doc/images/qtquickcontrols-switchdelegate.gif deleted file mode 100644 index 950b1073..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-switchdelegate.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tabbar-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols-tabbar-wireframe.png deleted file mode 100644 index 443f6757..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tabbar-wireframe.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tabbar.gif b/src/imports/controls/doc/images/qtquickcontrols-tabbar.gif deleted file mode 100644 index 31db1f9e..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tabbar.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tabbar.png b/src/imports/controls/doc/images/qtquickcontrols-tabbar.png deleted file mode 100644 index 44a91d63..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tabbar.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tabbutton.png b/src/imports/controls/doc/images/qtquickcontrols-tabbutton.png deleted file mode 100644 index 76d1e35c..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tabbutton.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-textarea.png b/src/imports/controls/doc/images/qtquickcontrols-textarea.png deleted file mode 100644 index f468bfd4..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-textarea.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-textfield-background.png b/src/imports/controls/doc/images/qtquickcontrols-textfield-background.png deleted file mode 100644 index e345124d..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-textfield-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-textfield-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-textfield-disabled.png deleted file mode 100644 index 55034be2..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-textfield-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-textfield-focused.png b/src/imports/controls/doc/images/qtquickcontrols-textfield-focused.png deleted file mode 100644 index bf5ee32a..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-textfield-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-textfield-normal.png b/src/imports/controls/doc/images/qtquickcontrols-textfield-normal.png deleted file mode 100644 index 02bb465a..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-textfield-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-textfield.png b/src/imports/controls/doc/images/qtquickcontrols-textfield.png deleted file mode 100644 index 9ea62acb..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-textfield.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-background.png b/src/imports/controls/doc/images/qtquickcontrols-togglebutton-background.png deleted file mode 100644 index 8f390b49..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-checked.png b/src/imports/controls/doc/images/qtquickcontrols-togglebutton-checked.png deleted file mode 100644 index fa883751..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-checked.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-disabled.png b/src/imports/controls/doc/images/qtquickcontrols-togglebutton-disabled.png deleted file mode 100644 index 794692b0..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-disabled.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-focused.png b/src/imports/controls/doc/images/qtquickcontrols-togglebutton-focused.png deleted file mode 100644 index f52e4686..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-focused.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-indicator.png b/src/imports/controls/doc/images/qtquickcontrols-togglebutton-indicator.png deleted file mode 100644 index 97e06e2c..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-indicator.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-label.png b/src/imports/controls/doc/images/qtquickcontrols-togglebutton-label.png deleted file mode 100644 index 3eb3ba35..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-label.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-normal.png b/src/imports/controls/doc/images/qtquickcontrols-togglebutton-normal.png deleted file mode 100644 index b066c565..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-togglebutton-normal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-toolbar-background.png b/src/imports/controls/doc/images/qtquickcontrols-toolbar-background.png deleted file mode 100644 index 12b4c348..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-toolbar-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-toolbar.png b/src/imports/controls/doc/images/qtquickcontrols-toolbar.png deleted file mode 100644 index 3e64b4e4..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-toolbar.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-toolbutton-background.png b/src/imports/controls/doc/images/qtquickcontrols-toolbutton-background.png deleted file mode 100644 index 8dd64031..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-toolbutton-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-toolbutton-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-toolbutton-contentItem.png deleted file mode 100644 index f4797098..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-toolbutton-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-toolbutton.png b/src/imports/controls/doc/images/qtquickcontrols-toolbutton.png deleted file mode 100644 index b350cdba..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-toolbutton.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tooltip-background.png b/src/imports/controls/doc/images/qtquickcontrols-tooltip-background.png deleted file mode 100644 index c082c840..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tooltip-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tooltip-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-tooltip-contentItem.png deleted file mode 100644 index d79a336f..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tooltip-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tooltip-delay.png b/src/imports/controls/doc/images/qtquickcontrols-tooltip-delay.png deleted file mode 100644 index eb9499fd..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tooltip-delay.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tooltip-hover.png b/src/imports/controls/doc/images/qtquickcontrols-tooltip-hover.png deleted file mode 100644 index b5c70d86..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tooltip-hover.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tooltip-pressandhold.png b/src/imports/controls/doc/images/qtquickcontrols-tooltip-pressandhold.png deleted file mode 100644 index b5c70d86..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tooltip-pressandhold.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tooltip-slider.png b/src/imports/controls/doc/images/qtquickcontrols-tooltip-slider.png deleted file mode 100644 index 6dad4464..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tooltip-slider.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tooltip.png b/src/imports/controls/doc/images/qtquickcontrols-tooltip.png deleted file mode 100644 index ffac3ed6..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tooltip.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tumbler-background.png b/src/imports/controls/doc/images/qtquickcontrols-tumbler-background.png deleted file mode 100644 index 24c200de..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tumbler-background.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tumbler-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols-tumbler-contentItem.png deleted file mode 100644 index 24c200de..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tumbler-contentItem.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tumbler-delegate.png b/src/imports/controls/doc/images/qtquickcontrols-tumbler-delegate.png deleted file mode 100644 index d274d444..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tumbler-delegate.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tumbler-wrap.gif b/src/imports/controls/doc/images/qtquickcontrols-tumbler-wrap.gif deleted file mode 100644 index 4821a4e8..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tumbler-wrap.gif and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-tumbler.png b/src/imports/controls/doc/images/qtquickcontrols-tumbler.png deleted file mode 100644 index e22330a6..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-tumbler.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-universal-button.png b/src/imports/controls/doc/images/qtquickcontrols-universal-button.png deleted file mode 100644 index 6c764ec9..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-universal-button.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-universal-dark.png b/src/imports/controls/doc/images/qtquickcontrols-universal-dark.png deleted file mode 100644 index ec459457..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-universal-dark.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols-universal.png b/src/imports/controls/doc/images/qtquickcontrols-universal.png deleted file mode 100644 index 89a0f069..00000000 Binary files a/src/imports/controls/doc/images/qtquickcontrols-universal.png and /dev/null differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-applicationwindow-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols2-applicationwindow-wireframe.png new file mode 100644 index 00000000..f612c243 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-applicationwindow-wireframe.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-busyindicator-background.png b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator-background.png new file mode 100644 index 00000000..03cf98d0 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-busyindicator-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator-contentItem.png new file mode 100644 index 00000000..fb14cb86 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-busyindicator.gif b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator.gif new file mode 100644 index 00000000..31ab2d1c Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-busyindicator.png b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator.png new file mode 100644 index 00000000..e631df32 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-busyindicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button-background.png b/src/imports/controls/doc/images/qtquickcontrols2-button-background.png new file mode 100644 index 00000000..c2703157 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-button-contentItem.png new file mode 100644 index 00000000..73d8f2fb Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-button-disabled.png new file mode 100644 index 00000000..33638d1e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-button-focused.png new file mode 100644 index 00000000..24d2cd06 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-button-normal.png new file mode 100644 index 00000000..9a5ea80e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button-pressed.png b/src/imports/controls/doc/images/qtquickcontrols2-button-pressed.png new file mode 100644 index 00000000..c88d57b0 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button-pressed.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button.gif b/src/imports/controls/doc/images/qtquickcontrols2-button.gif new file mode 100644 index 00000000..89dcba31 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-button.png b/src/imports/controls/doc/images/qtquickcontrols2-button.png new file mode 100644 index 00000000..d8a39e55 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-button.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox-background.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-background.png new file mode 100644 index 00000000..4d24fa2f Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox-checked.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-checked.png new file mode 100644 index 00000000..8620b0c2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-checked.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-contentItem.png new file mode 100644 index 00000000..d5a1ef2e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-disabled.png new file mode 100644 index 00000000..63669b29 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-focused.png new file mode 100644 index 00000000..ea49c721 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-indicator.png new file mode 100644 index 00000000..fe6cd7a2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-normal.png new file mode 100644 index 00000000..b185fc99 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkbox.png b/src/imports/controls/doc/images/qtquickcontrols2-checkbox.png new file mode 100644 index 00000000..a824949c Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkbox.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-background.png new file mode 100644 index 00000000..79023922 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-contentItem.png new file mode 100644 index 00000000..29d900a8 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-indicator.png new file mode 100644 index 00000000..e1708413 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate.gif b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate.gif new file mode 100644 index 00000000..d379f63c Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-checkdelegate.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-combobox-background.png b/src/imports/controls/doc/images/qtquickcontrols2-combobox-background.png new file mode 100644 index 00000000..1930034b Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-combobox-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-combobox-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-combobox-contentItem.png new file mode 100644 index 00000000..08c7bfc8 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-combobox-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-combobox-delegate.png b/src/imports/controls/doc/images/qtquickcontrols2-combobox-delegate.png new file mode 100644 index 00000000..d76776cf Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-combobox-delegate.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-combobox-popup.png b/src/imports/controls/doc/images/qtquickcontrols2-combobox-popup.png new file mode 100644 index 00000000..5cb32247 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-combobox-popup.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-combobox.png b/src/imports/controls/doc/images/qtquickcontrols2-combobox.png new file mode 100644 index 00000000..e687fb0e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-combobox.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-control.png b/src/imports/controls/doc/images/qtquickcontrols2-control.png new file mode 100644 index 00000000..eb5ee349 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-control.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-default.png b/src/imports/controls/doc/images/qtquickcontrols2-default.png new file mode 100644 index 00000000..144ceacb Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-default.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-dial-background.png b/src/imports/controls/doc/images/qtquickcontrols2-dial-background.png new file mode 100644 index 00000000..ca6c9283 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-dial-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-dial-handle.png b/src/imports/controls/doc/images/qtquickcontrols2-dial-handle.png new file mode 100644 index 00000000..b9a8e0d8 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-dial-handle.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-dial.png b/src/imports/controls/doc/images/qtquickcontrols2-dial.png new file mode 100644 index 00000000..dfe37f87 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-dial.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-drawer-expanded-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols2-drawer-expanded-wireframe.png new file mode 100644 index 00000000..8a8078bf Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-drawer-expanded-wireframe.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-drawer-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols2-drawer-wireframe.png new file mode 100644 index 00000000..d1ef1801 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-drawer-wireframe.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-frame-background.png b/src/imports/controls/doc/images/qtquickcontrols2-frame-background.png new file mode 100644 index 00000000..75ad77bd Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-frame-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-frame.png b/src/imports/controls/doc/images/qtquickcontrols2-frame.png new file mode 100644 index 00000000..dc14acaf Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-frame.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-groupbox-background.png b/src/imports/controls/doc/images/qtquickcontrols2-groupbox-background.png new file mode 100644 index 00000000..baec44d5 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-groupbox-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-groupbox-checkable.png b/src/imports/controls/doc/images/qtquickcontrols2-groupbox-checkable.png new file mode 100644 index 00000000..9b3f32b1 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-groupbox-checkable.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-groupbox-label.png b/src/imports/controls/doc/images/qtquickcontrols2-groupbox-label.png new file mode 100644 index 00000000..ea4dfb32 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-groupbox-label.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-groupbox.png b/src/imports/controls/doc/images/qtquickcontrols2-groupbox.png new file mode 100644 index 00000000..c0fc92c7 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-groupbox.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-background.png new file mode 100644 index 00000000..8a97d8ee Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-contentItem.png new file mode 100644 index 00000000..89f094c6 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-indicator.png new file mode 100644 index 00000000..029abb00 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.gif b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.gif new file mode 100644 index 00000000..0e8554ff Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.png b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.png new file mode 100644 index 00000000..456a0d55 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-itemdelegate.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-label-background.png b/src/imports/controls/doc/images/qtquickcontrols2-label-background.png new file mode 100644 index 00000000..34a638d6 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-label-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-label.png b/src/imports/controls/doc/images/qtquickcontrols2-label.png new file mode 100644 index 00000000..961ce3e3 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-label.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-material-button.png b/src/imports/controls/doc/images/qtquickcontrols2-material-button.png new file mode 100644 index 00000000..5181d8b1 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-material-button.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-material-dark.png b/src/imports/controls/doc/images/qtquickcontrols2-material-dark.png new file mode 100644 index 00000000..8afb2cd6 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-material-dark.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-material.png b/src/imports/controls/doc/images/qtquickcontrols2-material.png new file mode 100644 index 00000000..d7ce0e88 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-material.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-menu-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-menu-contentItem.png new file mode 100644 index 00000000..4dcf1fac Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-menu-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-menu.gif b/src/imports/controls/doc/images/qtquickcontrols2-menu.gif new file mode 100644 index 00000000..93a873a3 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-menu.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-menu.png b/src/imports/controls/doc/images/qtquickcontrols2-menu.png new file mode 100644 index 00000000..b6446d39 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-menu.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-page-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols2-page-wireframe.png new file mode 100644 index 00000000..f612c243 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-page-wireframe.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-background.png b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-background.png new file mode 100644 index 00000000..756b87f1 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-contentItem.png new file mode 100644 index 00000000..cfce4ffb Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-delegate.png b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-delegate.png new file mode 100644 index 00000000..a1e9a8cd Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator-delegate.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-pageindicator.png b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator.png new file mode 100644 index 00000000..872012d0 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-pageindicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-pane-background.png b/src/imports/controls/doc/images/qtquickcontrols2-pane-background.png new file mode 100644 index 00000000..a379d915 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-pane-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-pane.png b/src/imports/controls/doc/images/qtquickcontrols2-pane.png new file mode 100644 index 00000000..fe534424 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-pane.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-popup-transformorigin.png b/src/imports/controls/doc/images/qtquickcontrols2-popup-transformorigin.png new file mode 100644 index 00000000..4af320fb Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-popup-transformorigin.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-progressbar-background.png b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-background.png new file mode 100644 index 00000000..59e81b2b Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-progressbar-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-contentItem.png new file mode 100644 index 00000000..9ce19e92 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-progressbar-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-disabled.png new file mode 100644 index 00000000..9ce19e92 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-progressbar-indeterminate.png b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-indeterminate.png new file mode 100644 index 00000000..ec2e9ae9 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-indeterminate.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-progressbar-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-normal.png new file mode 100644 index 00000000..9ce19e92 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-progressbar-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-background.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-background.png new file mode 100644 index 00000000..30295394 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-checked.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-checked.png new file mode 100644 index 00000000..8f5af513 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-checked.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-contentItem.png new file mode 100644 index 00000000..457555b7 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-disabled.png new file mode 100644 index 00000000..626cd616 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-focused.png new file mode 100644 index 00000000..797e50a9 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-indicator.png new file mode 100644 index 00000000..0d78a0d5 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-normal.png new file mode 100644 index 00000000..f8d0828b Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiobutton.png b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton.png new file mode 100644 index 00000000..6c217968 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiobutton.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-background.png new file mode 100644 index 00000000..f9ff48c2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-contentItem.png new file mode 100644 index 00000000..9ede889f Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-indicator.png new file mode 100644 index 00000000..9d8cbdbd Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate.gif b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate.gif new file mode 100644 index 00000000..851064e9 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-radiodelegate.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-background.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-background.png new file mode 100644 index 00000000..c045fdbb Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-disabled.png new file mode 100644 index 00000000..abb033c2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle-focused.png new file mode 100644 index 00000000..abb033c2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle.png new file mode 100644 index 00000000..fb246db3 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-first-handle.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-normal.png new file mode 100644 index 00000000..abb033c2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle-focused.png new file mode 100644 index 00000000..abb033c2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle.png new file mode 100644 index 00000000..a33a6de2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider-second-handle.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider.gif b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider.gif new file mode 100644 index 00000000..394e8085 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-rangeslider.png b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider.png new file mode 100644 index 00000000..abb033c2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-rangeslider.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-scrollbar-background.png b/src/imports/controls/doc/images/qtquickcontrols2-scrollbar-background.png new file mode 100644 index 00000000..0b1aa171 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-scrollbar-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-scrollbar-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-scrollbar-contentItem.png new file mode 100644 index 00000000..5d916e66 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-scrollbar-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-scrollbar.png b/src/imports/controls/doc/images/qtquickcontrols2-scrollbar.png new file mode 100644 index 00000000..b1abafb5 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-scrollbar.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-background.png b/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-background.png new file mode 100644 index 00000000..e9fa04c7 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-contentItem.png new file mode 100644 index 00000000..99266362 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator.png b/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator.png new file mode 100644 index 00000000..ea0923cc Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-scrollindicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-slider-background.png b/src/imports/controls/doc/images/qtquickcontrols2-slider-background.png new file mode 100644 index 00000000..23a754c3 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-slider-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-slider-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-slider-disabled.png new file mode 100644 index 00000000..2e27a604 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-slider-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-slider-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-slider-focused.png new file mode 100644 index 00000000..2e27a604 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-slider-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-slider-handle.png b/src/imports/controls/doc/images/qtquickcontrols2-slider-handle.png new file mode 100644 index 00000000..7729ef07 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-slider-handle.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-slider-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-slider-normal.png new file mode 100644 index 00000000..2e27a604 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-slider-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-slider.gif b/src/imports/controls/doc/images/qtquickcontrols2-slider.gif new file mode 100644 index 00000000..7cb84b56 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-slider.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-slider.png b/src/imports/controls/doc/images/qtquickcontrols2-slider.png new file mode 100644 index 00000000..2e27a604 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-slider.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-spinbox-background.png b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-background.png new file mode 100644 index 00000000..74fbab6e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-spinbox-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-contentItem.png new file mode 100644 index 00000000..81d549c0 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-spinbox-down.png b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-down.png new file mode 100644 index 00000000..e7c43101 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-down.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-spinbox-textual.png b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-textual.png new file mode 100644 index 00000000..4361c492 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-textual.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-spinbox-up.png b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-up.png new file mode 100644 index 00000000..b9992471 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-spinbox-up.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-spinbox.png b/src/imports/controls/doc/images/qtquickcontrols2-spinbox.png new file mode 100644 index 00000000..909fbda6 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-spinbox.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-stackview-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols2-stackview-wireframe.png new file mode 100644 index 00000000..65704c25 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-stackview-wireframe.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-background.png new file mode 100644 index 00000000..07f388bb Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-behind.gif b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-behind.gif new file mode 100644 index 00000000..97d6a592 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-behind.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-contentItem.png new file mode 100644 index 00000000..cec6cf15 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-indicator.png new file mode 100644 index 00000000..1b43928b Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-leading-trailing.gif b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-leading-trailing.gif new file mode 100644 index 00000000..0641bd14 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate-leading-trailing.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate.gif b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate.gif new file mode 100644 index 00000000..86c380b7 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipedelegate.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipeview-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-swipeview-indicator.png new file mode 100644 index 00000000..91786964 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipeview-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-swipeview-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols2-swipeview-wireframe.png new file mode 100644 index 00000000..7e387c2d Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-swipeview-wireframe.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch-background.png b/src/imports/controls/doc/images/qtquickcontrols2-switch-background.png new file mode 100644 index 00000000..c3cf20f3 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch-checked.png b/src/imports/controls/doc/images/qtquickcontrols2-switch-checked.png new file mode 100644 index 00000000..7c678417 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch-checked.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-switch-contentItem.png new file mode 100644 index 00000000..50f608ab Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-switch-disabled.png new file mode 100644 index 00000000..15ff76e6 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-switch-focused.png new file mode 100644 index 00000000..9e973d0e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-switch-indicator.png new file mode 100644 index 00000000..02b88dde Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-switch-normal.png new file mode 100644 index 00000000..aac440a0 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch.gif b/src/imports/controls/doc/images/qtquickcontrols2-switch.gif new file mode 100644 index 00000000..5f956304 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switch.png b/src/imports/controls/doc/images/qtquickcontrols2-switch.png new file mode 100644 index 00000000..b9d0812e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switch.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-background.png b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-background.png new file mode 100644 index 00000000..e53141ac Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-contentItem.png new file mode 100644 index 00000000..e12be69a Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-indicator.png new file mode 100644 index 00000000..33c15cdf Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate.gif b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate.gif new file mode 100644 index 00000000..950b1073 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-switchdelegate.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tabbar-wireframe.png b/src/imports/controls/doc/images/qtquickcontrols2-tabbar-wireframe.png new file mode 100644 index 00000000..443f6757 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tabbar-wireframe.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tabbar.gif b/src/imports/controls/doc/images/qtquickcontrols2-tabbar.gif new file mode 100644 index 00000000..31db1f9e Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tabbar.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tabbar.png b/src/imports/controls/doc/images/qtquickcontrols2-tabbar.png new file mode 100644 index 00000000..44a91d63 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tabbar.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tabbutton.png b/src/imports/controls/doc/images/qtquickcontrols2-tabbutton.png new file mode 100644 index 00000000..76d1e35c Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tabbutton.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-textarea.png b/src/imports/controls/doc/images/qtquickcontrols2-textarea.png new file mode 100644 index 00000000..f468bfd4 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-textarea.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-textfield-background.png b/src/imports/controls/doc/images/qtquickcontrols2-textfield-background.png new file mode 100644 index 00000000..e345124d Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-textfield-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-textfield-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-textfield-disabled.png new file mode 100644 index 00000000..55034be2 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-textfield-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-textfield-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-textfield-focused.png new file mode 100644 index 00000000..bf5ee32a Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-textfield-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-textfield-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-textfield-normal.png new file mode 100644 index 00000000..02bb465a Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-textfield-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-textfield.png b/src/imports/controls/doc/images/qtquickcontrols2-textfield.png new file mode 100644 index 00000000..9ea62acb Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-textfield.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-background.png b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-background.png new file mode 100644 index 00000000..8f390b49 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-checked.png b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-checked.png new file mode 100644 index 00000000..fa883751 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-checked.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-disabled.png b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-disabled.png new file mode 100644 index 00000000..794692b0 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-disabled.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-focused.png b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-focused.png new file mode 100644 index 00000000..f52e4686 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-focused.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-indicator.png b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-indicator.png new file mode 100644 index 00000000..97e06e2c Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-indicator.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-label.png b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-label.png new file mode 100644 index 00000000..3eb3ba35 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-label.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-normal.png b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-normal.png new file mode 100644 index 00000000..b066c565 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-togglebutton-normal.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-toolbar-background.png b/src/imports/controls/doc/images/qtquickcontrols2-toolbar-background.png new file mode 100644 index 00000000..12b4c348 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-toolbar-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-toolbar.png b/src/imports/controls/doc/images/qtquickcontrols2-toolbar.png new file mode 100644 index 00000000..3e64b4e4 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-toolbar.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-toolbutton-background.png b/src/imports/controls/doc/images/qtquickcontrols2-toolbutton-background.png new file mode 100644 index 00000000..8dd64031 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-toolbutton-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-toolbutton-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-toolbutton-contentItem.png new file mode 100644 index 00000000..f4797098 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-toolbutton-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-toolbutton.png b/src/imports/controls/doc/images/qtquickcontrols2-toolbutton.png new file mode 100644 index 00000000..b350cdba Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-toolbutton.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tooltip-background.png b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-background.png new file mode 100644 index 00000000..c082c840 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tooltip-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-contentItem.png new file mode 100644 index 00000000..d79a336f Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tooltip-delay.png b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-delay.png new file mode 100644 index 00000000..eb9499fd Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-delay.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tooltip-hover.png b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-hover.png new file mode 100644 index 00000000..b5c70d86 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-hover.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tooltip-pressandhold.png b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-pressandhold.png new file mode 100644 index 00000000..b5c70d86 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-pressandhold.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tooltip-slider.png b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-slider.png new file mode 100644 index 00000000..6dad4464 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tooltip-slider.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tooltip.png b/src/imports/controls/doc/images/qtquickcontrols2-tooltip.png new file mode 100644 index 00000000..ffac3ed6 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tooltip.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tumbler-background.png b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-background.png new file mode 100644 index 00000000..24c200de Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-background.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tumbler-contentItem.png b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-contentItem.png new file mode 100644 index 00000000..24c200de Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-contentItem.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tumbler-delegate.png b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-delegate.png new file mode 100644 index 00000000..d274d444 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-delegate.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tumbler-wrap.gif b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-wrap.gif new file mode 100644 index 00000000..4821a4e8 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tumbler-wrap.gif differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-tumbler.png b/src/imports/controls/doc/images/qtquickcontrols2-tumbler.png new file mode 100644 index 00000000..e22330a6 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-tumbler.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-universal-button.png b/src/imports/controls/doc/images/qtquickcontrols2-universal-button.png new file mode 100644 index 00000000..6c764ec9 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-universal-button.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-universal-dark.png b/src/imports/controls/doc/images/qtquickcontrols2-universal-dark.png new file mode 100644 index 00000000..ec459457 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-universal-dark.png differ diff --git a/src/imports/controls/doc/images/qtquickcontrols2-universal.png b/src/imports/controls/doc/images/qtquickcontrols2-universal.png new file mode 100644 index 00000000..89a0f069 Binary files /dev/null and b/src/imports/controls/doc/images/qtquickcontrols2-universal.png differ diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-background.qml deleted file mode 100644 index 5ccd8f20..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-background.qml +++ /dev/null @@ -1,36 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -BusyIndicator { - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-contentItem.qml deleted file mode 100644 index 8f212c37..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator-contentItem.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -BusyIndicator { - Rectangle { - anchors.fill: contentItem - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator.qml deleted file mode 100644 index 703161a4..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-busyindicator.qml +++ /dev/null @@ -1,32 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -BusyIndicator { -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-button-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-button-background.qml deleted file mode 100644 index 7c0a6b50..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-button-background.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Button { - width: 80 - text: "Button" - Rectangle { - anchors.fill: background - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-button-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-button-contentItem.qml deleted file mode 100644 index ee59ab7f..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-button-contentItem.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Button { - width: 80 - text: "Button" - Rectangle { - anchors.fill: contentItem - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-button-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-button-disabled.qml deleted file mode 100644 index 13037b8d..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-button-disabled.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Button { - width: 80 - text: "Disabled" - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-button-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-button-focused.qml deleted file mode 100644 index ee72caf6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-button-focused.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Button { - width: 80 - text: "Focused" - focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-button-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-button-normal.qml deleted file mode 100644 index 692d9066..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-button-normal.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Button { - width: 80 - text: "Normal" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-button-pressed.qml b/src/imports/controls/doc/snippets/qtquickcontrols-button-pressed.qml deleted file mode 100644 index b5c918db..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-button-pressed.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Button { - width: 80 - text: "Pressed" - pressed: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-button.qml b/src/imports/controls/doc/snippets/qtquickcontrols-button.qml deleted file mode 100644 index 86d339b7..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-button.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Button { - text: "Button" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-background.qml deleted file mode 100644 index 566202b5..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-background.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "CheckBox" - background: Rectangle { - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-checked.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-checked.qml deleted file mode 100644 index 3acb9321..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-checked.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "Checked" - checked: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-contentItem.qml deleted file mode 100644 index bef150a3..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "CheckBox" - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-disabled.qml deleted file mode 100644 index 6069edad..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-disabled.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "Disabled" - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-focused.qml deleted file mode 100644 index a90a42d6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-focused.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "Focused" - focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-indicator.qml deleted file mode 100644 index ae9a0b0a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-indicator.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "CheckBox" - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-normal.qml deleted file mode 100644 index bc86f927..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox-normal.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "Normal" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkbox.qml deleted file mode 100644 index 2bf74b42..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkbox.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckBox { - text: "CheckBox" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-background.qml deleted file mode 100644 index fe60d47c..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckDelegate { - text: "CheckDelegate" - checked: true - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-contentItem.qml deleted file mode 100644 index d1c83028..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-contentItem.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckDelegate { - text: "CheckDelegate" - checked: true - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-indicator.qml deleted file mode 100644 index e3ba48b8..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-checkdelegate-indicator.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -CheckDelegate { - text: "CheckDelegate" - checked: true - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-combobox-background.qml deleted file mode 100644 index d6715f07..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ComboBox { - model: ["ComboBox"] - Rectangle { - anchors.fill: background - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-combobox-contentItem.qml deleted file mode 100644 index 08523088..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ComboBox { - model: ["ComboBox"] - Rectangle { - anchors.fill: contentItem - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-delegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols-combobox-delegate.qml deleted file mode 100644 index 1241eeaa..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-delegate.qml +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - id: root - width: combo.width - height: combo.height + combo.popup.contentItem.height - ComboBox { - id: combo - model: ["First", "Second", "Third"] - popup.contentItem.parent: root - popup.contentItem.y: combo.height - delegate: ItemDelegate { - width: combo.width - text: modelData - autoExclusive: true - checked: combo.currentIndex === index - Rectangle { - visible: index === 0 - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } - } - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-popup.qml b/src/imports/controls/doc/snippets/qtquickcontrols-combobox-popup.qml deleted file mode 100644 index 0fea67d1..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-combobox-popup.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - id: root - width: combo.width - height: combo.height + combo.popup.contentItem.height - ComboBox { - id: combo - model: ["First", "Second", "Third"] - popup.contentItem.parent: root - popup.contentItem.y: combo.height - } - Rectangle { - parent: combo.popup.contentItem - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-combobox.qml b/src/imports/controls/doc/snippets/qtquickcontrols-combobox.qml deleted file mode 100644 index 4d7fe7fd..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-combobox.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - id: root - width: combo.width - height: combo.height + combo.popup.contentItem.height - //! [1] - ComboBox { - id: combo - model: ["First", "Second", "Third"] - popup.contentItem.parent: root - popup.contentItem.y: combo.height - } - //! [1] -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-dial-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-dial-background.qml deleted file mode 100644 index 333db1ca..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-dial-background.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Dial { - Rectangle { - anchors.fill: background - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-dial-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols-dial-handle.qml deleted file mode 100644 index 73794cc0..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-dial-handle.qml +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Dial { - id: dial - - Rectangle { - parent: dial.handle - anchors.fill: parent - color: 'transparent' - border.color: 'red' - antialiasing: true - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-dial.qml b/src/imports/controls/doc/snippets/qtquickcontrols-dial.qml deleted file mode 100644 index b42e418d..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-dial.qml +++ /dev/null @@ -1,32 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Dial { -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-frame-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-frame-background.qml deleted file mode 100644 index 08084e61..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-frame-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Frame { - width: 100 - height: 100 - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-frame.qml b/src/imports/controls/doc/snippets/qtquickcontrols-frame.qml deleted file mode 100644 index 7fadc9e5..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-frame.qml +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Layouts 1.0 -import Qt.labs.controls 1.0 - -//! [1] -Frame { - ColumnLayout { - anchors.fill: parent - CheckBox { text: qsTr("E-mail") } - CheckBox { text: qsTr("Calendar") } - CheckBox { text: qsTr("Contacts") } - } -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-background.qml deleted file mode 100644 index 480aa8e6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-background.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -GroupBox { - width: 100 - height: 100 - title: "GroupBox" - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-checkable.qml b/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-checkable.qml deleted file mode 100644 index 1c1232c7..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-checkable.qml +++ /dev/null @@ -1,48 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Layouts 1.0 -import Qt.labs.controls 1.0 - -//! [1] -GroupBox { - label: CheckBox { - id: checkBox - checked: true - text: qsTr("Synchronize") - } - - ColumnLayout { - anchors.fill: parent - enabled: checkBox.checked - CheckBox { text: qsTr("E-mail") } - CheckBox { text: qsTr("Calendar") } - CheckBox { text: qsTr("Contacts") } - } -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-label.qml b/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-label.qml deleted file mode 100644 index 53da863b..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox-label.qml +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -GroupBox { - width: 100 - height: 100 - title: "GroupBox" - Rectangle { - parent: label - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox.qml b/src/imports/controls/doc/snippets/qtquickcontrols-groupbox.qml deleted file mode 100644 index 81b234f4..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-groupbox.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Layouts 1.0 -import Qt.labs.controls 1.0 - -//! [1] -GroupBox { - title: qsTr("Synchronize") - ColumnLayout { - anchors.fill: parent - CheckBox { text: qsTr("E-mail") } - CheckBox { text: qsTr("Calendar") } - CheckBox { text: qsTr("Contacts") } - } -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-background.qml deleted file mode 100644 index 85aba1c8..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-background.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ItemDelegate { - text: "ItemDelegate" - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-contentItem.qml deleted file mode 100644 index aa7d5e2b..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ItemDelegate { - text: "ItemDelegate" - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-indicator.qml deleted file mode 100644 index 13e8b6cf..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate-indicator.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ItemDelegate { - text: "ItemDelegate" - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate.qml deleted file mode 100644 index d02f722a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-itemdelegate.qml +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -ListView { - width: 160 - height: 240 - - model: Qt.fontFamilies() - - delegate: ItemDelegate { - text: modelData - width: parent.width - onClicked: console.log("clicked:", modelData) - } - - ScrollIndicator.vertical: ScrollIndicator { } -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-label-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-label-background.qml deleted file mode 100644 index 55cbf4eb..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-label-background.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Label { - text: "Label" - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-label.qml b/src/imports/controls/doc/snippets/qtquickcontrols-label.qml deleted file mode 100644 index cb26658d..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-label.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -Label { - text: "Label" -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-menu-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-menu-contentItem.qml deleted file mode 100644 index 0c270d34..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-menu-contentItem.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - id: window - width: menu.contentItem.width - height: menu.contentItem.height - visible: true - - Menu { - id: menu - contentItem.parent: window - - MenuItem { - text: "New..." - } - MenuItem { - text: "Open..." - } - MenuItem { - text: "Save" - } - } - - Rectangle { - parent: menu.contentItem - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-menu.qml b/src/imports/controls/doc/snippets/qtquickcontrols-menu.qml deleted file mode 100644 index b0f32203..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-menu.qml +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - id: window - width: menu.contentItem.width - height: menu.contentItem.height - visible: true - - Menu { - id: menu - contentItem.parent: window - - MenuItem { - text: "New..." - } - MenuItem { - text: "Open..." - } - MenuItem { - text: "Save" - } - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-background.qml deleted file mode 100644 index 1c6a53b6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -PageIndicator { - count: 5 - currentIndex: 2 - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-contentItem.qml deleted file mode 100644 index b36b78bf..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-contentItem.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -PageIndicator { - count: 5 - currentIndex: 2 - Rectangle { - anchors.fill: contentItem - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-delegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-delegate.qml deleted file mode 100644 index 39247607..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator-delegate.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -PageIndicator { - count: 5 - currentIndex: 2 - Rectangle { - parent: contentItem.children[0] - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator.qml deleted file mode 100644 index c37b37c6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-pageindicator.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -PageIndicator { - count: 5 - currentIndex: 2 -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-pane-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-pane-background.qml deleted file mode 100644 index d1d9f22f..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-pane-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Pane { - width: 100 - height: 100 - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-pane.qml b/src/imports/controls/doc/snippets/qtquickcontrols-pane.qml deleted file mode 100644 index 09bfa6a0..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-pane.qml +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Layouts 1.0 -import Qt.labs.controls 1.0 - -//! [1] -Pane { - ColumnLayout { - anchors.fill: parent - CheckBox { text: qsTr("E-mail") } - CheckBox { text: qsTr("Calendar") } - CheckBox { text: qsTr("Contacts") } - } -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-background.qml deleted file mode 100644 index 55e71b81..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ProgressBar { - value: 0.5 - Rectangle { - anchors.fill: background - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-contentItem.qml deleted file mode 100644 index 0bb1b418..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-contentItem.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ProgressBar { - value: 0.5 - Rectangle { - parent: contentItem - anchors.fill: parent - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-disabled.qml deleted file mode 100644 index 0f74ea46..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-disabled.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ProgressBar { - value: 0.5 - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-normal.qml deleted file mode 100644 index e1c200b5..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-progressbar-normal.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ProgressBar { - value: 0.5 -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-background.qml deleted file mode 100644 index d7c6d258..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-background.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "RadioButton" - background: Rectangle { - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-checked.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-checked.qml deleted file mode 100644 index 49f82a5c..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-checked.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "Checked" - checked: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-contentItem.qml deleted file mode 100644 index 14bb7c47..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "RadioButton" - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-disabled.qml deleted file mode 100644 index 1a087593..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-disabled.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "Disabled" - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-focused.qml deleted file mode 100644 index 2ad1cbfc..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-focused.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "Focused" - focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-indicator.qml deleted file mode 100644 index d36932dc..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-indicator.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "RadioButton" - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-normal.qml deleted file mode 100644 index 8c746468..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton-normal.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "Normal" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton.qml deleted file mode 100644 index 8f898d18..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiobutton.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioButton { - text: "RadioButton" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-background.qml deleted file mode 100644 index 8d6fd78a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioDelegate { - text: "RadioDelegate" - checked: true - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-contentItem.qml deleted file mode 100644 index a1b08c4e..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-contentItem.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioDelegate { - text: "RadioDelegate" - checked: true - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-indicator.qml deleted file mode 100644 index ffb91097..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-radiodelegate-indicator.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RadioDelegate { - text: "RadioDelegate" - checked: true - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-background.qml deleted file mode 100644 index 2b8ab5a1..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 - background: Rectangle { - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-disabled.qml deleted file mode 100644 index af167461..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-disabled.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle-focused.qml deleted file mode 100644 index 04081cb8..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle-focused.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 - first.handle.focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle.qml deleted file mode 100644 index f27f904a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-first-handle.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 - Rectangle { - anchors.fill: first.handle - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-normal.qml deleted file mode 100644 index 343c24e9..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-normal.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle-focused.qml deleted file mode 100644 index 15da7776..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle-focused.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 - second.handle.focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle.qml deleted file mode 100644 index dd54d2fb..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider-second-handle.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 - Rectangle { - anchors.fill: second.handle - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider.qml b/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider.qml deleted file mode 100644 index 343c24e9..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-rangeslider.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -RangeSlider { - first.value: 0.25 - second.value: 0.75 -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-active.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-active.qml deleted file mode 100644 index 8903f064..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-active.qml +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - width: 100 - height: 100 - - //! [1] - Flickable { - anchors.fill: parent - - contentWidth: parent.width * 2 - contentHeight: parent.height * 2 - - ScrollBar.horizontal: ScrollBar { id: hbar; active: vbar.active } - ScrollBar.vertical: ScrollBar { id: vbar; active: hbar.active } - } - //! [1] -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-background.qml deleted file mode 100644 index 90d341b9..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-background.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ScrollBar { - size: 0.5 - position: 0.5 - active: true - height: 100 - background: Rectangle { - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-contentItem.qml deleted file mode 100644 index d1ce40d7..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar-contentItem.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ScrollBar { - size: 0.5 - position: 0.5 - active: true - height: 100 - Rectangle { - parent: contentItem - anchors.fill: parent - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar.qml deleted file mode 100644 index b677137d..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollbar.qml +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Frame { - width: 100 - height: 100 - - ScrollBar { - size: 0.3 - position: 0.2 - active: true - orientation: Qt.Vertical - height: parent.height - anchors.right: parent.right - } - - ScrollBar { - size: 0.6 - position: 0.3 - active: true - orientation: Qt.Horizontal - width: parent.width - anchors.bottom: parent.bottom - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-active.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-active.qml deleted file mode 100644 index 3399e5fb..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-active.qml +++ /dev/null @@ -1,46 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - width: 100 - height: 100 - - //! [1] - Flickable { - anchors.fill: parent - - contentWidth: parent.width * 2 - contentHeight: parent.height * 2 - - ScrollIndicator.horizontal: ScrollIndicator { id: hbar; active: vbar.active } - ScrollIndicator.vertical: ScrollIndicator { id: vbar; active: hbar.active } - } - //! [1] -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-background.qml deleted file mode 100644 index b276e8ae..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-background.qml +++ /dev/null @@ -1,40 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ScrollIndicator { - size: 0.5 - position: 0.5 - active: true - height: 100 - background: Rectangle { - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-contentItem.qml deleted file mode 100644 index ef85fe69..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator-contentItem.qml +++ /dev/null @@ -1,42 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ScrollIndicator { - size: 0.5 - position: 0.5 - active: true - height: 100 - Rectangle { - parent: contentItem - anchors.fill: parent - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator.qml deleted file mode 100644 index 8efa0eed..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-scrollindicator.qml +++ /dev/null @@ -1,52 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Frame { - width: 100 - height: 100 - - ScrollIndicator { - size: 0.3 - position: 0.2 - active: true - orientation: Qt.Vertical - height: parent.height - anchors.right: parent.right - } - - ScrollIndicator { - size: 0.6 - position: 0.3 - active: true - orientation: Qt.Horizontal - width: parent.width - anchors.bottom: parent.bottom - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-slider-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-slider-background.qml deleted file mode 100644 index 74c4fbb6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-slider-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Slider { - value: 0.5 - Rectangle { - anchors.fill: background - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-slider-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-slider-disabled.qml deleted file mode 100644 index 57429fb4..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-slider-disabled.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Slider { - value: 0.5 - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-slider-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-slider-focused.qml deleted file mode 100644 index 69a24b1a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-slider-focused.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Slider { - value: 0.5 - focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-slider-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols-slider-handle.qml deleted file mode 100644 index 58bd139e..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-slider-handle.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Slider { - value: 0.5 - Rectangle { - anchors.fill: handle - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-slider-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-slider-normal.qml deleted file mode 100644 index 331d076a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-slider-normal.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Slider { - value: 0.5 -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-slider.qml b/src/imports/controls/doc/snippets/qtquickcontrols-slider.qml deleted file mode 100644 index 331d076a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-slider.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Slider { - value: 0.5 -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-background.qml deleted file mode 100644 index 21d1fe92..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SpinBox { - value: 50 - Rectangle { - anchors.fill: parent - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-contentItem.qml deleted file mode 100644 index 5d1f66f6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SpinBox { - value: 50 - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-down.qml b/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-down.qml deleted file mode 100644 index 2294741c..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-down.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SpinBox { - value: 50 - Rectangle { - anchors.fill: down.indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-textual.qml b/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-textual.qml deleted file mode 100644 index b7d7b9b8..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-textual.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -SpinBox { - from: 0 - to: items.length - 1 - value: 1 // "Medium" - - property var items: ["Small", "Medium", "Large"] - - validator: RegExpValidator { - regExp: new RegExp("(Small|Medium|Large)", "i") - } - - textFromValue: function(value) { - return items[value]; - } - - valueFromText: function(text) { - for (var i = 0; i < items.length; ++i) { - if (items[i].toLowerCase().indexOf(text.toLowerCase()) === 0) - return i - } - return sb.value - } -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-up.qml b/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-up.qml deleted file mode 100644 index dc6887c0..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox-up.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SpinBox { - value: 50 - Rectangle { - anchors.fill: up.indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox.qml b/src/imports/controls/doc/snippets/qtquickcontrols-spinbox.qml deleted file mode 100644 index a8adfbd6..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-spinbox.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -SpinBox { - value: 50 -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-background.qml deleted file mode 100644 index be665771..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SwipeDelegate { - text: "SwipeDelegate" - Rectangle { - anchors.fill: background - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-contentItem.qml deleted file mode 100644 index 897d4792..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SwipeDelegate { - text: "SwipeDelegate" - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-indicator.qml deleted file mode 100644 index e184dc64..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate-indicator.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SwipeDelegate { - text: "SwipeDelegate" - checked: true - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate.qml deleted file mode 100644 index 97f57dca..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-swipedelegate.qml +++ /dev/null @@ -1,87 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import Qt.labs.controls 1.0 - -ListView { - id: listView - width: 100 - height: 120 - - model: ListModel { - ListElement { name: "Apple" } - ListElement { name: "Orange" } - ListElement { name: "Pear" } - } - - delegate: SwipeDelegate { - id: rootDelegate - width: listView.width - text: modelData - - ListView.onRemove: SequentialAnimation { - PropertyAction { - target: rootDelegate - property: "ListView.delayRemove" - value: true - } - NumberAnimation { - target: rootDelegate - property: "height" - to: 0 - easing.type: Easing.InOutQuad - } - PropertyAction { - target: rootDelegate - property: "ListView.delayRemove" - value: false - } - } - - onClicked: if (exposure.active) ListView.view.model.remove(index) - - Component { - id: removeComponent - - Rectangle { - color: rootDelegate.exposed && rootDelegate.pressed ? "#333" : "#444" - width: parent.width - height: parent.height - - Label { - text: "Remove" - color: "white" - anchors.centerIn: parent - } - } - } - - exposure.left: removeComponent - exposure.right: removeComponent - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-swipeview-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-swipeview-indicator.qml deleted file mode 100644 index c3a38b92..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-swipeview-indicator.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Item { - width: 200 - height: 320 - - //! [1] - SwipeView { - id: view - - currentIndex: 1 - anchors.fill: parent - - Item { - id: firstPage - } - Item { - id: secondPage - } - Item { - id: thirdPage - } - } - - PageIndicator { - id: indicator - - count: view.count - currentIndex: view.currentIndex - - anchors.bottom: view.bottom - anchors.horizontalCenter: parent.horizontalCenter - } - //! [1] -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch-background.qml deleted file mode 100644 index 1829bb26..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch-background.qml +++ /dev/null @@ -1,37 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Switch" - background: Rectangle { - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch-checked.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch-checked.qml deleted file mode 100644 index 4a2ff8f9..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch-checked.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Checked" - checked: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch-contentItem.qml deleted file mode 100644 index 99f2af7e..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Switch" - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch-disabled.qml deleted file mode 100644 index c84afdb1..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch-disabled.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Disabled" - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch-focused.qml deleted file mode 100644 index e1b5bd3f..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch-focused.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Focused" - focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch-indicator.qml deleted file mode 100644 index 12d4f20d..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch-indicator.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Switch" - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch-normal.qml deleted file mode 100644 index 9a766524..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch-normal.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Normal" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switch.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switch.qml deleted file mode 100644 index 9e30f8d5..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switch.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Switch { - text: "Switch" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-background.qml deleted file mode 100644 index 65342e74..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SwitchDelegate { - text: "SwitchDelegate" - checked: true - background: Rectangle { - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-contentItem.qml deleted file mode 100644 index 2aeb9082..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-contentItem.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SwitchDelegate { - text: "SwitchDelegate" - checked: true - Rectangle { - anchors.fill: contentItem - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-indicator.qml deleted file mode 100644 index 258a011a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-switchdelegate-indicator.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -SwitchDelegate { - text: "SwitchDelegate" - checked: true - Rectangle { - anchors.fill: indicator - color: "transparent" - border.color: "red" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tabbar.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tabbar.qml deleted file mode 100644 index a0282d91..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tabbar.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Layouts 1.3 -import Qt.labs.controls 1.0 - -Column { - width: 300 - - //! [1] - TabBar { - id: bar - width: parent.width - TabButton { - text: qsTr("Home") - } - TabButton { - text: qsTr("Discover") - } - TabButton { - text: qsTr("Activity") - } - } - - StackLayout { - width: parent.width - currentIndex: bar.currentIndex - Item { - id: homeTab - } - Item { - id: discoverTab - } - Item { - id: activityTab - } - } - //! [1] -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tabbutton.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tabbutton.qml deleted file mode 100644 index 5412db66..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tabbutton.qml +++ /dev/null @@ -1,43 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -TabBar { - TabButton { - text: qsTr("Home") - } - TabButton { - text: qsTr("Discover") - } - TabButton { - text: qsTr("Activity") - } -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-textarea.qml b/src/imports/controls/doc/snippets/qtquickcontrols-textarea.qml deleted file mode 100644 index c99fdd13..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-textarea.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -TextArea { - text: "Text\nArea..." -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-textfield-background.qml deleted file mode 100644 index 87324b2d..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-background.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -TextField { - width: 80 - text: "TextField" - Rectangle { - anchors.fill: background - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols-textfield-disabled.qml deleted file mode 100644 index e4359d57..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-disabled.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -TextField { - width: 80 - text: "Disabled" - enabled: false -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols-textfield-focused.qml deleted file mode 100644 index 9bbcb8ad..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-focused.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -TextField { - width: 80 - text: "Focused" - focus: true -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols-textfield-normal.qml deleted file mode 100644 index de360a33..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-textfield-normal.qml +++ /dev/null @@ -1,34 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -TextField { - width: 80 - text: "Normal" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-textfield.qml b/src/imports/controls/doc/snippets/qtquickcontrols-textfield.qml deleted file mode 100644 index 838bd111..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-textfield.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -TextField { - text: "TextField" -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-toolbar-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-toolbar-background.qml deleted file mode 100644 index 486e841f..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-toolbar-background.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ToolBar { - width: 100 - Rectangle { - parent: background - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-toolbar.qml b/src/imports/controls/doc/snippets/qtquickcontrols-toolbar.qml deleted file mode 100644 index 7def9a83..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-toolbar.qml +++ /dev/null @@ -1,45 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Layouts 1.0 -import Qt.labs.controls 1.0 - -ToolBar { - RowLayout { - anchors.fill: parent - ToolButton { - text: qsTr("\u25C0 Qt") - onClicked: stack.pop() - } - Item { Layout.fillWidth: true } - Switch { - checked: true - text: qsTr("Notifications") - } - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-background.qml deleted file mode 100644 index 62338070..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-background.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ToolButton { - text: "ToolButton" - Rectangle { - anchors.fill: background - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-contentItem.qml deleted file mode 100644 index 9a25d130..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton-contentItem.qml +++ /dev/null @@ -1,38 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ToolButton { - text: "ToolButton" - Rectangle { - anchors.fill: contentItem - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton.qml b/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton.qml deleted file mode 100644 index 0db6bfe2..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-toolbutton.qml +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -ToolBar { - ToolButton { - text: "ToolButton" - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-background.qml deleted file mode 100644 index fe4f33a5..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-background.qml +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Window 2.2 -import Qt.labs.controls 1.0 - -Item { - id: root - width: tip.width - height: tip.height - - ToolTip { - id: tip - text: "ToolTip" - visible: root.Window.active - - Rectangle { - parent: tip.background - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-contentItem.qml deleted file mode 100644 index 2a62c86a..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-contentItem.qml +++ /dev/null @@ -1,49 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Window 2.2 -import Qt.labs.controls 1.0 - -Item { - id: root - width: tip.width - height: tip.height - - ToolTip { - id: tip - text: "ToolTip" - visible: root.Window.active - - Rectangle { - parent: tip.contentItem - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-hover.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-hover.qml deleted file mode 100644 index a8df6277..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-hover.qml +++ /dev/null @@ -1,41 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -Button { - text: qsTr("Button") - hoverEnabled: true - - ToolTip.delay: 1000 - ToolTip.timeout: 5000 - ToolTip.visible: hovered - ToolTip.text: qsTr("This tool tip is shown after hovering the button for a second.") -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-pressandhold.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-pressandhold.qml deleted file mode 100644 index 47f1440c..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-pressandhold.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -//! [1] -Button { - text: qsTr("Button") - - ToolTip.visible: pressed - ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval - ToolTip.text: qsTr("This tool tip is shown after pressing and holding the button down.") -} -//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-slider.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-slider.qml deleted file mode 100644 index cac6872c..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip-slider.qml +++ /dev/null @@ -1,53 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Window 2.2 -import Qt.labs.controls 1.0 - -Item { - id: root - width: slider.width - height: slider.height * 2.0 - - Binding { target: slider.anchors; property: "centerIn"; value: root } - Binding { target: slider.anchors; property: "verticalCenterOffset"; value: slider.height / 2 } - Binding { target: slider; property: "pressed"; value: root.Window.active } - - //! [1] - Slider { - id: slider - value: 0.5 - - ToolTip { - parent: slider.handle - visible: slider.pressed - text: slider.position.toFixed(1) - } - } - //! [1] -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tooltip.qml deleted file mode 100644 index 7a061b2d..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tooltip.qml +++ /dev/null @@ -1,51 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import QtQuick.Window 2.2 -import Qt.labs.controls 1.0 - -Item { - id: root - width: 360 - height: button.height * 2 - - property Button button: children[0] - - Binding { target: button; property: "pressed"; value: root.Window.active } - Binding { target: button.anchors; property: "bottom"; value: root.bottom } - Binding { target: button.anchors; property: "horizontalCenter"; value: root.horizontalCenter } - - //! [1] - Button { - text: qsTr("Button") - - ToolTip.visible: pressed - ToolTip.text: qsTr("A descriptive tool tip of what the button does") - } - //! [1] -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-background.qml deleted file mode 100644 index 8a423cac..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-background.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Tumbler { - model: 5 - - Rectangle { - anchors.fill: parent - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-contentItem.qml deleted file mode 100644 index 0e26661e..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-contentItem.qml +++ /dev/null @@ -1,39 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Tumbler { - model: 5 - - Rectangle { - anchors.fill: parent.contentItem - color: 'transparent' - border.color: 'red' - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-delegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-delegate.qml deleted file mode 100644 index cf18fd93..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler-delegate.qml +++ /dev/null @@ -1,47 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Tumbler { - id: tumbler - model: 5 - - Column { - Repeater { - model: 3 - - Rectangle { - width: tumbler.contentItem.width - height: tumbler.contentItem.height / 3 - color: 'transparent' - border.color: 'red' - } - } - } -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler.qml b/src/imports/controls/doc/snippets/qtquickcontrols-tumbler.qml deleted file mode 100644 index f96ed893..00000000 --- a/src/imports/controls/doc/snippets/qtquickcontrols-tumbler.qml +++ /dev/null @@ -1,33 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the documentation of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:FDL$ -** Commercial License Usage -** Licensees holding valid commercial Qt licenses may use this file in -** accordance with the commercial license agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and The Qt Company. For licensing terms -** and conditions see http://www.qt.io/terms-conditions. For further -** information use the contact form at http://www.qt.io/contact-us. -** -** GNU Free Documentation License Usage -** Alternatively, this file may be used under the terms of the GNU Free -** Documentation License version 1.3 as published by the Free Software -** Foundation and appearing in the file included in the packaging of -** this file. Please review the following information to ensure -** the GNU Free Documentation License version 1.3 requirements -** will be met: http://www.gnu.org/copyleft/fdl.html. -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 -import Qt.labs.controls 1.0 - -Tumbler { - model: 5 -} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-background.qml new file mode 100644 index 00000000..5ccd8f20 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-background.qml @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +BusyIndicator { + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-contentItem.qml new file mode 100644 index 00000000..8f212c37 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator-contentItem.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +BusyIndicator { + Rectangle { + anchors.fill: contentItem + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator.qml new file mode 100644 index 00000000..703161a4 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-busyindicator.qml @@ -0,0 +1,32 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +BusyIndicator { +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-button-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-button-background.qml new file mode 100644 index 00000000..7c0a6b50 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-button-background.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Button { + width: 80 + text: "Button" + Rectangle { + anchors.fill: background + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-button-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-button-contentItem.qml new file mode 100644 index 00000000..ee59ab7f --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-button-contentItem.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Button { + width: 80 + text: "Button" + Rectangle { + anchors.fill: contentItem + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-button-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-button-disabled.qml new file mode 100644 index 00000000..13037b8d --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-button-disabled.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Button { + width: 80 + text: "Disabled" + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-button-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-button-focused.qml new file mode 100644 index 00000000..ee72caf6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-button-focused.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Button { + width: 80 + text: "Focused" + focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-button-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-button-normal.qml new file mode 100644 index 00000000..692d9066 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-button-normal.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Button { + width: 80 + text: "Normal" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-button-pressed.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-button-pressed.qml new file mode 100644 index 00000000..b5c918db --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-button-pressed.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Button { + width: 80 + text: "Pressed" + pressed: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-button.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-button.qml new file mode 100644 index 00000000..86d339b7 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-button.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Button { + text: "Button" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-background.qml new file mode 100644 index 00000000..566202b5 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-background.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "CheckBox" + background: Rectangle { + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-checked.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-checked.qml new file mode 100644 index 00000000..3acb9321 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-checked.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "Checked" + checked: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-contentItem.qml new file mode 100644 index 00000000..bef150a3 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "CheckBox" + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-disabled.qml new file mode 100644 index 00000000..6069edad --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-disabled.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "Disabled" + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-focused.qml new file mode 100644 index 00000000..a90a42d6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-focused.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "Focused" + focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-indicator.qml new file mode 100644 index 00000000..ae9a0b0a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-indicator.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "CheckBox" + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-normal.qml new file mode 100644 index 00000000..bc86f927 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox-normal.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "Normal" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox.qml new file mode 100644 index 00000000..2bf74b42 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkbox.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckBox { + text: "CheckBox" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-background.qml new file mode 100644 index 00000000..fe60d47c --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckDelegate { + text: "CheckDelegate" + checked: true + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-contentItem.qml new file mode 100644 index 00000000..d1c83028 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-contentItem.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckDelegate { + text: "CheckDelegate" + checked: true + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-indicator.qml new file mode 100644 index 00000000..e3ba48b8 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-checkdelegate-indicator.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +CheckDelegate { + text: "CheckDelegate" + checked: true + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-background.qml new file mode 100644 index 00000000..d6715f07 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ComboBox { + model: ["ComboBox"] + Rectangle { + anchors.fill: background + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-contentItem.qml new file mode 100644 index 00000000..08523088 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ComboBox { + model: ["ComboBox"] + Rectangle { + anchors.fill: contentItem + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-delegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-delegate.qml new file mode 100644 index 00000000..1241eeaa --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-delegate.qml @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + id: root + width: combo.width + height: combo.height + combo.popup.contentItem.height + ComboBox { + id: combo + model: ["First", "Second", "Third"] + popup.contentItem.parent: root + popup.contentItem.y: combo.height + delegate: ItemDelegate { + width: combo.width + text: modelData + autoExclusive: true + checked: combo.currentIndex === index + Rectangle { + visible: index === 0 + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } + } + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-popup.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-popup.qml new file mode 100644 index 00000000..0fea67d1 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox-popup.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + id: root + width: combo.width + height: combo.height + combo.popup.contentItem.height + ComboBox { + id: combo + model: ["First", "Second", "Third"] + popup.contentItem.parent: root + popup.contentItem.y: combo.height + } + Rectangle { + parent: combo.popup.contentItem + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-combobox.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox.qml new file mode 100644 index 00000000..4d7fe7fd --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-combobox.qml @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + id: root + width: combo.width + height: combo.height + combo.popup.contentItem.height + //! [1] + ComboBox { + id: combo + model: ["First", "Second", "Third"] + popup.contentItem.parent: root + popup.contentItem.y: combo.height + } + //! [1] +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-dial-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-dial-background.qml new file mode 100644 index 00000000..333db1ca --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-dial-background.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Dial { + Rectangle { + anchors.fill: background + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-dial-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-dial-handle.qml new file mode 100644 index 00000000..73794cc0 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-dial-handle.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Dial { + id: dial + + Rectangle { + parent: dial.handle + anchors.fill: parent + color: 'transparent' + border.color: 'red' + antialiasing: true + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-dial.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-dial.qml new file mode 100644 index 00000000..b42e418d --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-dial.qml @@ -0,0 +1,32 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Dial { +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-frame-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-frame-background.qml new file mode 100644 index 00000000..08084e61 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-frame-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Frame { + width: 100 + height: 100 + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-frame.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-frame.qml new file mode 100644 index 00000000..7fadc9e5 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-frame.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Layouts 1.0 +import Qt.labs.controls 1.0 + +//! [1] +Frame { + ColumnLayout { + anchors.fill: parent + CheckBox { text: qsTr("E-mail") } + CheckBox { text: qsTr("Calendar") } + CheckBox { text: qsTr("Contacts") } + } +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-background.qml new file mode 100644 index 00000000..480aa8e6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-background.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +GroupBox { + width: 100 + height: 100 + title: "GroupBox" + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-checkable.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-checkable.qml new file mode 100644 index 00000000..1c1232c7 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-checkable.qml @@ -0,0 +1,48 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Layouts 1.0 +import Qt.labs.controls 1.0 + +//! [1] +GroupBox { + label: CheckBox { + id: checkBox + checked: true + text: qsTr("Synchronize") + } + + ColumnLayout { + anchors.fill: parent + enabled: checkBox.checked + CheckBox { text: qsTr("E-mail") } + CheckBox { text: qsTr("Calendar") } + CheckBox { text: qsTr("Contacts") } + } +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-label.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-label.qml new file mode 100644 index 00000000..53da863b --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox-label.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +GroupBox { + width: 100 + height: 100 + title: "GroupBox" + Rectangle { + parent: label + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox.qml new file mode 100644 index 00000000..81b234f4 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-groupbox.qml @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Layouts 1.0 +import Qt.labs.controls 1.0 + +//! [1] +GroupBox { + title: qsTr("Synchronize") + ColumnLayout { + anchors.fill: parent + CheckBox { text: qsTr("E-mail") } + CheckBox { text: qsTr("Calendar") } + CheckBox { text: qsTr("Contacts") } + } +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-background.qml new file mode 100644 index 00000000..85aba1c8 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-background.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ItemDelegate { + text: "ItemDelegate" + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-contentItem.qml new file mode 100644 index 00000000..aa7d5e2b --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ItemDelegate { + text: "ItemDelegate" + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-indicator.qml new file mode 100644 index 00000000..13e8b6cf --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate-indicator.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ItemDelegate { + text: "ItemDelegate" + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate.qml new file mode 100644 index 00000000..d02f722a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-itemdelegate.qml @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +ListView { + width: 160 + height: 240 + + model: Qt.fontFamilies() + + delegate: ItemDelegate { + text: modelData + width: parent.width + onClicked: console.log("clicked:", modelData) + } + + ScrollIndicator.vertical: ScrollIndicator { } +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-label-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-label-background.qml new file mode 100644 index 00000000..55cbf4eb --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-label-background.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Label { + text: "Label" + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-label.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-label.qml new file mode 100644 index 00000000..cb26658d --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-label.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +Label { + text: "Label" +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-menu-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-menu-contentItem.qml new file mode 100644 index 00000000..0c270d34 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-menu-contentItem.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + id: window + width: menu.contentItem.width + height: menu.contentItem.height + visible: true + + Menu { + id: menu + contentItem.parent: window + + MenuItem { + text: "New..." + } + MenuItem { + text: "Open..." + } + MenuItem { + text: "Save" + } + } + + Rectangle { + parent: menu.contentItem + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-menu.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-menu.qml new file mode 100644 index 00000000..b0f32203 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-menu.qml @@ -0,0 +1,51 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + id: window + width: menu.contentItem.width + height: menu.contentItem.height + visible: true + + Menu { + id: menu + contentItem.parent: window + + MenuItem { + text: "New..." + } + MenuItem { + text: "Open..." + } + MenuItem { + text: "Save" + } + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-background.qml new file mode 100644 index 00000000..1c6a53b6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +PageIndicator { + count: 5 + currentIndex: 2 + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-contentItem.qml new file mode 100644 index 00000000..b36b78bf --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-contentItem.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +PageIndicator { + count: 5 + currentIndex: 2 + Rectangle { + anchors.fill: contentItem + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-delegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-delegate.qml new file mode 100644 index 00000000..39247607 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator-delegate.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +PageIndicator { + count: 5 + currentIndex: 2 + Rectangle { + parent: contentItem.children[0] + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator.qml new file mode 100644 index 00000000..c37b37c6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-pageindicator.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +PageIndicator { + count: 5 + currentIndex: 2 +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-pane-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-pane-background.qml new file mode 100644 index 00000000..d1d9f22f --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-pane-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Pane { + width: 100 + height: 100 + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-pane.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-pane.qml new file mode 100644 index 00000000..09bfa6a0 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-pane.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Layouts 1.0 +import Qt.labs.controls 1.0 + +//! [1] +Pane { + ColumnLayout { + anchors.fill: parent + CheckBox { text: qsTr("E-mail") } + CheckBox { text: qsTr("Calendar") } + CheckBox { text: qsTr("Contacts") } + } +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-background.qml new file mode 100644 index 00000000..55e71b81 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ProgressBar { + value: 0.5 + Rectangle { + anchors.fill: background + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-contentItem.qml new file mode 100644 index 00000000..0bb1b418 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-contentItem.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ProgressBar { + value: 0.5 + Rectangle { + parent: contentItem + anchors.fill: parent + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-disabled.qml new file mode 100644 index 00000000..0f74ea46 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-disabled.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ProgressBar { + value: 0.5 + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-normal.qml new file mode 100644 index 00000000..e1c200b5 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-progressbar-normal.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ProgressBar { + value: 0.5 +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-background.qml new file mode 100644 index 00000000..d7c6d258 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-background.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "RadioButton" + background: Rectangle { + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-checked.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-checked.qml new file mode 100644 index 00000000..49f82a5c --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-checked.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "Checked" + checked: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-contentItem.qml new file mode 100644 index 00000000..14bb7c47 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "RadioButton" + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-disabled.qml new file mode 100644 index 00000000..1a087593 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-disabled.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "Disabled" + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-focused.qml new file mode 100644 index 00000000..2ad1cbfc --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-focused.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "Focused" + focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-indicator.qml new file mode 100644 index 00000000..d36932dc --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-indicator.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "RadioButton" + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-normal.qml new file mode 100644 index 00000000..8c746468 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton-normal.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "Normal" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton.qml new file mode 100644 index 00000000..8f898d18 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiobutton.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioButton { + text: "RadioButton" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-background.qml new file mode 100644 index 00000000..8d6fd78a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioDelegate { + text: "RadioDelegate" + checked: true + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-contentItem.qml new file mode 100644 index 00000000..a1b08c4e --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-contentItem.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioDelegate { + text: "RadioDelegate" + checked: true + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-indicator.qml new file mode 100644 index 00000000..ffb91097 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-radiodelegate-indicator.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RadioDelegate { + text: "RadioDelegate" + checked: true + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-background.qml new file mode 100644 index 00000000..2b8ab5a1 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 + background: Rectangle { + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-disabled.qml new file mode 100644 index 00000000..af167461 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-disabled.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle-focused.qml new file mode 100644 index 00000000..04081cb8 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle-focused.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 + first.handle.focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle.qml new file mode 100644 index 00000000..f27f904a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-first-handle.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 + Rectangle { + anchors.fill: first.handle + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-normal.qml new file mode 100644 index 00000000..343c24e9 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-normal.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle-focused.qml new file mode 100644 index 00000000..15da7776 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle-focused.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 + second.handle.focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle.qml new file mode 100644 index 00000000..dd54d2fb --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider-second-handle.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 + Rectangle { + anchors.fill: second.handle + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider.qml new file mode 100644 index 00000000..343c24e9 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-rangeslider.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +RangeSlider { + first.value: 0.25 + second.value: 0.75 +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-active.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-active.qml new file mode 100644 index 00000000..8903f064 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-active.qml @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + width: 100 + height: 100 + + //! [1] + Flickable { + anchors.fill: parent + + contentWidth: parent.width * 2 + contentHeight: parent.height * 2 + + ScrollBar.horizontal: ScrollBar { id: hbar; active: vbar.active } + ScrollBar.vertical: ScrollBar { id: vbar; active: hbar.active } + } + //! [1] +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-background.qml new file mode 100644 index 00000000..90d341b9 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-background.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ScrollBar { + size: 0.5 + position: 0.5 + active: true + height: 100 + background: Rectangle { + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-contentItem.qml new file mode 100644 index 00000000..d1ce40d7 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar-contentItem.qml @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ScrollBar { + size: 0.5 + position: 0.5 + active: true + height: 100 + Rectangle { + parent: contentItem + anchors.fill: parent + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar.qml new file mode 100644 index 00000000..b677137d --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollbar.qml @@ -0,0 +1,52 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Frame { + width: 100 + height: 100 + + ScrollBar { + size: 0.3 + position: 0.2 + active: true + orientation: Qt.Vertical + height: parent.height + anchors.right: parent.right + } + + ScrollBar { + size: 0.6 + position: 0.3 + active: true + orientation: Qt.Horizontal + width: parent.width + anchors.bottom: parent.bottom + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-active.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-active.qml new file mode 100644 index 00000000..3399e5fb --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-active.qml @@ -0,0 +1,46 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + width: 100 + height: 100 + + //! [1] + Flickable { + anchors.fill: parent + + contentWidth: parent.width * 2 + contentHeight: parent.height * 2 + + ScrollIndicator.horizontal: ScrollIndicator { id: hbar; active: vbar.active } + ScrollIndicator.vertical: ScrollIndicator { id: vbar; active: hbar.active } + } + //! [1] +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-background.qml new file mode 100644 index 00000000..b276e8ae --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-background.qml @@ -0,0 +1,40 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ScrollIndicator { + size: 0.5 + position: 0.5 + active: true + height: 100 + background: Rectangle { + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-contentItem.qml new file mode 100644 index 00000000..ef85fe69 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator-contentItem.qml @@ -0,0 +1,42 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ScrollIndicator { + size: 0.5 + position: 0.5 + active: true + height: 100 + Rectangle { + parent: contentItem + anchors.fill: parent + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator.qml new file mode 100644 index 00000000..8efa0eed --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-scrollindicator.qml @@ -0,0 +1,52 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Frame { + width: 100 + height: 100 + + ScrollIndicator { + size: 0.3 + position: 0.2 + active: true + orientation: Qt.Vertical + height: parent.height + anchors.right: parent.right + } + + ScrollIndicator { + size: 0.6 + position: 0.3 + active: true + orientation: Qt.Horizontal + width: parent.width + anchors.bottom: parent.bottom + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-slider-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-background.qml new file mode 100644 index 00000000..74c4fbb6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Slider { + value: 0.5 + Rectangle { + anchors.fill: background + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-slider-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-disabled.qml new file mode 100644 index 00000000..57429fb4 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-disabled.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Slider { + value: 0.5 + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-slider-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-focused.qml new file mode 100644 index 00000000..69a24b1a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-focused.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Slider { + value: 0.5 + focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-slider-handle.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-handle.qml new file mode 100644 index 00000000..58bd139e --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-handle.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Slider { + value: 0.5 + Rectangle { + anchors.fill: handle + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-slider-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-normal.qml new file mode 100644 index 00000000..331d076a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-slider-normal.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Slider { + value: 0.5 +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-slider.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-slider.qml new file mode 100644 index 00000000..331d076a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-slider.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Slider { + value: 0.5 +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-background.qml new file mode 100644 index 00000000..21d1fe92 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SpinBox { + value: 50 + Rectangle { + anchors.fill: parent + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-contentItem.qml new file mode 100644 index 00000000..5d1f66f6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SpinBox { + value: 50 + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-down.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-down.qml new file mode 100644 index 00000000..2294741c --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-down.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SpinBox { + value: 50 + Rectangle { + anchors.fill: down.indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-textual.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-textual.qml new file mode 100644 index 00000000..b7d7b9b8 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-textual.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +SpinBox { + from: 0 + to: items.length - 1 + value: 1 // "Medium" + + property var items: ["Small", "Medium", "Large"] + + validator: RegExpValidator { + regExp: new RegExp("(Small|Medium|Large)", "i") + } + + textFromValue: function(value) { + return items[value]; + } + + valueFromText: function(text) { + for (var i = 0; i < items.length; ++i) { + if (items[i].toLowerCase().indexOf(text.toLowerCase()) === 0) + return i + } + return sb.value + } +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-up.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-up.qml new file mode 100644 index 00000000..dc6887c0 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox-up.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SpinBox { + value: 50 + Rectangle { + anchors.fill: up.indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox.qml new file mode 100644 index 00000000..a8adfbd6 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-spinbox.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +SpinBox { + value: 50 +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-background.qml new file mode 100644 index 00000000..be665771 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SwipeDelegate { + text: "SwipeDelegate" + Rectangle { + anchors.fill: background + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-contentItem.qml new file mode 100644 index 00000000..897d4792 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SwipeDelegate { + text: "SwipeDelegate" + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-indicator.qml new file mode 100644 index 00000000..e184dc64 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate-indicator.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SwipeDelegate { + text: "SwipeDelegate" + checked: true + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml new file mode 100644 index 00000000..97f57dca --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-swipedelegate.qml @@ -0,0 +1,87 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import Qt.labs.controls 1.0 + +ListView { + id: listView + width: 100 + height: 120 + + model: ListModel { + ListElement { name: "Apple" } + ListElement { name: "Orange" } + ListElement { name: "Pear" } + } + + delegate: SwipeDelegate { + id: rootDelegate + width: listView.width + text: modelData + + ListView.onRemove: SequentialAnimation { + PropertyAction { + target: rootDelegate + property: "ListView.delayRemove" + value: true + } + NumberAnimation { + target: rootDelegate + property: "height" + to: 0 + easing.type: Easing.InOutQuad + } + PropertyAction { + target: rootDelegate + property: "ListView.delayRemove" + value: false + } + } + + onClicked: if (exposure.active) ListView.view.model.remove(index) + + Component { + id: removeComponent + + Rectangle { + color: rootDelegate.exposed && rootDelegate.pressed ? "#333" : "#444" + width: parent.width + height: parent.height + + Label { + text: "Remove" + color: "white" + anchors.centerIn: parent + } + } + } + + exposure.left: removeComponent + exposure.right: removeComponent + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-swipeview-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-swipeview-indicator.qml new file mode 100644 index 00000000..c3a38b92 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-swipeview-indicator.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Item { + width: 200 + height: 320 + + //! [1] + SwipeView { + id: view + + currentIndex: 1 + anchors.fill: parent + + Item { + id: firstPage + } + Item { + id: secondPage + } + Item { + id: thirdPage + } + } + + PageIndicator { + id: indicator + + count: view.count + currentIndex: view.currentIndex + + anchors.bottom: view.bottom + anchors.horizontalCenter: parent.horizontalCenter + } + //! [1] +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-background.qml new file mode 100644 index 00000000..1829bb26 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-background.qml @@ -0,0 +1,37 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Switch" + background: Rectangle { + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch-checked.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-checked.qml new file mode 100644 index 00000000..4a2ff8f9 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-checked.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Checked" + checked: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-contentItem.qml new file mode 100644 index 00000000..99f2af7e --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Switch" + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-disabled.qml new file mode 100644 index 00000000..c84afdb1 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-disabled.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Disabled" + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-focused.qml new file mode 100644 index 00000000..e1b5bd3f --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-focused.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Focused" + focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-indicator.qml new file mode 100644 index 00000000..12d4f20d --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-indicator.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Switch" + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-normal.qml new file mode 100644 index 00000000..9a766524 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch-normal.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Normal" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switch.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switch.qml new file mode 100644 index 00000000..9e30f8d5 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switch.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Switch { + text: "Switch" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-background.qml new file mode 100644 index 00000000..65342e74 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SwitchDelegate { + text: "SwitchDelegate" + checked: true + background: Rectangle { + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-contentItem.qml new file mode 100644 index 00000000..2aeb9082 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-contentItem.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SwitchDelegate { + text: "SwitchDelegate" + checked: true + Rectangle { + anchors.fill: contentItem + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-indicator.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-indicator.qml new file mode 100644 index 00000000..258a011a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-switchdelegate-indicator.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +SwitchDelegate { + text: "SwitchDelegate" + checked: true + Rectangle { + anchors.fill: indicator + color: "transparent" + border.color: "red" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tabbar.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tabbar.qml new file mode 100644 index 00000000..a0282d91 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tabbar.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Layouts 1.3 +import Qt.labs.controls 1.0 + +Column { + width: 300 + + //! [1] + TabBar { + id: bar + width: parent.width + TabButton { + text: qsTr("Home") + } + TabButton { + text: qsTr("Discover") + } + TabButton { + text: qsTr("Activity") + } + } + + StackLayout { + width: parent.width + currentIndex: bar.currentIndex + Item { + id: homeTab + } + Item { + id: discoverTab + } + Item { + id: activityTab + } + } + //! [1] +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tabbutton.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tabbutton.qml new file mode 100644 index 00000000..5412db66 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tabbutton.qml @@ -0,0 +1,43 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +TabBar { + TabButton { + text: qsTr("Home") + } + TabButton { + text: qsTr("Discover") + } + TabButton { + text: qsTr("Activity") + } +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-textarea.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-textarea.qml new file mode 100644 index 00000000..c99fdd13 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-textarea.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +TextArea { + text: "Text\nArea..." +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-background.qml new file mode 100644 index 00000000..87324b2d --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-background.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +TextField { + width: 80 + text: "TextField" + Rectangle { + anchors.fill: background + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-disabled.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-disabled.qml new file mode 100644 index 00000000..e4359d57 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-disabled.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +TextField { + width: 80 + text: "Disabled" + enabled: false +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-focused.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-focused.qml new file mode 100644 index 00000000..9bbcb8ad --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-focused.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +TextField { + width: 80 + text: "Focused" + focus: true +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-normal.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-normal.qml new file mode 100644 index 00000000..de360a33 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield-normal.qml @@ -0,0 +1,34 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +TextField { + width: 80 + text: "Normal" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-textfield.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield.qml new file mode 100644 index 00000000..838bd111 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-textfield.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +TextField { + text: "TextField" +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-toolbar-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbar-background.qml new file mode 100644 index 00000000..486e841f --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbar-background.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ToolBar { + width: 100 + Rectangle { + parent: background + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-toolbar.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbar.qml new file mode 100644 index 00000000..7def9a83 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbar.qml @@ -0,0 +1,45 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Layouts 1.0 +import Qt.labs.controls 1.0 + +ToolBar { + RowLayout { + anchors.fill: parent + ToolButton { + text: qsTr("\u25C0 Qt") + onClicked: stack.pop() + } + Item { Layout.fillWidth: true } + Switch { + checked: true + text: qsTr("Notifications") + } + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-background.qml new file mode 100644 index 00000000..62338070 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-background.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ToolButton { + text: "ToolButton" + Rectangle { + anchors.fill: background + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-contentItem.qml new file mode 100644 index 00000000..9a25d130 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton-contentItem.qml @@ -0,0 +1,38 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ToolButton { + text: "ToolButton" + Rectangle { + anchors.fill: contentItem + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton.qml new file mode 100644 index 00000000..0db6bfe2 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-toolbutton.qml @@ -0,0 +1,35 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +ToolBar { + ToolButton { + text: "ToolButton" + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-background.qml new file mode 100644 index 00000000..fe4f33a5 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-background.qml @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Window 2.2 +import Qt.labs.controls 1.0 + +Item { + id: root + width: tip.width + height: tip.height + + ToolTip { + id: tip + text: "ToolTip" + visible: root.Window.active + + Rectangle { + parent: tip.background + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-contentItem.qml new file mode 100644 index 00000000..2a62c86a --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-contentItem.qml @@ -0,0 +1,49 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Window 2.2 +import Qt.labs.controls 1.0 + +Item { + id: root + width: tip.width + height: tip.height + + ToolTip { + id: tip + text: "ToolTip" + visible: root.Window.active + + Rectangle { + parent: tip.contentItem + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-hover.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-hover.qml new file mode 100644 index 00000000..a8df6277 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-hover.qml @@ -0,0 +1,41 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +Button { + text: qsTr("Button") + hoverEnabled: true + + ToolTip.delay: 1000 + ToolTip.timeout: 5000 + ToolTip.visible: hovered + ToolTip.text: qsTr("This tool tip is shown after hovering the button for a second.") +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-pressandhold.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-pressandhold.qml new file mode 100644 index 00000000..47f1440c --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-pressandhold.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +//! [1] +Button { + text: qsTr("Button") + + ToolTip.visible: pressed + ToolTip.delay: Qt.styleHints.mousePressAndHoldInterval + ToolTip.text: qsTr("This tool tip is shown after pressing and holding the button down.") +} +//! [1] diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-slider.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-slider.qml new file mode 100644 index 00000000..cac6872c --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip-slider.qml @@ -0,0 +1,53 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Window 2.2 +import Qt.labs.controls 1.0 + +Item { + id: root + width: slider.width + height: slider.height * 2.0 + + Binding { target: slider.anchors; property: "centerIn"; value: root } + Binding { target: slider.anchors; property: "verticalCenterOffset"; value: slider.height / 2 } + Binding { target: slider; property: "pressed"; value: root.Window.active } + + //! [1] + Slider { + id: slider + value: 0.5 + + ToolTip { + parent: slider.handle + visible: slider.pressed + text: slider.position.toFixed(1) + } + } + //! [1] +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip.qml new file mode 100644 index 00000000..7a061b2d --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tooltip.qml @@ -0,0 +1,51 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import QtQuick.Window 2.2 +import Qt.labs.controls 1.0 + +Item { + id: root + width: 360 + height: button.height * 2 + + property Button button: children[0] + + Binding { target: button; property: "pressed"; value: root.Window.active } + Binding { target: button.anchors; property: "bottom"; value: root.bottom } + Binding { target: button.anchors; property: "horizontalCenter"; value: root.horizontalCenter } + + //! [1] + Button { + text: qsTr("Button") + + ToolTip.visible: pressed + ToolTip.text: qsTr("A descriptive tool tip of what the button does") + } + //! [1] +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-background.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-background.qml new file mode 100644 index 00000000..8a423cac --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-background.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Tumbler { + model: 5 + + Rectangle { + anchors.fill: parent + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-contentItem.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-contentItem.qml new file mode 100644 index 00000000..0e26661e --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-contentItem.qml @@ -0,0 +1,39 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Tumbler { + model: 5 + + Rectangle { + anchors.fill: parent.contentItem + color: 'transparent' + border.color: 'red' + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-delegate.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-delegate.qml new file mode 100644 index 00000000..cf18fd93 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler-delegate.qml @@ -0,0 +1,47 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Tumbler { + id: tumbler + model: 5 + + Column { + Repeater { + model: 3 + + Rectangle { + width: tumbler.contentItem.width + height: tumbler.contentItem.height / 3 + color: 'transparent' + border.color: 'red' + } + } + } +} diff --git a/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler.qml b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler.qml new file mode 100644 index 00000000..f96ed893 --- /dev/null +++ b/src/imports/controls/doc/snippets/qtquickcontrols2-tumbler.qml @@ -0,0 +1,33 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the documentation of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:FDL$ +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see http://www.qt.io/terms-conditions. For further +** information use the contact form at http://www.qt.io/contact-us. +** +** GNU Free Documentation License Usage +** Alternatively, this file may be used under the terms of the GNU Free +** Documentation License version 1.3 as published by the Free Software +** Foundation and appearing in the file included in the packaging of +** this file. Please review the following information to ensure +** the GNU Free Documentation License version 1.3 requirements +** will be met: http://www.gnu.org/copyleft/fdl.html. +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.0 +import Qt.labs.controls 1.0 + +Tumbler { + model: 5 +} diff --git a/src/imports/controls/doc/src/qtquickcontrols2-buttons.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-buttons.qdoc index 9e7872d7..33859cc8 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-buttons.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-buttons.qdoc @@ -39,7 +39,7 @@ \section1 Button Control - \image qtquickcontrols-button.png + \image qtquickcontrols2-button.png \l Button presents a push-button control that can be pushed or clicked by the user. Buttons are normally used to perform an action, or to answer @@ -48,7 +48,7 @@ \section1 CheckBox Control - \image qtquickcontrols-checkbox.png + \image qtquickcontrols2-checkbox.png \l CheckBox presents an option button that can be toggled on (checked) or off (unchecked). Check boxes are typically used to select one or more @@ -56,7 +56,7 @@ \section1 RadioButton Control - \image qtquickcontrols-radiobutton.png + \image qtquickcontrols2-radiobutton.png \l RadioButton presents an option button that can be toggled on (checked) or off (unchecked). Radio buttons are typically used to select one option @@ -64,7 +64,7 @@ \section1 Switch Control - \image qtquickcontrols-switch.png + \image qtquickcontrols2-switch.png \l Switch is an option button that can be dragged or toggled on (checked) or off (unchecked). Switches are typically used to select between two @@ -72,7 +72,7 @@ \section1 ToolButton Control - \image qtquickcontrols-toolbutton.png + \image qtquickcontrols2-toolbutton.png \l ToolButton is functionally similar to \l Button, but provides a look that is more suitable within a \l ToolBar. diff --git a/src/imports/controls/doc/src/qtquickcontrols2-containers.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-containers.qdoc index 9a9a6bd6..4e037033 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-containers.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-containers.qdoc @@ -39,58 +39,58 @@ \section1 ApplicationWindow Control - \image qtquickcontrols-applicationwindow-wireframe.png + \image qtquickcontrols2-applicationwindow-wireframe.png \l ApplicationWindow contains optional header and footer items. \section1 Frame Control - \image qtquickcontrols-frame.png + \image qtquickcontrols2-frame.png \l Frame is used to layout a logical group of controls together, within a visual frame. \section1 GroupBox Control - \image qtquickcontrols-groupbox.png + \image qtquickcontrols2-groupbox.png \l GroupBox is used to layout a logical group of controls together, within a titled visual frame. \section1 Page Control - \image qtquickcontrols-page-wireframe.png + \image qtquickcontrols2-page-wireframe.png \l Page provides page-specific header and footer items. \section1 Pane Control - \image qtquickcontrols-pane.png + \image qtquickcontrols2-pane.png \l Pane provides a background color that matches with the application style and theme. \section1 StackView Control - \image qtquickcontrols-stackview-wireframe.png + \image qtquickcontrols2-stackview-wireframe.png \l StackView organizes content pages into a stack. \section1 SwipeView Control - \image qtquickcontrols-swipeview-wireframe.png + \image qtquickcontrols2-swipeview-wireframe.png \l SwipeView organizes content pages into a swipable strip. \section1 TabBar Control - \image qtquickcontrols-tabbar-wireframe.png + \image qtquickcontrols2-tabbar-wireframe.png \l TabBar organizes content pages into tabs. \section1 ToolBar Control - \image qtquickcontrols-toolbar.png + \image qtquickcontrols2-toolbar.png \l ToolBar is a container of application-wide and context-sensitive actions and controls. diff --git a/src/imports/controls/doc/src/qtquickcontrols2-customize.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-customize.qdoc index 4204de4b..a2929b26 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-customize.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-customize.qdoc @@ -43,13 +43,13 @@ \section3 Background - \image qtquickcontrols-busyindicator-background.png + \image qtquickcontrols2-busyindicator-background.png BusyIndicator has no background item by default. \section3 Content item - \image qtquickcontrols-busyindicator-contentItem.png + \image qtquickcontrols2-busyindicator-contentItem.png \snippet BusyIndicator.qml contentItem @@ -61,13 +61,13 @@ \section3 Background - \image qtquickcontrols-button-background.png + \image qtquickcontrols2-button-background.png \snippet Button.qml background \section3 Content item - \image qtquickcontrols-button-contentItem.png + \image qtquickcontrols2-button-contentItem.png \snippet Button.qml contentItem @@ -79,19 +79,19 @@ \section3 Background - \image qtquickcontrols-checkbox-background.png + \image qtquickcontrols2-checkbox-background.png CheckBox has no background item by default. \section3 Content item - \image qtquickcontrols-checkbox-contentItem.png + \image qtquickcontrols2-checkbox-contentItem.png \snippet CheckBox.qml contentItem \section3 Indicator - \image qtquickcontrols-checkbox-indicator.png + \image qtquickcontrols2-checkbox-indicator.png \snippet CheckBox.qml indicator @@ -103,19 +103,19 @@ \section3 Background - \image qtquickcontrols-checkdelegate-background.png + \image qtquickcontrols2-checkdelegate-background.png \snippet CheckDelegate.qml background \section3 Content item - \image qtquickcontrols-checkdelegate-contentItem.png + \image qtquickcontrols2-checkdelegate-contentItem.png \snippet CheckDelegate.qml contentItem \section3 Indicator - \image qtquickcontrols-checkdelegate-indicator.png + \image qtquickcontrols2-checkdelegate-indicator.png \snippet CheckDelegate.qml indicator @@ -128,25 +128,25 @@ \section3 Background - \image qtquickcontrols-combobox-background.png + \image qtquickcontrols2-combobox-background.png \snippet ComboBox.qml background \section3 Content item - \image qtquickcontrols-combobox-contentItem.png + \image qtquickcontrols2-combobox-contentItem.png \snippet ComboBox.qml contentItem \section3 Popup - \image qtquickcontrols-combobox-popup.png + \image qtquickcontrols2-combobox-popup.png \snippet ComboBox.qml popup \section3 Delegate - \image qtquickcontrols-combobox-delegate.png + \image qtquickcontrols2-combobox-delegate.png \snippet ComboBox.qml delegate @@ -158,13 +158,13 @@ \section3 Background - \image qtquickcontrols-dial-background.png + \image qtquickcontrols2-dial-background.png \snippet Dial.qml background \section3 Indicator - \image qtquickcontrols-dial-handle.png + \image qtquickcontrols2-dial-handle.png \snippet Dial.qml handle @@ -185,7 +185,7 @@ \section3 Background - \image qtquickcontrols-frame-background.png + \image qtquickcontrols2-frame-background.png \snippet Frame.qml background @@ -197,13 +197,13 @@ \section3 Background - \image qtquickcontrols-groupbox-background.png + \image qtquickcontrols2-groupbox-background.png \snippet GroupBox.qml background \section3 Label - \image qtquickcontrols-groupbox-label.png + \image qtquickcontrols2-groupbox-label.png \snippet GroupBox.qml label @@ -216,13 +216,13 @@ \section3 Background - \image qtquickcontrols-itemdelegate-background.png + \image qtquickcontrols2-itemdelegate-background.png \snippet ItemDelegate.qml background \section3 Content item - \image qtquickcontrols-itemdelegate-contentItem.png + \image qtquickcontrols2-itemdelegate-contentItem.png \snippet ItemDelegate.qml contentItem @@ -237,7 +237,7 @@ \section3 Background - \image qtquickcontrols-label-background.png + \image qtquickcontrols2-label-background.png Label has no background item by default. @@ -248,7 +248,7 @@ \section3 Content item - \image qtquickcontrols-menu-contentItem.png + \image qtquickcontrols2-menu-contentItem.png \snippet Menu.qml contentItem @@ -265,19 +265,19 @@ \section3 Background - \image qtquickcontrols-pageindicator-background.png + \image qtquickcontrols2-pageindicator-background.png PageIndicator has no background item by default. \section3 Content item - \image qtquickcontrols-pageindicator-contentItem.png + \image qtquickcontrols2-pageindicator-contentItem.png \snippet PageIndicator.qml contentItem \section3 Delegate - \image qtquickcontrols-pageindicator-delegate.png + \image qtquickcontrols2-pageindicator-delegate.png \snippet PageIndicator.qml delegate @@ -289,7 +289,7 @@ \section3 Background - \image qtquickcontrols-pane-background.png + \image qtquickcontrols2-pane-background.png \snippet Pane.qml background @@ -301,13 +301,13 @@ \section3 Background - \image qtquickcontrols-progressbar-background.png + \image qtquickcontrols2-progressbar-background.png \snippet ProgressBar.qml background \section3 Content item - \image qtquickcontrols-progressbar-contentItem.png + \image qtquickcontrols2-progressbar-contentItem.png \snippet ProgressBar.qml contentItem @@ -319,19 +319,19 @@ \section3 Background - \image qtquickcontrols-radiobutton-background.png + \image qtquickcontrols2-radiobutton-background.png RadioButton has no background item by default. \section3 Content item - \image qtquickcontrols-radiobutton-contentItem.png + \image qtquickcontrols2-radiobutton-contentItem.png \snippet RadioButton.qml contentItem \section3 Indicator - \image qtquickcontrols-radiobutton-indicator.png + \image qtquickcontrols2-radiobutton-indicator.png \snippet RadioButton.qml indicator @@ -343,19 +343,19 @@ \section3 Background - \image qtquickcontrols-radiodelegate-background.png + \image qtquickcontrols2-radiodelegate-background.png \snippet RadioDelegate.qml background \section3 Content item - \image qtquickcontrols-radiodelegate-contentItem.png + \image qtquickcontrols2-radiodelegate-contentItem.png \snippet RadioDelegate.qml contentItem \section3 Indicator - \image qtquickcontrols-radiodelegate-indicator.png + \image qtquickcontrols2-radiodelegate-indicator.png \snippet RadioDelegate.qml indicator @@ -369,19 +369,19 @@ \section3 Background - \image qtquickcontrols-rangeslider-background.png + \image qtquickcontrols2-rangeslider-background.png \snippet RangeSlider.qml background \section3 First Handle - \image qtquickcontrols-rangeslider-first-handle.png + \image qtquickcontrols2-rangeslider-first-handle.png \snippet RangeSlider.qml firstHandle \section3 Second Handle - \image qtquickcontrols-rangeslider-second-handle.png + \image qtquickcontrols2-rangeslider-second-handle.png \snippet RangeSlider.qml secondHandle @@ -393,13 +393,13 @@ \section3 Background - \image qtquickcontrols-scrollbar-background.png + \image qtquickcontrols2-scrollbar-background.png ScrollBar has no background item by default. \section3 Content item - \image qtquickcontrols-scrollbar-contentItem.png + \image qtquickcontrols2-scrollbar-contentItem.png \snippet ScrollBar.qml contentItem @@ -411,13 +411,13 @@ \section3 Background - \image qtquickcontrols-scrollindicator-background.png + \image qtquickcontrols2-scrollindicator-background.png ScrollIndicator has no background item by default. \section3 Content item - \image qtquickcontrols-scrollindicator-contentItem.png + \image qtquickcontrols2-scrollindicator-contentItem.png \snippet ScrollIndicator.qml contentItem @@ -429,13 +429,13 @@ \section3 Background - \image qtquickcontrols-slider-background.png + \image qtquickcontrols2-slider-background.png \snippet Slider.qml background \section3 Handle - \image qtquickcontrols-slider-handle.png + \image qtquickcontrols2-slider-handle.png \snippet Slider.qml handle @@ -448,25 +448,25 @@ \section3 Background - \image qtquickcontrols-spinbox-background.png + \image qtquickcontrols2-spinbox-background.png \snippet SpinBox.qml background \section3 Content item - \image qtquickcontrols-spinbox-contentItem.png + \image qtquickcontrols2-spinbox-contentItem.png \snippet SpinBox.qml contentItem \section3 Down indicator - \image qtquickcontrols-spinbox-down.png + \image qtquickcontrols2-spinbox-down.png \snippet SpinBox.qml down.indicator \section3 Up indicator - \image qtquickcontrols-spinbox-up.png + \image qtquickcontrols2-spinbox-up.png \snippet SpinBox.qml up.indicator @@ -509,13 +509,13 @@ \section3 Background - \image qtquickcontrols-swipedelegate-background.png + \image qtquickcontrols2-swipedelegate-background.png \snippet SwipeDelegate.qml background \section3 Content item - \image qtquickcontrols-swipedelegate-contentItem.png + \image qtquickcontrols2-swipedelegate-contentItem.png \snippet SwipeDelegate.qml contentItem @@ -525,7 +525,7 @@ \section3 Left, right, and behind - \image qtquickcontrols-swipedelegate.gif + \image qtquickcontrols2-swipedelegate.gif By default, there are no left, right, or behind items defined. @@ -550,19 +550,19 @@ \section3 Background - \image qtquickcontrols-switch-background.png + \image qtquickcontrols2-switch-background.png Switch has no background item by default. \section3 Content item - \image qtquickcontrols-switch-contentItem.png + \image qtquickcontrols2-switch-contentItem.png \snippet Switch.qml contentItem \section3 Indicator - \image qtquickcontrols-switch-indicator.png + \image qtquickcontrols2-switch-indicator.png \snippet Switch.qml indicator @@ -573,19 +573,19 @@ \section3 Background - \image qtquickcontrols-switchdelegate-background.png + \image qtquickcontrols2-switchdelegate-background.png \snippet SwitchDelegate.qml background \section3 Content item - \image qtquickcontrols-switchdelegate-contentItem.png + \image qtquickcontrols2-switchdelegate-contentItem.png \snippet SwitchDelegate.qml contentItem \section3 Indicator - \image qtquickcontrols-switchdelegate-indicator.png + \image qtquickcontrols2-switchdelegate-indicator.png \snippet SwitchDelegate.qml indicator @@ -610,7 +610,7 @@ \section3 Background - \image qtquickcontrols-textfield-background.png + \image qtquickcontrols2-textfield-background.png \snippet TextField.qml background @@ -621,7 +621,7 @@ \section3 Background - \image qtquickcontrols-toolbar-background.png + \image qtquickcontrols2-toolbar-background.png \snippet ToolBar.qml background @@ -633,13 +633,13 @@ \section3 Background - \image qtquickcontrols-toolbutton-background.png + \image qtquickcontrols2-toolbutton-background.png \snippet ToolButton.qml background \section3 Content item - \image qtquickcontrols-toolbutton-contentItem.png + \image qtquickcontrols2-toolbutton-contentItem.png \snippet ToolButton.qml contentItem @@ -651,13 +651,13 @@ \section3 Background - \image qtquickcontrols-tooltip-background.png + \image qtquickcontrols2-tooltip-background.png \snippet ToolTip.qml background \section3 Content item - \image qtquickcontrols-tooltip-contentItem.png + \image qtquickcontrols2-tooltip-contentItem.png \snippet ToolTip.qml contentItem @@ -671,19 +671,19 @@ \section3 Background - \image qtquickcontrols-tumbler-background.png + \image qtquickcontrols2-tumbler-background.png Tumbler has no background item by default. \section3 Content Item - \image qtquickcontrols-tumbler-contentItem.png + \image qtquickcontrols2-tumbler-contentItem.png \snippet Tumbler.qml contentItem \section3 Delegate - \image qtquickcontrols-tumbler-delegate.png + \image qtquickcontrols2-tumbler-delegate.png \snippet Tumbler.qml delegate */ diff --git a/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc index daa063ed..8ff518f5 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-default.qdoc @@ -35,7 +35,7 @@ performance for Qt Quick Controls 2. It is built with a minimal amount of Qt Quick primitives, and keeps animations and transitions to the minimum. - \image qtquickcontrols-default.png + \image qtquickcontrols2-default.png The style is selected by default when running Qt Quick Controls 2 applications. It is built into the module's resources, so by default it is shipped with diff --git a/src/imports/controls/doc/src/qtquickcontrols2-delegates.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-delegates.qdoc index 40500e99..6275e6ba 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-delegates.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-delegates.qdoc @@ -40,14 +40,14 @@ \section1 ItemDelegate Control - \image qtquickcontrols-itemdelegate.gif + \image qtquickcontrols2-itemdelegate.gif \l ItemDelegate presents a checkable control that can be pressed and clicked by the user. \section1 RadioDelegate Control - \image qtquickcontrols-radiodelegate.gif + \image qtquickcontrols2-radiodelegate.gif \l RadioDelegate presents a checkable control that can be toggled on (checked) or off (unchecked). Radio delegates are typically used to select diff --git a/src/imports/controls/doc/src/qtquickcontrols2-indicators.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-indicators.qdoc index 6b67c317..cf1ac057 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-indicators.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-indicators.qdoc @@ -39,20 +39,20 @@ \section1 BusyIndicator Control - \image qtquickcontrols-busyindicator.png + \image qtquickcontrols2-busyindicator.png \l BusyIndicator should be used to indicate activity. \section1 PageIndicator Control - \image qtquickcontrols-pageindicator.png + \image qtquickcontrols2-pageindicator.png \l PageIndicator is used to indicate the currently active page in a container of multiple pages. \section1 ScrollBar Control - \image qtquickcontrols-scrollbar.png + \image qtquickcontrols2-scrollbar.png \l ScrollBar is an interactive bar that indicates the current scroll position, and can be used to scroll to a specific position in a @@ -60,7 +60,7 @@ \section1 ScrollIndicator Control - \image qtquickcontrols-scrollindicator.png + \image qtquickcontrols2-scrollindicator.png \l ScrollIndicator is a non-interactive indicator that indicates the current scroll position in a \l Flickable. diff --git a/src/imports/controls/doc/src/qtquickcontrols2-input.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-input.qdoc index c9773a5f..16b14d51 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-input.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-input.qdoc @@ -40,44 +40,44 @@ \section1 ComboBox Control - \image qtquickcontrols-combobox.png + \image qtquickcontrols2-combobox.png \l ComboBox is used to select a value from a drop-down list. \section1 Dial Control - \image qtquickcontrols-dial.png + \image qtquickcontrols2-dial.png \l Dial is a circular dial that is rotated to set a value. \section1 TextArea Control - \image qtquickcontrols-textarea.png + \image qtquickcontrols2-textarea.png \l TextArea is a multi-line text editor. \section1 TextField Control - \image qtquickcontrols-textfield.png + \image qtquickcontrols2-textfield.png \l TextField is a single line text editor. \section1 Slider Control - \image qtquickcontrols-slider.png + \image qtquickcontrols2-slider.png \l Slider is used to select a value by sliding a handle along a track. \section1 RangeSlider Control - \image qtquickcontrols-rangeslider.png + \image qtquickcontrols2-rangeslider.png \l RangeSlider is used to select a range specified by two values, by sliding each handle along a track. \section1 Tumbler Control - \image qtquickcontrols-tumbler.png + \image qtquickcontrols2-tumbler.png \l Tumbler is a spinnable wheel of items that can be selected. */ diff --git a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc index afa207a9..2491eb43 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-material.qdoc @@ -48,7 +48,7 @@ {Google Material Design Guidelines}. It allows for a unified experience across platforms and device sizes. - \image qtquickcontrols-material.png + \image qtquickcontrols2-material.png \caption The Material style in light and dark themes \note The Material style is not a native Android style. The Material @@ -81,7 +81,7 @@ } \endqml \li - \image qtquickcontrols-material-button.png + \image qtquickcontrols2-material-button.png \endtable Both attributes can be specified for any window or item, and they automatically @@ -113,7 +113,7 @@ } \endqml \li - \image qtquickcontrols-material-dark.png + \image qtquickcontrols2-material-dark.png \endtable In addition to specifying the attributes in QML, it is also possible to diff --git a/src/imports/controls/doc/src/qtquickcontrols2-menus.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-menus.qdoc index c469da43..0eb93fdf 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-menus.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-menus.qdoc @@ -37,7 +37,7 @@ \section1 Menu Control - \image qtquickcontrols-menu.png + \image qtquickcontrols2-menu.png \l Menu is a traditional menu. */ diff --git a/src/imports/controls/doc/src/qtquickcontrols2-navigation.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-navigation.qdoc index afb82c53..6eb0c449 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-navigation.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-navigation.qdoc @@ -38,19 +38,19 @@ \section1 StackView Control - \image qtquickcontrols-stackview-wireframe.png + \image qtquickcontrols2-stackview-wireframe.png \l StackView provides a stack-based navigation model. \section1 SwipeView Control - \image qtquickcontrols-swipeview-wireframe.png + \image qtquickcontrols2-swipeview-wireframe.png \l SwipeView provides a swipe-based navigation model. \section1 TabBar and TabButton Controls - \image qtquickcontrols-tabbar-wireframe.png + \image qtquickcontrols2-tabbar-wireframe.png \l TabBar and \l TabButton provide a tab-based navigation model. */ diff --git a/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc b/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc index cf0a7377..97e9bb2b 100644 --- a/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc +++ b/src/imports/controls/doc/src/qtquickcontrols2-universal.qdoc @@ -48,7 +48,7 @@ The Universal style has been designed to look good on all devices, from phones and tablets to PCs. - \image qtquickcontrols-universal.png + \image qtquickcontrols2-universal.png \caption The Universal style in light and dark themes \note The Universal style is not a native Windows 10 style. The Universal @@ -81,7 +81,7 @@ } \endqml \li - \image qtquickcontrols-universal-button.png + \image qtquickcontrols2-universal-button.png \endtable Both attributes can be specified for any window or item, and they automatically @@ -113,7 +113,7 @@ } \endqml \li - \image qtquickcontrols-universal-dark.png + \image qtquickcontrols2-universal-dark.png \endtable In addition to specifying the attributes in QML, it is also possible to diff --git a/src/quicktemplates2/qquickapplicationwindow.cpp b/src/quicktemplates2/qquickapplicationwindow.cpp index d9a0097b..8a6f84cb 100644 --- a/src/quicktemplates2/qquickapplicationwindow.cpp +++ b/src/quicktemplates2/qquickapplicationwindow.cpp @@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE and run it by using \l QQmlApplicationEngine. In this way you can control the window's properties, appearance and layout from QML. - \image qtquickcontrols-applicationwindow-wireframe.png + \image qtquickcontrols2-applicationwindow-wireframe.png \qml import Qt.labs.controls 1.0 diff --git a/src/quicktemplates2/qquickbusyindicator.cpp b/src/quicktemplates2/qquickbusyindicator.cpp index 631101c3..d3673462 100644 --- a/src/quicktemplates2/qquickbusyindicator.cpp +++ b/src/quicktemplates2/qquickbusyindicator.cpp @@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-indicators \brief Indicates activity while content is being loaded. - \image qtquickcontrols-busyindicator.gif + \image qtquickcontrols2-busyindicator.gif The busy indicator should be used to indicate activity while content is being loaded or the UI is blocked waiting for a resource to become available. diff --git a/src/quicktemplates2/qquickbutton.cpp b/src/quicktemplates2/qquickbutton.cpp index 3dbab498..57d0912e 100644 --- a/src/quicktemplates2/qquickbutton.cpp +++ b/src/quicktemplates2/qquickbutton.cpp @@ -49,7 +49,7 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-buttons \brief A push-button control that can be clicked by the user. - \image qtquickcontrols-button.gif + \image qtquickcontrols2-button.gif Button presents a push-button control that can be pushed or clicked by the user. Buttons are normally used to perform an action, or to answer @@ -57,13 +57,13 @@ QT_BEGIN_NAMESPACE \e Yes, \e No, and \e Help. \table - \row \li \image qtquickcontrols-button-normal.png + \row \li \image qtquickcontrols2-button-normal.png \li A button in its normal state. - \row \li \image qtquickcontrols-button-pressed.png + \row \li \image qtquickcontrols2-button-pressed.png \li A button that is pressed. - \row \li \image qtquickcontrols-button-focused.png + \row \li \image qtquickcontrols2-button-focused.png \li A button that has active focus. - \row \li \image qtquickcontrols-button-disabled.png + \row \li \image qtquickcontrols2-button-disabled.png \li A button that is disabled. \endtable diff --git a/src/quicktemplates2/qquickcheckbox.cpp b/src/quicktemplates2/qquickcheckbox.cpp index 8e0b3953..58f04ea1 100644 --- a/src/quicktemplates2/qquickcheckbox.cpp +++ b/src/quicktemplates2/qquickcheckbox.cpp @@ -63,13 +63,13 @@ QT_BEGIN_NAMESPACE in a treeview, for example. \table - \row \li \image qtquickcontrols-checkbox-normal.png + \row \li \image qtquickcontrols2-checkbox-normal.png \li A check box in its normal state. - \row \li \image qtquickcontrols-checkbox-checked.png + \row \li \image qtquickcontrols2-checkbox-checked.png \li A check box that is checked. - \row \li \image qtquickcontrols-checkbox-focused.png + \row \li \image qtquickcontrols2-checkbox-focused.png \li A check box that has active focus. - \row \li \image qtquickcontrols-checkbox-disabled.png + \row \li \image qtquickcontrols2-checkbox-disabled.png \li A check box that is disabled. \endtable diff --git a/src/quicktemplates2/qquickcheckdelegate.cpp b/src/quicktemplates2/qquickcheckdelegate.cpp index 53c2af69..3fc7210c 100644 --- a/src/quicktemplates2/qquickcheckdelegate.cpp +++ b/src/quicktemplates2/qquickcheckdelegate.cpp @@ -49,7 +49,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-delegates \brief An item delegate that can be checked or unchecked. - \image qtquickcontrols-checkdelegate.gif + \image qtquickcontrols2-checkdelegate.gif CheckDelegate presents an item delegate that can be toggled on (checked) or off (unchecked). Check delegates are typically used to select one or more diff --git a/src/quicktemplates2/qquickcombobox.cpp b/src/quicktemplates2/qquickcombobox.cpp index d25e674c..5f232867 100644 --- a/src/quicktemplates2/qquickcombobox.cpp +++ b/src/quicktemplates2/qquickcombobox.cpp @@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-input \brief A combined button and popup list taking minimal space. - \image qtquickcontrols-combobox.png + \image qtquickcontrols2-combobox.png ComboBox is a combined button and popup list. It provides a means of presenting a list of options to the user in a way that takes up the diff --git a/src/quicktemplates2/qquickcontrol.cpp b/src/quicktemplates2/qquickcontrol.cpp index 2bee0ed2..d67ac46a 100644 --- a/src/quicktemplates2/qquickcontrol.cpp +++ b/src/quicktemplates2/qquickcontrol.cpp @@ -69,7 +69,7 @@ QT_BEGIN_NAMESPACE events from the window system, and paints a representation of itself on the screen. - \image qtquickcontrols-control.png + \image qtquickcontrols2-control.png \labs */ diff --git a/src/quicktemplates2/qquickdrawer.cpp b/src/quicktemplates2/qquickdrawer.cpp index 8d8d2d78..63fa2737 100644 --- a/src/quicktemplates2/qquickdrawer.cpp +++ b/src/quicktemplates2/qquickdrawer.cpp @@ -61,11 +61,11 @@ QT_BEGIN_NAMESPACE \table \row - \li \image qtquickcontrols-drawer-wireframe.png + \li \image qtquickcontrols2-drawer-wireframe.png Drawer can be positioned at any of the four edges of the content item. \br In this image, it is against the left edge of the window. - \li \image qtquickcontrols-drawer-expanded-wireframe.png + \li \image qtquickcontrols2-drawer-expanded-wireframe.png The drawer is then opened by \e "dragging" it out from the left edge \br of the window. \endtable diff --git a/src/quicktemplates2/qquickframe.cpp b/src/quicktemplates2/qquickframe.cpp index 265c2ba3..52277e9c 100644 --- a/src/quicktemplates2/qquickframe.cpp +++ b/src/quicktemplates2/qquickframe.cpp @@ -60,9 +60,9 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtquickcontrols-frame.png + \image qtquickcontrols2-frame.png - \snippet qtquickcontrols-frame.qml 1 + \snippet qtquickcontrols2-frame.qml 1 \labs diff --git a/src/quicktemplates2/qquickgroupbox.cpp b/src/quicktemplates2/qquickgroupbox.cpp index 6efdb140..b135a92c 100644 --- a/src/quicktemplates2/qquickgroupbox.cpp +++ b/src/quicktemplates2/qquickgroupbox.cpp @@ -62,22 +62,22 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtquickcontrols-groupbox.png + \image qtquickcontrols2-groupbox.png - \snippet qtquickcontrols-groupbox.qml 1 + \snippet qtquickcontrols2-groupbox.qml 1 \section2 Checkable GroupBox Even though GroupBox has no built-in check box, it is straightforward to create a checkable GroupBox by pairing it with a CheckBox. - \image qtquickcontrols-groupbox-checkable.png + \image qtquickcontrols2-groupbox-checkable.png It is a common pattern to enable or disable the groupbox's children when its checkbox is toggled on or off, but it is the application that decides on the behavior of the groupbox. - \snippet qtquickcontrols-groupbox-checkable.qml 1 + \snippet qtquickcontrols2-groupbox-checkable.qml 1 \labs diff --git a/src/quicktemplates2/qquickitemdelegate.cpp b/src/quicktemplates2/qquickitemdelegate.cpp index 604c7464..0483cc32 100644 --- a/src/quicktemplates2/qquickitemdelegate.cpp +++ b/src/quicktemplates2/qquickitemdelegate.cpp @@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE \inqmlmodule Qt.labs.controls \brief A standard view item that can be used in various views and controls. - \image qtquickcontrols-itemdelegate.gif + \image qtquickcontrols2-itemdelegate.gif ItemDelegate presents a standard view item. It can be used as a delegate in various views and controls, such as \l ListView and \l ComboBox. @@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE \l {AbstractButton::text}{text}, make items \l {AbstractButton::checkable}{checkable}, and react to \l {AbstractButton::clicked}{clicks} using the AbstractButton API. - \snippet qtquickcontrols-itemdelegate.qml 1 + \snippet qtquickcontrols2-itemdelegate.qml 1 \labs diff --git a/src/quicktemplates2/qquicklabel.cpp b/src/quicktemplates2/qquicklabel.cpp index 86eb9144..47a55f1c 100644 --- a/src/quicktemplates2/qquicklabel.cpp +++ b/src/quicktemplates2/qquicklabel.cpp @@ -61,9 +61,9 @@ QT_BEGIN_NAMESPACE inheritance. The default colors and font are style specific. Label can also have a visual \l background item. - \image qtquickcontrols-label.png + \image qtquickcontrols2-label.png - \snippet qtquickcontrols-label.qml 1 + \snippet qtquickcontrols2-label.qml 1 You can use the properties of Text to change the appearance of the text as desired: diff --git a/src/quicktemplates2/qquickmenu.cpp b/src/quicktemplates2/qquickmenu.cpp index b4154dc9..cf29a8f0 100644 --- a/src/quicktemplates2/qquickmenu.cpp +++ b/src/quicktemplates2/qquickmenu.cpp @@ -56,7 +56,7 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-menus \brief A menu control that can be used as a context menu or popup menu. - \image qtquickcontrols-menu.png + \image qtquickcontrols2-menu.png Menu has two main use cases: \list diff --git a/src/quicktemplates2/qquickpage.cpp b/src/quicktemplates2/qquickpage.cpp index 8e0b542f..d04c02eb 100644 --- a/src/quicktemplates2/qquickpage.cpp +++ b/src/quicktemplates2/qquickpage.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE Page is a container control which makes it convenient to add a \l header and \l footer item to a page. - \image qtquickcontrols-page-wireframe.png + \image qtquickcontrols2-page-wireframe.png The following example snippet illustrates how to use a page-specific toolbar header and an application-wide tabbar footer. diff --git a/src/quicktemplates2/qquickpageindicator.cpp b/src/quicktemplates2/qquickpageindicator.cpp index f49909cc..1ef4e447 100644 --- a/src/quicktemplates2/qquickpageindicator.cpp +++ b/src/quicktemplates2/qquickpageindicator.cpp @@ -55,9 +55,9 @@ QT_BEGIN_NAMESPACE in a container of multiple pages. PageIndicator consists of delegate items that present pages. - \image qtquickcontrols-pageindicator.png + \image qtquickcontrols2-pageindicator.png - \snippet qtquickcontrols-pageindicator.qml 1 + \snippet qtquickcontrols2-pageindicator.qml 1 \labs diff --git a/src/quicktemplates2/qquickpane.cpp b/src/quicktemplates2/qquickpane.cpp index f5588d86..84b5624e 100644 --- a/src/quicktemplates2/qquickpane.cpp +++ b/src/quicktemplates2/qquickpane.cpp @@ -60,9 +60,9 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtquickcontrols-pane.png + \image qtquickcontrols2-pane.png - \snippet qtquickcontrols-pane.qml 1 + \snippet qtquickcontrols2-pane.qml 1 \labs diff --git a/src/quicktemplates2/qquickpopup.cpp b/src/quicktemplates2/qquickpopup.cpp index be3c720c..8e892bd9 100644 --- a/src/quicktemplates2/qquickpopup.cpp +++ b/src/quicktemplates2/qquickpopup.cpp @@ -1566,7 +1566,7 @@ void QQuickPopup::setClosePolicy(ClosePolicy policy) Nine transform origins are available, as shown in the image below. The default transform origin is \c Popup.Center. - \image qtquickcontrols-popup-transformorigin.png + \image qtquickcontrols2-popup-transformorigin.png \sa enter, exit, Item::transformOrigin */ diff --git a/src/quicktemplates2/qquickprogressbar.cpp b/src/quicktemplates2/qquickprogressbar.cpp index 779f2468..745499da 100644 --- a/src/quicktemplates2/qquickprogressbar.cpp +++ b/src/quicktemplates2/qquickprogressbar.cpp @@ -51,9 +51,9 @@ QT_BEGIN_NAMESPACE regularly. The range is defined by \l from and \l to, which both can contain any value. \table - \row \li \image qtquickcontrols-progressbar-normal.png + \row \li \image qtquickcontrols2-progressbar-normal.png \li A progress bar in its normal state. - \row \li \image qtquickcontrols-progressbar-disabled.png + \row \li \image qtquickcontrols2-progressbar-disabled.png \li A progress bar that is disabled. \endtable @@ -216,7 +216,7 @@ qreal QQuickProgressBar::visualPosition() const doesn't show how much progress has been made. See below for an example: - \image qtquickcontrols-progressbar-indeterminate.png + \image qtquickcontrols2-progressbar-indeterminate.png */ bool QQuickProgressBar::isIndeterminate() const diff --git a/src/quicktemplates2/qquickradiobutton.cpp b/src/quicktemplates2/qquickradiobutton.cpp index 93a3c4a7..d9561ed0 100644 --- a/src/quicktemplates2/qquickradiobutton.cpp +++ b/src/quicktemplates2/qquickradiobutton.cpp @@ -54,13 +54,13 @@ QT_BEGIN_NAMESPACE from a set of options. \table - \row \li \image qtquickcontrols-radiobutton-normal.png + \row \li \image qtquickcontrols2-radiobutton-normal.png \li A radio button in its normal state. - \row \li \image qtquickcontrols-radiobutton-checked.png + \row \li \image qtquickcontrols2-radiobutton-checked.png \li A radio button that is checked. - \row \li \image qtquickcontrols-radiobutton-focused.png + \row \li \image qtquickcontrols2-radiobutton-focused.png \li A radio button that has active focus. - \row \li \image qtquickcontrols-radiobutton-disabled.png + \row \li \image qtquickcontrols2-radiobutton-disabled.png \li A radio button that is disabled. \endtable diff --git a/src/quicktemplates2/qquickradiodelegate.cpp b/src/quicktemplates2/qquickradiodelegate.cpp index e70044e7..e44fa1bc 100644 --- a/src/quicktemplates2/qquickradiodelegate.cpp +++ b/src/quicktemplates2/qquickradiodelegate.cpp @@ -49,7 +49,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-delegates \brief An item delegate that can be checked or unchecked. - \image qtquickcontrols-radiodelegate.gif + \image qtquickcontrols2-radiodelegate.gif RadioDelegate presents an item delegate that can be toggled on (checked) or off (unchecked). Radio delegates are typically used to select one option diff --git a/src/quicktemplates2/qquickrangeslider.cpp b/src/quicktemplates2/qquickrangeslider.cpp index 19ce5e19..b80b83b0 100644 --- a/src/quicktemplates2/qquickrangeslider.cpp +++ b/src/quicktemplates2/qquickrangeslider.cpp @@ -50,19 +50,19 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-input \brief A slider control used to select a range of values. - \image qtquickcontrols-rangeslider.gif + \image qtquickcontrols2-rangeslider.gif RangeSlider is used to select a range specified by two values, by sliding each handle along a track. \table - \row \li \image qtquickcontrols-rangeslider-normal.png + \row \li \image qtquickcontrols2-rangeslider-normal.png \li A range slider in its normal state. - \row \li \image qtquickcontrols-rangeslider-first-handle-focused.png + \row \li \image qtquickcontrols2-rangeslider-first-handle-focused.png \li A range slider whose first handle has active focus. - \row \li \image qtquickcontrols-rangeslider-second-handle-focused.png + \row \li \image qtquickcontrols2-rangeslider-second-handle-focused.png \li A range slider whose second handle has active focus. - \row \li \image qtquickcontrols-rangeslider-disabled.png + \row \li \image qtquickcontrols2-rangeslider-disabled.png \li A range slider that is disabled. \endtable diff --git a/src/quicktemplates2/qquickscrollbar.cpp b/src/quicktemplates2/qquickscrollbar.cpp index f8ce76ab..d84b46b3 100644 --- a/src/quicktemplates2/qquickscrollbar.cpp +++ b/src/quicktemplates2/qquickscrollbar.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE position. A scroll bar can be either \l vertical or \l horizontal, and can be attached to any \l Flickable, such as \l ListView and \l GridView. - \image qtquickcontrols-scrollbar.png + \image qtquickcontrols2-scrollbar.png \code Flickable { @@ -93,7 +93,7 @@ QT_BEGIN_NAMESPACE to either direction, establish a two-way binding between the active states as presented by the following example: - \snippet qtquickcontrols-scrollbar-active.qml 1 + \snippet qtquickcontrols2-scrollbar-active.qml 1 \labs diff --git a/src/quicktemplates2/qquickscrollindicator.cpp b/src/quicktemplates2/qquickscrollindicator.cpp index 619c9b4b..16e86225 100644 --- a/src/quicktemplates2/qquickscrollindicator.cpp +++ b/src/quicktemplates2/qquickscrollindicator.cpp @@ -54,7 +54,7 @@ QT_BEGIN_NAMESPACE position. A scroll indicator can be either \l vertical or \l horizontal, and can be attached to any \l Flickable, such as \l ListView and \l GridView. - \image qtquickcontrols-scrollindicator.png + \image qtquickcontrols2-scrollindicator.png \code Flickable { @@ -78,7 +78,7 @@ QT_BEGIN_NAMESPACE to either direction, establish a two-way binding between the active states as presented by the following example: - \snippet qtquickcontrols-scrollindicator-active.qml 1 + \snippet qtquickcontrols2-scrollindicator-active.qml 1 \labs diff --git a/src/quicktemplates2/qquickslider.cpp b/src/quicktemplates2/qquickslider.cpp index 16be7677..bbff4629 100644 --- a/src/quicktemplates2/qquickslider.cpp +++ b/src/quicktemplates2/qquickslider.cpp @@ -49,16 +49,16 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-input \brief Selects a value by sliding a handle along a track. - \image qtquickcontrols-slider.gif + \image qtquickcontrols2-slider.gif Slider is used to select a value by sliding a handle along a track. \table - \row \li \image qtquickcontrols-slider-normal.png + \row \li \image qtquickcontrols2-slider-normal.png \li A slider in its normal state. - \row \li \image qtquickcontrols-slider-focused.png + \row \li \image qtquickcontrols2-slider-focused.png \li A slider that has active focus. - \row \li \image qtquickcontrols-slider-disabled.png + \row \li \image qtquickcontrols2-slider-disabled.png \li A slider that is disabled. \endtable diff --git a/src/quicktemplates2/qquickspinbox.cpp b/src/quicktemplates2/qquickspinbox.cpp index a18e2bde..b22ee198 100644 --- a/src/quicktemplates2/qquickspinbox.cpp +++ b/src/quicktemplates2/qquickspinbox.cpp @@ -58,7 +58,7 @@ static const int AUTO_REPEAT_INTERVAL = 100; \ingroup input \brief A spinbox control that allows the user to select from a set of preset values. - \image qtquickcontrols-spinbox.png + \image qtquickcontrols2-spinbox.png SpinBox allows the user to choose an integer value by clicking the up or down indicator buttons, or by pressing up or down on the keyboard. @@ -68,18 +68,18 @@ static const int AUTO_REPEAT_INTERVAL = 100; By default, SpinBox provides discrete values in the range of \c [0-99] with a \l stepSize of \c 1. - \snippet qtquickcontrols-spinbox.qml 1 + \snippet qtquickcontrols2-spinbox.qml 1 \section2 Custom Values - \image qtquickcontrols-spinbox-textual.png + \image qtquickcontrols2-spinbox-textual.png Even though SpinBox works on integer values, it can be customized to accept arbitrary input values. The following snippet demonstrates how \l validator, \l textFromValue and \l valueFromText can be used to customize the default behavior. - \snippet qtquickcontrols-spinbox-textual.qml 1 + \snippet qtquickcontrols2-spinbox-textual.qml 1 \labs diff --git a/src/quicktemplates2/qquickstackview.cpp b/src/quicktemplates2/qquickstackview.cpp index f5d6f5b1..905cba41 100644 --- a/src/quicktemplates2/qquickstackview.cpp +++ b/src/quicktemplates2/qquickstackview.cpp @@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-containers \brief Provides a stack-based navigation model. - \image qtquickcontrols-stackview-wireframe.png + \image qtquickcontrols2-stackview-wireframe.png StackView can be used with a set of inter-linked information pages. For example, an email application with separate views to list the latest emails, diff --git a/src/quicktemplates2/qquickswipedelegate.cpp b/src/quicktemplates2/qquickswipedelegate.cpp index 064aebb7..d4edf087 100644 --- a/src/quicktemplates2/qquickswipedelegate.cpp +++ b/src/quicktemplates2/qquickswipedelegate.cpp @@ -72,12 +72,12 @@ QT_BEGIN_NAMESPACE any position for \c exposure.left or \c exposure.right, the following will occur: - \image qtquickcontrols-swipedelegate.gif + \image qtquickcontrols2-swipedelegate.gif If \c exposure.left and \c exposure.right are anchored to the left and right of the \l background item (respectively), they'll behave like this: - \image qtquickcontrols-swipedelegate-leading-trailing.gif + \image qtquickcontrols2-swipedelegate-leading-trailing.gif When using \c exposure.left and \c exposure.right, the control cannot be swiped past the left and right edges. To achieve this type of "wrapping" @@ -86,7 +86,7 @@ QT_BEGIN_NAMESPACE example, in the image below, we set \c exposure.behind and then swipe the control repeatedly in both directions: - \image qtquickcontrols-swipedelegate-behind.gif + \image qtquickcontrols2-swipedelegate-behind.gif \labs diff --git a/src/quicktemplates2/qquickswipeview.cpp b/src/quicktemplates2/qquickswipeview.cpp index 6614ebe2..8e703d8b 100644 --- a/src/quicktemplates2/qquickswipeview.cpp +++ b/src/quicktemplates2/qquickswipeview.cpp @@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE SwipeView provides a swipe-based navigation model. - \image qtquickcontrols-swipeview-wireframe.png + \image qtquickcontrols2-swipeview-wireframe.png SwipeView is populated with a set of pages. One page is visible at a time. The user can navigate between the pages by swiping sideways. Notice that @@ -60,7 +60,7 @@ QT_BEGIN_NAMESPACE with PageIndicator, to give the user a visual clue that there are multiple pages. - \snippet qtquickcontrols-swipeview-indicator.qml 1 + \snippet qtquickcontrols2-swipeview-indicator.qml 1 As shown above, SwipeView is typically populated with a static set of pages that are defined inline as children of the view. It is also possible diff --git a/src/quicktemplates2/qquickswitch.cpp b/src/quicktemplates2/qquickswitch.cpp index 04281a9e..493dc189 100644 --- a/src/quicktemplates2/qquickswitch.cpp +++ b/src/quicktemplates2/qquickswitch.cpp @@ -50,19 +50,19 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-buttons \brief An option button that can be toggled on or off. - \image qtquickcontrols-switch.gif + \image qtquickcontrols2-switch.gif Switch is an option button that can be dragged or toggled on (checked) or off (unchecked). Switches are typically used to select between two states. \table - \row \li \image qtquickcontrols-switch-normal.png + \row \li \image qtquickcontrols2-switch-normal.png \li A switch in its normal state. - \row \li \image qtquickcontrols-switch-checked.png + \row \li \image qtquickcontrols2-switch-checked.png \li A switch that is checked. - \row \li \image qtquickcontrols-switch-focused.png + \row \li \image qtquickcontrols2-switch-focused.png \li A switch that has active focus. - \row \li \image qtquickcontrols-switch-disabled.png + \row \li \image qtquickcontrols2-switch-disabled.png \li A switch that is disabled. \endtable diff --git a/src/quicktemplates2/qquickswitchdelegate.cpp b/src/quicktemplates2/qquickswitchdelegate.cpp index 05cee244..813da37f 100644 --- a/src/quicktemplates2/qquickswitchdelegate.cpp +++ b/src/quicktemplates2/qquickswitchdelegate.cpp @@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE \ingroup qtlabscontrols-delegates \brief An item delegate that can be toggled on or off. - \image qtquickcontrols-switchdelegate.gif + \image qtquickcontrols2-switchdelegate.gif SwitchDelegate presents an item delegate that can be toggled on (checked) or off (unchecked). Switch delegates are typically used to select one or more diff --git a/src/quicktemplates2/qquicktabbar.cpp b/src/quicktemplates2/qquicktabbar.cpp index 8d6a65f8..8687a0cb 100644 --- a/src/quicktemplates2/qquicktabbar.cpp +++ b/src/quicktemplates2/qquicktabbar.cpp @@ -51,13 +51,13 @@ QT_BEGIN_NAMESPACE TabBar provides a tab-based navigation model. - \image qtquickcontrols-tabbar-wireframe.png + \image qtquickcontrols2-tabbar-wireframe.png TabBar is populated with TabButton controls, and can be used together with any layout or container control that provides \c currentIndex -property, such as \l StackLayout or \l SwipeView - \snippet qtquickcontrols-tabbar.qml 1 + \snippet qtquickcontrols2-tabbar.qml 1 \labs diff --git a/src/quicktemplates2/qquicktabbutton.cpp b/src/quicktemplates2/qquicktabbutton.cpp index fc7cb634..d4760bc9 100644 --- a/src/quicktemplates2/qquicktabbutton.cpp +++ b/src/quicktemplates2/qquicktabbutton.cpp @@ -49,11 +49,11 @@ QT_BEGIN_NAMESPACE \ingroup qtquickcontrols2-navigation \brief A tab button control that can be found on a TabBar. - \image qtquickcontrols-tabbutton.png + \image qtquickcontrols2-tabbutton.png TabButton is used in conjunction with a \l TabBar. - \snippet qtquickcontrols-tabbutton.qml 1 + \snippet qtquickcontrols2-tabbutton.qml 1 \labs diff --git a/src/quicktemplates2/qquicktextfield.cpp b/src/quicktemplates2/qquicktextfield.cpp index 7a8dae0d..d95ba4c5 100644 --- a/src/quicktemplates2/qquicktextfield.cpp +++ b/src/quicktemplates2/qquicktextfield.cpp @@ -63,11 +63,11 @@ QT_BEGIN_NAMESPACE a \l {placeholderText}{placeholder text} functionality, and adds decoration. \table - \row \li \image qtquickcontrols-textfield-normal.png + \row \li \image qtquickcontrols2-textfield-normal.png \li A text field in its normal state. - \row \li \image qtquickcontrols-textfield-focused.png + \row \li \image qtquickcontrols2-textfield-focused.png \li A text field that has active focus. - \row \li \image qtquickcontrols-textfield-disabled.png + \row \li \image qtquickcontrols2-textfield-disabled.png \li A text field that is disabled. \endtable diff --git a/src/quicktemplates2/qquicktoolbar.cpp b/src/quicktemplates2/qquicktoolbar.cpp index 541160fd..85735d07 100644 --- a/src/quicktemplates2/qquicktoolbar.cpp +++ b/src/quicktemplates2/qquicktoolbar.cpp @@ -58,7 +58,7 @@ QT_BEGIN_NAMESPACE implicit size of its contained item. This makes it particularly suitable for use together with layouts. - \image qtquickcontrols-toolbar.png + \image qtquickcontrols2-toolbar.png \code ApplicationWindow { diff --git a/src/quicktemplates2/qquicktooltip.cpp b/src/quicktemplates2/qquicktooltip.cpp index 010a07c5..1a22679b 100644 --- a/src/quicktemplates2/qquicktooltip.cpp +++ b/src/quicktemplates2/qquicktooltip.cpp @@ -57,13 +57,13 @@ QT_BEGIN_NAMESPACE function. It is typically placed above or below the parent control. The tip text can be any \l{Rich Text Processing}{rich text} formatted string. - \image qtquickcontrols-tooltip.png + \image qtquickcontrols2-tooltip.png The most straight-forward way to setup tool tips for controls is to specify \l text and \l {visible}{visibility} via attached properties. The following example illustrates this approach: - \snippet qtquickcontrols-tooltip.qml 1 + \snippet qtquickcontrols2-tooltip.qml 1 Under normal circumstances, there is only one tool tip visible at a time. In order to save resources, all items that use the ToolTip attached property @@ -88,14 +88,14 @@ QT_BEGIN_NAMESPACE interval is reached. In this example, the tool tip hides as soon as the button is released. - \snippet qtquickcontrols-tooltip-pressandhold.qml 1 + \snippet qtquickcontrols2-tooltip-pressandhold.qml 1 With pointer devices, however, it might be desired to show a tool tip as a result of hovering a button for a while. The following example presents how to show a tool tip after hovering a button for a second, and hide it after a timeout of five seconds. - \snippet qtquickcontrols-tooltip-hover.qml 1 + \snippet qtquickcontrols2-tooltip-hover.qml 1 \section2 Custom Tool Tips @@ -106,9 +106,9 @@ QT_BEGIN_NAMESPACE API is available. The following example presents a tool tip that presents the value of a slider when the handle is dragged. - \image qtquickcontrols-tooltip-slider.png + \image qtquickcontrols2-tooltip-slider.png - \snippet qtquickcontrols-tooltip-slider.qml 1 + \snippet qtquickcontrols2-tooltip-slider.qml 1 \labs diff --git a/src/quicktemplates2/qquicktumbler.cpp b/src/quicktemplates2/qquicktumbler.cpp index ee82128f..4a858235 100644 --- a/src/quicktemplates2/qquicktumbler.cpp +++ b/src/quicktemplates2/qquicktumbler.cpp @@ -64,7 +64,7 @@ QT_BEGIN_NAMESPACE \snippet tst_tumbler.qml contentItem - \image qtquickcontrols-tumbler-wrap.gif + \image qtquickcontrols2-tumbler-wrap.gif \labs diff --git a/tests/manual/gifs/data/qtquickcontrols-busyindicator.qml b/tests/manual/gifs/data/qtquickcontrols-busyindicator.qml deleted file mode 100644 index e68af7dd..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-busyindicator.qml +++ /dev/null @@ -1,57 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: busyIndicator.implicitWidth - height: busyIndicator.implicitHeight - visible: true - - property alias busyIndicator: busyIndicator - - BusyIndicator { - id: busyIndicator - running: false - anchors.centerIn: parent - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-button.qml b/tests/manual/gifs/data/qtquickcontrols-button.qml deleted file mode 100644 index 3d9a4f45..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-button.qml +++ /dev/null @@ -1,55 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: button.width - height: button.height - visible: true - - Button { - id: button - text: pressed ? "Pressed" : "Normal" - anchors.centerIn: parent - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-checkdelegate.qml b/tests/manual/gifs/data/qtquickcontrols-checkdelegate.qml deleted file mode 100644 index ac276c06..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-checkdelegate.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: column.implicitWidth - height: column.implicitHeight - visible: true - - property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null - - Column { - id: column - anchors.centerIn: parent - - Repeater { - id: repeater - model: ["Option 1", "Option 2", "Option 3"] - delegate: CheckDelegate { - text: modelData - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-itemdelegate.qml b/tests/manual/gifs/data/qtquickcontrols-itemdelegate.qml deleted file mode 100644 index f0c029a6..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-itemdelegate.qml +++ /dev/null @@ -1,63 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: column.implicitWidth - height: column.implicitHeight - visible: true - - property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null - - Column { - id: column - - Repeater { - id: repeater - model: ["Option 1", "Option 2", "Option 3"] - delegate: ItemDelegate { - text: modelData - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-menu.qml b/tests/manual/gifs/data/qtquickcontrols-menu.qml deleted file mode 100644 index 81ea3137..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-menu.qml +++ /dev/null @@ -1,75 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import Qt.labs.controls 1.0 - -// TODO: restore and finish https://codereview.qt-project.org/#/c/123948/ -ApplicationWindow { - width: menu.contentItem.width + 20 - height: menu.contentItem.height + fileButton.height + 20 - - property alias fileButton: fileButton - property alias menu: menu - - Button { - id: fileButton - text: "File" - onClicked: menu.open() - x: 10 - y: 10 - } - Menu { - id: menu - // TODO - contentItem.x: fileButton.x - contentItem.y: fileButton.y + fileButton.height - - MenuItem { - text: "New..." - } - MenuItem { - text: "Open..." - } - MenuItem { - text: "Save" - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-radiodelegate.qml b/tests/manual/gifs/data/qtquickcontrols-radiodelegate.qml deleted file mode 100644 index 9cc542f6..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-radiodelegate.qml +++ /dev/null @@ -1,70 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: column.implicitWidth - height: column.implicitHeight - visible: true - - property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null - - ButtonGroup { - id: buttonGroup - } - - Column { - id: column - anchors.centerIn: parent - - Repeater { - id: repeater - model: ["Option 1", "Option 2", "Option 3"] - delegate: RadioDelegate { - checked: index == 0 - text: modelData - ButtonGroup.group: buttonGroup - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-rangeslider.qml b/tests/manual/gifs/data/qtquickcontrols-rangeslider.qml deleted file mode 100644 index 55056cf8..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-rangeslider.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: slider.implicitWidth - height: slider.implicitHeight - visible: true - - property alias slider: slider - - RangeSlider { - id: slider - anchors.centerIn: parent - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-slider.qml b/tests/manual/gifs/data/qtquickcontrols-slider.qml deleted file mode 100644 index af582d7c..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-slider.qml +++ /dev/null @@ -1,56 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: slider.implicitWidth - height: slider.implicitHeight - visible: true - - property alias slider: slider - - Slider { - id: slider - anchors.centerIn: parent - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-swipedelegate-behind.qml b/tests/manual/gifs/data/qtquickcontrols-swipedelegate-behind.qml deleted file mode 100644 index 31246a79..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-swipedelegate-behind.qml +++ /dev/null @@ -1,71 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: swipeDelegate.implicitWidth - height: swipeDelegate.implicitHeight - visible: true - - property alias swipeDelegate: swipeDelegate - - SwipeDelegate { - id: swipeDelegate - text: "SwipeDelegate" - anchors.centerIn: parent - - exposure.left: null - exposure.right: null - exposure.behind: Rectangle { - width: swipeDelegate.width - height: swipeDelegate.height - color: swipeDelegate.pressed ? "#333" : "#444" - - Label { - text: "Behind Action" - color: "#fff" - anchors.centerIn: parent - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-swipedelegate-leading-trailing.qml b/tests/manual/gifs/data/qtquickcontrols-swipedelegate-leading-trailing.qml deleted file mode 100644 index d346a377..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-swipedelegate-leading-trailing.qml +++ /dev/null @@ -1,83 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: swipeDelegate.implicitWidth - height: swipeDelegate.implicitHeight - visible: true - - property alias swipeDelegate: swipeDelegate - - SwipeDelegate { - id: swipeDelegate - text: "SwipeDelegate" - anchors.centerIn: parent - - exposure.left: Rectangle { - width: swipeDelegate.width - height: swipeDelegate.height - color: swipeDelegate.pressed ? "#333" : "#444" - anchors.right: parent.left - - Label { - text: "Left Action" - color: "#fff" - anchors.centerIn: parent - } - } - - exposure.right: Rectangle { - width: swipeDelegate.width - height: swipeDelegate.height - color: swipeDelegate.pressed ? "#333" : "#444" - anchors.left: parent.right - - Label { - text: "Right Action" - color: "#fff" - anchors.centerIn: parent - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-swipedelegate.qml b/tests/manual/gifs/data/qtquickcontrols-swipedelegate.qml deleted file mode 100644 index 78d36e3b..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-swipedelegate.qml +++ /dev/null @@ -1,82 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: swipeDelegate.implicitWidth - height: swipeDelegate.implicitHeight - visible: true - - property alias swipeDelegate: swipeDelegate - - SwipeDelegate { - id: swipeDelegate - text: "SwipeDelegate" - anchors.centerIn: parent - - exposure.left: Rectangle { - width: swipeDelegate.width - height: swipeDelegate.height - color: swipeDelegate.pressed ? "#333" : "#444" - - Label { - text: "Left Action" - color: "#fff" - anchors.centerIn: parent - } - } - - exposure.right: Rectangle { - anchors.fill: parent - width: swipeDelegate.width - height: swipeDelegate.height - color: swipeDelegate.pressed ? "#333" : "#444" - - Label { - text: "Right Action" - color: "#fff" - anchors.centerIn: parent - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-switch.qml b/tests/manual/gifs/data/qtquickcontrols-switch.qml deleted file mode 100644 index f6067c1b..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-switch.qml +++ /dev/null @@ -1,54 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: 100 - height: 50 - visible: true - - Switch { - id: theSwitch - anchors.centerIn: parent - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-switchdelegate.qml b/tests/manual/gifs/data/qtquickcontrols-switchdelegate.qml deleted file mode 100644 index e9fec94e..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-switchdelegate.qml +++ /dev/null @@ -1,64 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2016 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: column.implicitWidth - height: column.implicitHeight - visible: true - - property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null - - Column { - id: column - anchors.centerIn: parent - - Repeater { - id: repeater - model: ["Option 1", "Option 2", "Option 3"] - delegate: SwitchDelegate { - text: modelData - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-tabbar.qml b/tests/manual/gifs/data/qtquickcontrols-tabbar.qml deleted file mode 100644 index 8ca14721..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-tabbar.qml +++ /dev/null @@ -1,58 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: 300 - height: tabBar.height - visible: true - - TabBar { - id: tabBar - width: parent.width - - TabButton { text: qsTr("Home") } - TabButton { text: qsTr("Discover") } - TabButton { text: qsTr("Activity") } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols-tumbler-wrap.qml b/tests/manual/gifs/data/qtquickcontrols-tumbler-wrap.qml deleted file mode 100644 index 4b84c6d1..00000000 --- a/tests/manual/gifs/data/qtquickcontrols-tumbler-wrap.qml +++ /dev/null @@ -1,120 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2015 The Qt Company Ltd. -** Contact: http://www.qt.io/licensing/ -** -** This file is part of the test suite of the Qt Toolkit. -** -** $QT_BEGIN_LICENSE:BSD$ -** You may use this file under the terms of the BSD license as follows: -** -** "Redistribution and use in source and binary forms, with or without -** modification, are permitted provided that the following conditions are -** met: -** * Redistributions of source code must retain the above copyright -** notice, this list of conditions and the following disclaimer. -** * Redistributions in binary form must reproduce the above copyright -** notice, this list of conditions and the following disclaimer in -** the documentation and/or other materials provided with the -** distribution. -** * Neither the name of The Qt Company Ltd nor the names of its -** contributors may be used to endorse or promote products derived -** from this software without specific prior written permission. -** -** -** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." -** -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.6 -import QtQuick.Window 2.0 -import Qt.labs.controls 1.0 - -Window { - width: 200 - height: 200 - visible: true - - Frame { - padding: 0 - anchors.centerIn: parent - width: row.implicitWidth - height: row.implicitHeight - - FontMetrics { - id: fontMetrics - } - - Component { - id: delegateComponent - - Text { - text: modelData.toString().length < 2 ? "0" + modelData : modelData - color: "#666666" - opacity: 0.4 + Math.max(0, 1 - Math.abs(Tumbler.displacement)) * 0.6 - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - font.pixelSize: fontMetrics.font.pixelSize * 1.25 - } - } - - Row { - id: row - - Tumbler { - id: hoursTumbler - model: 12 - delegate: Text { - text: (modelData.toString().length < 2 ? "0" : "") + (modelData + 1) - color: "#666666" - opacity: 0.4 + Math.max(0, 1 - Math.abs(Tumbler.displacement)) * 0.6 - horizontalAlignment: Text.AlignHCenter - verticalAlignment: Text.AlignVCenter - font.pixelSize: fontMetrics.font.pixelSize * 1.25 - } - width: 50 - height: 150 - } - - Tumbler { - id: minutesTumbler - currentIndex: 6 - model: 60 - delegate: delegateComponent - width: 50 - height: 150 - } - - Tumbler { - id: amPmTumbler - model: ["AM", "PM"] - delegate: delegateComponent - width: 50 - height: 150 - contentItem: ListView { - anchors.fill: parent - model: amPmTumbler.model - delegate: amPmTumbler.delegate - - snapMode: ListView.SnapToItem - highlightRangeMode: ListView.StrictlyEnforceRange - preferredHighlightBegin: height / 2 - (height / 3 / 2) - preferredHighlightEnd: height / 2 + (height / 3 / 2) - clip: true - } - } - } - } -} diff --git a/tests/manual/gifs/data/qtquickcontrols2-busyindicator.qml b/tests/manual/gifs/data/qtquickcontrols2-busyindicator.qml new file mode 100644 index 00000000..e68af7dd --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-busyindicator.qml @@ -0,0 +1,57 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: busyIndicator.implicitWidth + height: busyIndicator.implicitHeight + visible: true + + property alias busyIndicator: busyIndicator + + BusyIndicator { + id: busyIndicator + running: false + anchors.centerIn: parent + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-button.qml b/tests/manual/gifs/data/qtquickcontrols2-button.qml new file mode 100644 index 00000000..3d9a4f45 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-button.qml @@ -0,0 +1,55 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: button.width + height: button.height + visible: true + + Button { + id: button + text: pressed ? "Pressed" : "Normal" + anchors.centerIn: parent + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-checkdelegate.qml b/tests/manual/gifs/data/qtquickcontrols2-checkdelegate.qml new file mode 100644 index 00000000..ac276c06 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-checkdelegate.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: column.implicitWidth + height: column.implicitHeight + visible: true + + property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null + + Column { + id: column + anchors.centerIn: parent + + Repeater { + id: repeater + model: ["Option 1", "Option 2", "Option 3"] + delegate: CheckDelegate { + text: modelData + } + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-itemdelegate.qml b/tests/manual/gifs/data/qtquickcontrols2-itemdelegate.qml new file mode 100644 index 00000000..f0c029a6 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-itemdelegate.qml @@ -0,0 +1,63 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: column.implicitWidth + height: column.implicitHeight + visible: true + + property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null + + Column { + id: column + + Repeater { + id: repeater + model: ["Option 1", "Option 2", "Option 3"] + delegate: ItemDelegate { + text: modelData + } + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-menu.qml b/tests/manual/gifs/data/qtquickcontrols2-menu.qml new file mode 100644 index 00000000..81ea3137 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-menu.qml @@ -0,0 +1,75 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import Qt.labs.controls 1.0 + +// TODO: restore and finish https://codereview.qt-project.org/#/c/123948/ +ApplicationWindow { + width: menu.contentItem.width + 20 + height: menu.contentItem.height + fileButton.height + 20 + + property alias fileButton: fileButton + property alias menu: menu + + Button { + id: fileButton + text: "File" + onClicked: menu.open() + x: 10 + y: 10 + } + Menu { + id: menu + // TODO + contentItem.x: fileButton.x + contentItem.y: fileButton.y + fileButton.height + + MenuItem { + text: "New..." + } + MenuItem { + text: "Open..." + } + MenuItem { + text: "Save" + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-radiodelegate.qml b/tests/manual/gifs/data/qtquickcontrols2-radiodelegate.qml new file mode 100644 index 00000000..9cc542f6 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-radiodelegate.qml @@ -0,0 +1,70 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: column.implicitWidth + height: column.implicitHeight + visible: true + + property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null + + ButtonGroup { + id: buttonGroup + } + + Column { + id: column + anchors.centerIn: parent + + Repeater { + id: repeater + model: ["Option 1", "Option 2", "Option 3"] + delegate: RadioDelegate { + checked: index == 0 + text: modelData + ButtonGroup.group: buttonGroup + } + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-rangeslider.qml b/tests/manual/gifs/data/qtquickcontrols2-rangeslider.qml new file mode 100644 index 00000000..55056cf8 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-rangeslider.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: slider.implicitWidth + height: slider.implicitHeight + visible: true + + property alias slider: slider + + RangeSlider { + id: slider + anchors.centerIn: parent + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-slider.qml b/tests/manual/gifs/data/qtquickcontrols2-slider.qml new file mode 100644 index 00000000..af582d7c --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-slider.qml @@ -0,0 +1,56 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: slider.implicitWidth + height: slider.implicitHeight + visible: true + + property alias slider: slider + + Slider { + id: slider + anchors.centerIn: parent + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-swipedelegate-behind.qml b/tests/manual/gifs/data/qtquickcontrols2-swipedelegate-behind.qml new file mode 100644 index 00000000..31246a79 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-swipedelegate-behind.qml @@ -0,0 +1,71 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: swipeDelegate.implicitWidth + height: swipeDelegate.implicitHeight + visible: true + + property alias swipeDelegate: swipeDelegate + + SwipeDelegate { + id: swipeDelegate + text: "SwipeDelegate" + anchors.centerIn: parent + + exposure.left: null + exposure.right: null + exposure.behind: Rectangle { + width: swipeDelegate.width + height: swipeDelegate.height + color: swipeDelegate.pressed ? "#333" : "#444" + + Label { + text: "Behind Action" + color: "#fff" + anchors.centerIn: parent + } + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-swipedelegate-leading-trailing.qml b/tests/manual/gifs/data/qtquickcontrols2-swipedelegate-leading-trailing.qml new file mode 100644 index 00000000..d346a377 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-swipedelegate-leading-trailing.qml @@ -0,0 +1,83 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: swipeDelegate.implicitWidth + height: swipeDelegate.implicitHeight + visible: true + + property alias swipeDelegate: swipeDelegate + + SwipeDelegate { + id: swipeDelegate + text: "SwipeDelegate" + anchors.centerIn: parent + + exposure.left: Rectangle { + width: swipeDelegate.width + height: swipeDelegate.height + color: swipeDelegate.pressed ? "#333" : "#444" + anchors.right: parent.left + + Label { + text: "Left Action" + color: "#fff" + anchors.centerIn: parent + } + } + + exposure.right: Rectangle { + width: swipeDelegate.width + height: swipeDelegate.height + color: swipeDelegate.pressed ? "#333" : "#444" + anchors.left: parent.right + + Label { + text: "Right Action" + color: "#fff" + anchors.centerIn: parent + } + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-swipedelegate.qml b/tests/manual/gifs/data/qtquickcontrols2-swipedelegate.qml new file mode 100644 index 00000000..78d36e3b --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-swipedelegate.qml @@ -0,0 +1,82 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: swipeDelegate.implicitWidth + height: swipeDelegate.implicitHeight + visible: true + + property alias swipeDelegate: swipeDelegate + + SwipeDelegate { + id: swipeDelegate + text: "SwipeDelegate" + anchors.centerIn: parent + + exposure.left: Rectangle { + width: swipeDelegate.width + height: swipeDelegate.height + color: swipeDelegate.pressed ? "#333" : "#444" + + Label { + text: "Left Action" + color: "#fff" + anchors.centerIn: parent + } + } + + exposure.right: Rectangle { + anchors.fill: parent + width: swipeDelegate.width + height: swipeDelegate.height + color: swipeDelegate.pressed ? "#333" : "#444" + + Label { + text: "Right Action" + color: "#fff" + anchors.centerIn: parent + } + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-switch.qml b/tests/manual/gifs/data/qtquickcontrols2-switch.qml new file mode 100644 index 00000000..f6067c1b --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-switch.qml @@ -0,0 +1,54 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: 100 + height: 50 + visible: true + + Switch { + id: theSwitch + anchors.centerIn: parent + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-switchdelegate.qml b/tests/manual/gifs/data/qtquickcontrols2-switchdelegate.qml new file mode 100644 index 00000000..e9fec94e --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-switchdelegate.qml @@ -0,0 +1,64 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: column.implicitWidth + height: column.implicitHeight + visible: true + + property var delegate: repeater.count > 0 ? repeater.itemAt(0) : null + + Column { + id: column + anchors.centerIn: parent + + Repeater { + id: repeater + model: ["Option 1", "Option 2", "Option 3"] + delegate: SwitchDelegate { + text: modelData + } + } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-tabbar.qml b/tests/manual/gifs/data/qtquickcontrols2-tabbar.qml new file mode 100644 index 00000000..8ca14721 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-tabbar.qml @@ -0,0 +1,58 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: 300 + height: tabBar.height + visible: true + + TabBar { + id: tabBar + width: parent.width + + TabButton { text: qsTr("Home") } + TabButton { text: qsTr("Discover") } + TabButton { text: qsTr("Activity") } + } +} diff --git a/tests/manual/gifs/data/qtquickcontrols2-tumbler-wrap.qml b/tests/manual/gifs/data/qtquickcontrols2-tumbler-wrap.qml new file mode 100644 index 00000000..4b84c6d1 --- /dev/null +++ b/tests/manual/gifs/data/qtquickcontrols2-tumbler-wrap.qml @@ -0,0 +1,120 @@ +/**************************************************************************** +** +** Copyright (C) 2015 The Qt Company Ltd. +** Contact: http://www.qt.io/licensing/ +** +** This file is part of the test suite of the Qt Toolkit. +** +** $QT_BEGIN_LICENSE:BSD$ +** You may use this file under the terms of the BSD license as follows: +** +** "Redistribution and use in source and binary forms, with or without +** modification, are permitted provided that the following conditions are +** met: +** * Redistributions of source code must retain the above copyright +** notice, this list of conditions and the following disclaimer. +** * Redistributions in binary form must reproduce the above copyright +** notice, this list of conditions and the following disclaimer in +** the documentation and/or other materials provided with the +** distribution. +** * Neither the name of The Qt Company Ltd nor the names of its +** contributors may be used to endorse or promote products derived +** from this software without specific prior written permission. +** +** +** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." +** +** $QT_END_LICENSE$ +** +****************************************************************************/ + +import QtQuick 2.6 +import QtQuick.Window 2.0 +import Qt.labs.controls 1.0 + +Window { + width: 200 + height: 200 + visible: true + + Frame { + padding: 0 + anchors.centerIn: parent + width: row.implicitWidth + height: row.implicitHeight + + FontMetrics { + id: fontMetrics + } + + Component { + id: delegateComponent + + Text { + text: modelData.toString().length < 2 ? "0" + modelData : modelData + color: "#666666" + opacity: 0.4 + Math.max(0, 1 - Math.abs(Tumbler.displacement)) * 0.6 + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font.pixelSize: fontMetrics.font.pixelSize * 1.25 + } + } + + Row { + id: row + + Tumbler { + id: hoursTumbler + model: 12 + delegate: Text { + text: (modelData.toString().length < 2 ? "0" : "") + (modelData + 1) + color: "#666666" + opacity: 0.4 + Math.max(0, 1 - Math.abs(Tumbler.displacement)) * 0.6 + horizontalAlignment: Text.AlignHCenter + verticalAlignment: Text.AlignVCenter + font.pixelSize: fontMetrics.font.pixelSize * 1.25 + } + width: 50 + height: 150 + } + + Tumbler { + id: minutesTumbler + currentIndex: 6 + model: 60 + delegate: delegateComponent + width: 50 + height: 150 + } + + Tumbler { + id: amPmTumbler + model: ["AM", "PM"] + delegate: delegateComponent + width: 50 + height: 150 + contentItem: ListView { + anchors.fill: parent + model: amPmTumbler.model + delegate: amPmTumbler.delegate + + snapMode: ListView.SnapToItem + highlightRangeMode: ListView.StrictlyEnforceRange + preferredHighlightBegin: height / 2 - (height / 3 / 2) + preferredHighlightEnd: height / 2 + (height / 3 / 2) + clip: true + } + } + } + } +} diff --git a/tests/manual/gifs/tst_gifs.cpp b/tests/manual/gifs/tst_gifs.cpp index 8c8e43b2..b4dcd745 100644 --- a/tests/manual/gifs/tst_gifs.cpp +++ b/tests/manual/gifs/tst_gifs.cpp @@ -102,7 +102,7 @@ void tst_Gifs::tumblerWrap() gifRecorder.setDataDirPath(dataDirPath); gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(4); - gifRecorder.setQmlFileName("qtquickcontrols-tumbler-wrap.qml"); + gifRecorder.setQmlFileName("qtquickcontrols2-tumbler-wrap.qml"); gifRecorder.start(); @@ -172,7 +172,7 @@ void tst_Gifs::slider() gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(5); gifRecorder.setHighQuality(true); - gifRecorder.setQmlFileName("qtquickcontrols-slider.qml"); + gifRecorder.setQmlFileName("qtquickcontrols2-slider.qml"); gifRecorder.start(); @@ -209,7 +209,7 @@ void tst_Gifs::rangeSlider() gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(7); gifRecorder.setHighQuality(true); - gifRecorder.setQmlFileName("qtquickcontrols-rangeslider.qml"); + gifRecorder.setQmlFileName("qtquickcontrols2-rangeslider.qml"); gifRecorder.start(); @@ -258,7 +258,7 @@ void tst_Gifs::busyIndicator() gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(3); gifRecorder.setHighQuality(true); - gifRecorder.setQmlFileName("qtquickcontrols-busyindicator.qml"); + gifRecorder.setQmlFileName("qtquickcontrols2-busyindicator.qml"); gifRecorder.start(); @@ -285,7 +285,7 @@ void tst_Gifs::switchGif() gifRecorder.setDataDirPath(dataDirPath); gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(3); - gifRecorder.setQmlFileName("qtquickcontrols-switch.qml"); + gifRecorder.setQmlFileName("qtquickcontrols2-switch.qml"); gifRecorder.setHighQuality(true); gifRecorder.start(); @@ -303,7 +303,7 @@ void tst_Gifs::button() gifRecorder.setDataDirPath(dataDirPath); gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(3); - gifRecorder.setQmlFileName("qtquickcontrols-button.qml"); + gifRecorder.setQmlFileName("qtquickcontrols2-button.qml"); gifRecorder.setHighQuality(true); gifRecorder.start(); @@ -317,7 +317,7 @@ void tst_Gifs::button() void tst_Gifs::tabBar() { - const QString qmlFileName = QStringLiteral("qtquickcontrols-tabbar.qml"); + const QString qmlFileName = QStringLiteral("qtquickcontrols2-tabbar.qml"); GifRecorder gifRecorder; gifRecorder.setDataDirPath(dataDirPath); @@ -346,7 +346,7 @@ void tst_Gifs::tabBar() void tst_Gifs::menu() { - const QString qmlFileName = QStringLiteral("qtquickcontrols-menu.qml"); + const QString qmlFileName = QStringLiteral("qtquickcontrols2-menu.qml"); GifRecorder gifRecorder; gifRecorder.setDataDirPath(dataDirPath); @@ -380,8 +380,8 @@ void tst_Gifs::menu() void tst_Gifs::swipeDelegate_data() { QTest::addColumn("qmlFileName"); - QTest::newRow("qtquickcontrols-swipedelegate.qml") << QString::fromLatin1("qtquickcontrols-swipedelegate.qml"); - QTest::newRow("qtquickcontrols-swipedelegate-leading-trailing.qml") << QString::fromLatin1("qtquickcontrols-swipedelegate-leading-trailing.qml"); + QTest::newRow("qtquickcontrols2-swipedelegate.qml") << QString::fromLatin1("qtquickcontrols2-swipedelegate.qml"); + QTest::newRow("qtquickcontrols2-swipedelegate-leading-trailing.qml") << QString::fromLatin1("qtquickcontrols2-swipedelegate-leading-trailing.qml"); } void tst_Gifs::swipeDelegate() @@ -433,7 +433,7 @@ void tst_Gifs::swipeDelegateBehind() gifRecorder.setDataDirPath(dataDirPath); gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(14); - gifRecorder.setQmlFileName(QStringLiteral("qtquickcontrols-swipedelegate-behind.qml")); + gifRecorder.setQmlFileName(QStringLiteral("qtquickcontrols2-swipedelegate-behind.qml")); gifRecorder.setHighQuality(true); gifRecorder.start(); @@ -490,7 +490,7 @@ void tst_Gifs::delegates() gifRecorder.setDataDirPath(dataDirPath); gifRecorder.setOutputDir(outputDir); gifRecorder.setRecordingDuration(duration); - gifRecorder.setQmlFileName(QString::fromLatin1("qtquickcontrols-%1.qml").arg(name)); + gifRecorder.setQmlFileName(QString::fromLatin1("qtquickcontrols2-%1.qml").arg(name)); gifRecorder.setHighQuality(true); gifRecorder.start(); -- cgit v1.2.3