path: root/src/plugins/platforms/ios/qiosinputcontext.h
diff options
authorRichard Moe Gustavsen <>2016-09-19 15:08:12 +0200
committerRichard Moe Gustavsen <>2016-09-30 12:18:37 +0000
commitb19280753d8edfab503669a61800735ad184b042 (patch)
tree0fa7f8949bf8b87ce93d04ff35d751bfb2fd3293 /src/plugins/platforms/ios/qiosinputcontext.h
parentbe13081dd4a965f52dd55b3ca2db25ffa3816776 (diff)
iOS: hide shortcuts bar on iPad when showing menus
On iPad, a shortcuts bar with extra controls are shown on top of the keyboard with opertions like cut and copy. This is unwanted when using the keyboard to show menus. This patch will add extra private information to IM platform data when using menus, so that we hide the shorcuts menu when showing the custom input panel. Task-number: QTBUG-49893 Change-Id: Iaa8e1ff18acebec8be69699b3fd9470c69ab34d7 Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'src/plugins/platforms/ios/qiosinputcontext.h')
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/ios/qiosinputcontext.h b/src/plugins/platforms/ios/qiosinputcontext.h
index 923c87b07b..f7112dd5c6 100644
--- a/src/plugins/platforms/ios/qiosinputcontext.h
+++ b/src/plugins/platforms/ios/qiosinputcontext.h
@@ -43,6 +43,7 @@
const char kImePlatformDataInputView[] = "inputView";
const char kImePlatformDataInputAccessoryView[] = "inputAccessoryView";
+const char kImePlatformDataHideShortcutsBar[] = "hideShortcutsBar";
const char kImePlatformDataReturnKeyType[] = "returnKeyType";