From 2f4ec044ee4c7cf14481e1e0b86fecf804fcd770 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antti=20H=C3=B6ltt=C3=A4?= Date: Mon, 10 Sep 2018 12:09:44 +0200 Subject: Bind cursor presence to the current active focus --- tests/tst_cursornavigation.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tests/tst_cursornavigation.cpp') diff --git a/tests/tst_cursornavigation.cpp b/tests/tst_cursornavigation.cpp index d61f635..0001f77 100644 --- a/tests/tst_cursornavigation.cpp +++ b/tests/tst_cursornavigation.cpp @@ -13,6 +13,7 @@ public: private slots: void test_pluginLoading(); void test_registering(); + void test_followsFocus(); void test_withKeyNavigation(); void test_spatial4Directions(); @@ -41,6 +42,12 @@ void TestCursorNavigation::test_registering() //unsetting the property should unregister the item } +void TestCursorNavigation::test_followsFocus() +{ + //test that the cursor follows focus; means cursor is moved between the + //items when the focus is changed some other way +} + void TestCursorNavigation::test_withKeyNavigation() { //test that element that additionally uses KeyNavigation, behaves primarily according to the KeyNavigation -- cgit v1.2.3