aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/pluginQuick_swipeDelegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/pluginQuick_swipeDelegate.qml')
-rw-r--r--tests/auto/qml/qmllint/data/pluginQuick_swipeDelegate.qml19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/pluginQuick_swipeDelegate.qml b/tests/auto/qml/qmllint/data/pluginQuick_swipeDelegate.qml
new file mode 100644
index 0000000000..a6c3b2c743
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/pluginQuick_swipeDelegate.qml
@@ -0,0 +1,19 @@
+import QtQuick.Controls
+import QtQuick
+
+Item {
+ SwipeDelegate {
+ contentItem: Item { anchors.left: parent.left }
+ background: Item { anchors.right: parent.right }
+
+ swipe.left: Item {}
+ swipe.behind: Item {}
+ }
+ SwipeDelegate {
+ contentItem: Item { anchors.centerIn: parent }
+ background: Item { anchors.fill: parent }
+
+ swipe.right: Item {}
+ swipe.behind: Item {}
+ }
+}