diff options
author | Antti Hölttä <AHoelttae@luxoft.com> | 2019-02-19 15:36:39 +0100 |
---|---|---|
committer | Antti Hölttä <AHoelttae@luxoft.com> | 2019-03-18 16:42:31 +0100 |
commit | 8489f36322c585ec78199e6eb183000c74afae19 (patch) | |
tree | 8989b7cf6275b8b6cbffaa3b44467f5bd4ecdbf5 /plugin/plugin.pro | |
parent | a5120f26d509a3464c79404de84e9428b8ddc690 (diff) |
Add redirect feature for manually fine tuning the cursor's movement
Cursornavigation now has a property redirects, that allows defining
exceptions to the navigation behaviour. A redirect allows defining
a starting and an ending angle and a target object.
If the move command's direction falls between the limits, the algorithm
is bypassed and cursor is moved to the target object.
Diffstat (limited to 'plugin/plugin.pro')
-rw-r--r-- | plugin/plugin.pro | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/plugin/plugin.pro b/plugin/plugin.pro index 4d7fed9..b5cdee7 100644 --- a/plugin/plugin.pro +++ b/plugin/plugin.pro @@ -16,7 +16,8 @@ SOURCES += \ cursornavigationalgorithm.cpp \ spatialnavigation4dir.cpp \ inputtypes.cpp \ - spatialnavigation360.cpp + spatialnavigation360.cpp \ + redirect.cpp HEADERS += \ plugin.h \ @@ -26,7 +27,8 @@ HEADERS += \ inputtypes.h \ cursornavigationalgorithm.h \ spatialnavigation4dir.h \ - spatialnavigation360.h + spatialnavigation360.h \ + redirect.h pluginfiles.files += qmldir |