diff options
author | Bramastyo Harimukti <bramastyo.harimukti.santoso@pelagicore.com> | 2019-11-15 15:39:28 +0100 |
---|---|---|
committer | Egor Nemtsev <enemtsev@luxoft.com> | 2019-11-27 09:19:50 +0000 |
commit | 1a091500cb17c748444b803c2012767e24b6318a (patch) | |
tree | e982460cc45572cb7e87df2347f95e1f8bde5aa6 /plugin/cursornavigation.h | |
parent | 003900e333e41594cace44a825a79be8f59a0dea (diff) |
add possibility to add offset to the directional movement of the cursor
Change-Id: I79d33e3f944fcdd89023dbc84534318392bfee60
Reviewed-by: Egor Nemtsev <enemtsev@luxoft.com>
Diffstat (limited to 'plugin/cursornavigation.h')
-rw-r--r-- | plugin/cursornavigation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/cursornavigation.h b/plugin/cursornavigation.h index 5829ff9..86f9b58 100644 --- a/plugin/cursornavigation.h +++ b/plugin/cursornavigation.h @@ -65,7 +65,7 @@ public: //void setMagnitude(qreal angle, qreal magnitude); //void setMagnitude(const QVector2D& vector); //move the cursor - bool move(qreal angle, qreal tolerance, bool discrete); + bool move(qreal angle, qreal offset, qreal tolerance, bool discrete); //find the next item without moving the cursor QQuickItem *find(qreal angle, qreal tolerance, bool discrete); bool action(Action action); |