aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/qquickheaderview/data/resizableHandlerBlockingEvents.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quickcontrols/qquickheaderview/data/resizableHandlerBlockingEvents.qml')
-rw-r--r--tests/auto/quickcontrols/qquickheaderview/data/resizableHandlerBlockingEvents.qml29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/qquickheaderview/data/resizableHandlerBlockingEvents.qml b/tests/auto/quickcontrols/qquickheaderview/data/resizableHandlerBlockingEvents.qml
new file mode 100644
index 0000000000..0b520c3be3
--- /dev/null
+++ b/tests/auto/quickcontrols/qquickheaderview/data/resizableHandlerBlockingEvents.qml
@@ -0,0 +1,29 @@
+import QtQuick
+import QtQuick.Controls
+import QtQuick.Layouts
+
+ApplicationWindow {
+ width: 800
+ height: 600
+
+ ColumnLayout {
+ anchors.fill: parent
+
+ Rectangle {
+ Layout.fillWidth: true
+ Layout.fillHeight: true
+ color: mouseArea.pressed ? "tomato" : "steelblue"
+
+ MouseArea {
+ id: mouseArea
+ objectName: "mouseArea"
+ anchors.fill: parent
+ }
+ }
+
+ HorizontalHeaderView {
+ Layout.fillWidth: true
+ Layout.fillHeight: true
+ }
+ }
+}