diff options
author | Antti Hölttä <AHoelttae@luxoft.com> | 2018-07-23 14:53:11 +0200 |
---|---|---|
committer | Antti Hölttä <AHoelttae@luxoft.com> | 2019-03-18 16:29:30 +0100 |
commit | ffd151ecf3971fd8601d8b1d4e2f04fb5793e364 (patch) | |
tree | cd3b947f04781d59bc61306dd34ef15f8c3a24fd /plugin/spatialnavigation4dir.h |
Initial commit, demoable poc
Sort of working with 4 dir navigation, check demoapp
Diffstat (limited to 'plugin/spatialnavigation4dir.h')
-rw-r--r-- | plugin/spatialnavigation4dir.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/plugin/spatialnavigation4dir.h b/plugin/spatialnavigation4dir.h new file mode 100644 index 0000000..a91c505 --- /dev/null +++ b/plugin/spatialnavigation4dir.h @@ -0,0 +1,17 @@ +#ifndef SPATIALNAVIGATION_H +#define SPATIALNAVIGATION_H + +#include "cursornavigationalgorithm.h" + +class SpatialNavigation4Dir : public CursorNavigationAlgorithm +{ +public: + SpatialNavigation4Dir(ItemRegister *itemRegister); + + virtual QQuickItem* getNextCandidate(const QList<QQuickItem*> &candidates, + const QQuickItem *currentItem, + const CursorNavigationCommand &cmd); + +}; + +#endif // SPATIALNAVIGATION_H |