aboutsummaryrefslogtreecommitdiffstats
path: root/tests/tst_cursornavigation.cpp
diff options
context:
space:
mode:
authorAntti Hölttä <AHoelttae@luxoft.com>2018-09-10 12:09:44 +0200
committerAntti Hölttä <AHoelttae@luxoft.com>2019-03-18 16:30:59 +0100
commit2f4ec044ee4c7cf14481e1e0b86fecf804fcd770 (patch)
treec5b702d7e4c423ebd12ffb3e531fb7cd7c452bb5 /tests/tst_cursornavigation.cpp
parentffd151ecf3971fd8601d8b1d4e2f04fb5793e364 (diff)
Bind cursor presence to the current active focus
Diffstat (limited to 'tests/tst_cursornavigation.cpp')
-rw-r--r--tests/tst_cursornavigation.cpp7
1 files changed, 7 insertions, 0 deletions
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