aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/deferred/data/abortedIncubation.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols/deferred/data/abortedIncubation.qml')
-rw-r--r--tests/auto/quickcontrols/deferred/data/abortedIncubation.qml171
1 files changed, 171 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/deferred/data/abortedIncubation.qml b/tests/auto/quickcontrols/deferred/data/abortedIncubation.qml
new file mode 100644
index 0000000000..6cd4c1c04a
--- /dev/null
+++ b/tests/auto/quickcontrols/deferred/data/abortedIncubation.qml
@@ -0,0 +1,171 @@
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Dialogs
+import QtQuick.Controls.Basic
+
+ApplicationWindow {
+ id: appWindow
+
+ // QQuickDeferredPointer<QQuickItem> background;
+ background: Rectangle {
+ id: backgroundRect
+ color: "black"
+ }
+
+ // internal property handle
+ ColorDialog {
+ id: colorDialog
+ options: ColorDialog.DontUseNativeDialog
+ }
+
+ // internal property upButton
+ // internal property textField
+ FolderDialog {
+ id: folderDialog
+ options: FolderDialog.DontUseNativeDialog
+ }
+
+ // indicator property of AbstractButton
+ Button {
+ id: basicButton
+ indicator: Rectangle {
+ id: basicButtonIndicator
+ color: "pink"
+ }
+ }
+
+ Dial {
+ id: dial
+ // QQuickDeferredPointer<QQuickItem> handle;
+ handle: Item {
+ Rectangle {
+ id: dialRect
+ }
+ }
+ }
+
+ GroupBox {
+ id: groupBox
+ // QQuickDeferredPointer<QQuickItem> label;
+ label: Label {
+ id: groupBoxLabel
+ text: "yo"
+ }
+ }
+
+ Label {
+ id: label
+ text: "yo2"
+ background: Rectangle {
+ id: labelBackground
+ color: "green"
+ }
+ }
+
+ Menu {
+ id: menu
+
+ MenuItem {
+ id: menuItem
+ text: "New..."
+ arrow: Rectangle {
+ id: menuItemArrow
+ color: "pink"
+ }
+ }
+ }
+
+ ScrollBar {
+ id: scrollbar
+ }
+
+ SpinBox {
+ id: spinBox
+
+ up.indicator: Rectangle {
+ id: spinBoxUpIndicator
+ color: "pink"
+ }
+ down.indicator: Rectangle {
+ id: spinBoxDownIndicator
+ color: "blue"
+ }
+ }
+
+ Control {
+ id: genericControl
+ background: Rectangle {
+ id: genericControlBackground
+ color: "red"
+ }
+ contentItem: Canvas {
+ id: genericControlContentItem
+ }
+ }
+
+ ComboBox {
+ id: comboBox
+ model: ["foo", "bar"]
+
+ popup: Popup {
+ id: comboBoxPopup
+ contentItem: ListView {
+ ScrollBar.vertical: ScrollBar {}
+ }
+ }
+ indicator: Item {
+ id: emptyPopupItem
+ }
+ }
+
+ Slider {
+ id: slider
+ // QQuickDeferredPointer<QQuickItem> handle;
+ handle: Item {
+ Rectangle {
+ id: rect
+ }
+ }
+ }
+
+ RangeSlider {
+ id: rangeSlider
+ first.handle: Item {
+ Rectangle {
+ id: rangeSliderRect1
+ }
+ }
+ second.handle: Item {
+ Rectangle {
+ id: rangeSliderRect2
+ }
+ }
+ }
+
+ TextArea {
+ id: textArea
+ background: Rectangle {
+ id: textAreaBackground
+ color: "pink"
+ }
+ }
+
+ TextField {
+ id: textField
+ background: Rectangle {
+ id: textFieldBackground
+ color: "pink"
+ }
+ }
+
+ TabBar {
+ id: bar
+ TabButton {
+ text: qsTr("One")
+ }
+ TabButton {
+ text: qsTr("Two")
+ }
+ }
+}
+