diff options
author | BogDan Vatra <bogdan@kdab.com> | 2018-01-09 12:54:22 +0200 |
---|---|---|
committer | BogDan Vatra <bogdan@kdab.com> | 2018-04-15 18:00:34 +0000 |
commit | 8379186009bc9d0a9ef6309c7508fd529b7eec12 (patch) | |
tree | 3245df0ac359c23ce532e21859d24d7a373595e7 /src/plugins/platforms/android/androidjniinput.h | |
parent | ba2221bd7314c42353cd7ab2895c043d06d837ac (diff) |
Android: rewrite edit context menu
- get rid of the old tool bar with edit controls which was also dropped
by Google after they realized that is not intuitive at all.
- we now introduce a nice context menu as we see in modern Android
devices. This menu works on all Android devices starting with API 16.
[ChangeLog][Android] Say hello to Android edit context menu
Change-Id: I00d0d83fe8876335c72d7b183db4c1b53746d6b7
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/androidjniinput.h')
-rw-r--r-- | src/plugins/platforms/android/androidjniinput.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/android/androidjniinput.h b/src/plugins/platforms/android/androidjniinput.h index c09b426f49..cc3070c4aa 100644 --- a/src/plugins/platforms/android/androidjniinput.h +++ b/src/plugins/platforms/android/androidjniinput.h @@ -58,7 +58,7 @@ namespace QtAndroidInput // Software keyboard support // cursor/selection handles - void updateHandles(int handleCount, QPoint cursor = QPoint(), QPoint anchor = QPoint(), bool rtl = false); + void updateHandles(int handleCount, QPoint editMenuPos = QPoint(), uint32_t editButtons = 0, QPoint cursor = QPoint(), QPoint anchor = QPoint(), bool rtl = false); bool registerNatives(JNIEnv *env); } |