diff options
Diffstat (limited to 'src/plugins/platforms/uikit/examples/qmltest/qml/main.qml')
-rw-r--r-- | src/plugins/platforms/uikit/examples/qmltest/qml/main.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/uikit/examples/qmltest/qml/main.qml b/src/plugins/platforms/uikit/examples/qmltest/qml/main.qml index f2a7b59e..5d5fe4ec 100644 --- a/src/plugins/platforms/uikit/examples/qmltest/qml/main.qml +++ b/src/plugins/platforms/uikit/examples/qmltest/qml/main.qml @@ -53,7 +53,7 @@ Rectangle { Text { text: "Click"; font.pixelSize: 16; anchors.centerIn: parent } MouseArea { - anchors.fill: parent + anchors.fill: parent hoverEnabled: true acceptedButtons: Qt.LeftButton | Qt.RightButton @@ -61,7 +61,7 @@ Rectangle { onExited: info.text = 'Exited (pressed=' + pressed + ')' onPressed: { - info.text = 'Pressed (button=' + (mouse.button == Qt.RightButton ? 'right' : 'left') + info.text = 'Pressed (button=' + (mouse.button == Qt.RightButton ? 'right' : 'left') + ' shift=' + (mouse.modifiers & Qt.ShiftModifier ? 'true' : 'false') + ')' var posInBox = redSquare.mapToItem(box, mouse.x, mouse.y) posInfo.text = + mouse.x + ',' + mouse.y + ' in square' |