diff options
Diffstat (limited to 'tests/CNRect.qml')
-rw-r--r-- | tests/CNRect.qml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/CNRect.qml b/tests/CNRect.qml new file mode 100644 index 0000000..50ae4fb --- /dev/null +++ b/tests/CNRect.qml @@ -0,0 +1,12 @@ +import QtQuick 2.0 +import CursorNavigation 1.0 + +//Cursor Navigable rectangle for reusing in tests +//has visual indication of cursor for running tests manually +Rectangle { + color: CursorNavigation.hasCursor ? "red" : "green" + width: 20 + height: 20 + + CursorNavigation.acceptsCursor: true +} |