diff options
author | Jan Arve Sæther <jan-arve.saether@theqtcompany.com> | 2015-11-26 10:37:24 +0100 |
---|---|---|
committer | Jan Arve Sæther <jan-arve.saether@theqtcompany.com> | 2016-04-06 12:26:34 +0000 |
commit | 0bb645b1ccc5a9d57b21cf0b2c4306b8e48c611c (patch) | |
tree | bf868b455287bffb5b0cab804765802bd3214f1f /src/corelib | |
parent | 9b699fa839f560a9ea9da69c8975b9aa4654ab8b (diff) |
Add support for ImhAnchorRectangle
Adds the following API:
* QInputMethod::anchorRectangle()
* QPlatformInputContext::setSelectionOnFocusObject()
This will be used for determining how to display selection handles.
Change-Id: If57e3fd58ff0f1ba7899f7dd62bfa9c006028667
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/global/qnamespace.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h index 1a3536d45b..39ca6dcd3e 100644 --- a/src/corelib/global/qnamespace.h +++ b/src/corelib/global/qnamespace.h @@ -1338,6 +1338,7 @@ public: ImTextBeforeCursor = 0x800, ImTextAfterCursor = 0x1000, ImEnterKeyType = 0x2000, + ImAnchorRectangle = 0x4000, ImPlatformData = 0x80000000, ImQueryInput = ImCursorRectangle | ImCursorPosition | ImSurroundingText | |