aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/qvirtualkeyboardinputcontext.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Fix documentation warningsTopi Reinio2019-11-131-4/+4
| | | | | | | | | | | | | | Mark documented member functions of \internal classes also as \internal as QDoc fails to match function documentation to internal classes otherwise. QDoc's QML parser has trouble parsing method arguments that define a default value. Switch to use \e instead of \a for affected argument names. Fixes: QTBUG-79832 Change-Id: I91c177d00d149775bd0825d5a17a0372e76e3895 Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Enable virtualkeyboard key events and shiftkey without focusMikko Seppänen2019-06-201-1/+1
| | | | | | | | | | | | | | | | This patch enables creation of virtual keyboard that functions with all X11 applications, including the ones that do not provide focus information from text input fields. The patch introdudes usage of an environment variable. When this variable is set, virtualkeyboard shift key is enabled and virtualkeyboard is able to send key events without a focus object. [ChangeLog] Added QT_VIRTUAL_KEYBOARD_FORCE_EVENTS_WITHOUT_FOCUS environment variable to allow Qt Virtual Keyboard to send key events and enable Shift key without a focused input object. Change-Id: I89b3cff0f019a12daf6c6b0474b39758ffea7c65 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Restore InputContext.inputItem property removed in 5.12 releaseJarkko Koivikko2019-02-201-0/+22
| | | | | | | | | | | | | | | This API was removed in 5.12 release as part of refactoring. However, based on user reports, it is somewhat used in applications, though it was originally intended for internal use. This change brings it back to the public as deprecated. [ChangeLog][InputContext] Restore InputContext.inputItem property removed in 5.12 release. Task-number: QTBUG-72494 Change-Id: I1fda2ae3671bf784839f395345dca3402be35d05 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Doc: Fix documentation issuesTopi Reinio2019-01-041-4/+58
| | | | | | | | | | | This commit fixes multiple documentation warnings - typos, missing documentation, missing \internal specifiers, linking problems and incorrect documentation configuration which caused Clang to fail to build a precompiled header for QtVirtualKeyboard. Change-Id: I33baf730a98747842a7813bb6ea3a3545927410b Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Martin Smith <martin.smith@qt.io>
* Merge remote-tracking branch 'origin/5.12.0' into 5.12Qt Forward Merge Bot2018-12-051-1/+6
|\ | | | | | | Change-Id: If8bf45af1625de901e589bb8e1c119a02d5e35d6
| * Restrict more sensitive debugging outputMitch Curtis2018-11-141-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | There are more places where sensitive information could accidentally be disclosed. Also, move SENSITIVE_DEBUG to config.pri so that plugins can use it. Change-Id: Ifa4ccbd6bf4bf79412f29984c662c9e58ea01992 Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Yuntaek Rim <yuntaek.rim@myscript.com>
* | Doc: remove namespaceMitch Curtis2018-11-291-7/+0
|/ | | | | | | | | The namespace was removed from the public API as part of the API review. Change-Id: Iebb11c0edf03ecc0f8c713c9786b703822fbd175 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Merge remote-tracking branch 'origin/5.11' into 5.12Liang Qi2018-10-291-3/+11
| | | | | | | Conflicts: src/virtualkeyboard/qvirtualkeyboardinputcontext.cpp Change-Id: I153a6470bb291cffc75536eb44e9cf8c0973e6b8
* Qtify new APIMitch Curtis2018-09-271-12/+44
| | | | | | | | | | | | | | | Add "is" to C++ getter functions returning bool (where applicable). Add "Active" to "shift" and "capsLock" QML properties, etc. By making these names more explicit, it's clearer what they do and also future-proofs the API by allowing us to add related properties in the future if necessary. [ChangeLog][InputContext] Deprecated shift and capsLock properties in favor of shiftActive and capsLockActive. Change-Id: I66f2c85b50622a6e5fe6b25fb24f13be27acaf9d Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Move QML types registration to import modulesJarkko Koivikko2018-09-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | This change moves the QML type registration from platform input context plugin to respective QML plugins: QtQuick.VirtualKeyboard (import.pro) QtQuick.VirtualKeyboard.Settings (settings.pro) Input method types (e.g. from the virtual keyboard plugins) are still registered in the qtvirtualkeyboard module, but with new URI: QtQuick.VirtualKeyboard.Plugins (plugin.pro) This change is necessary, because the Quick.VirtualKeyboard URI is now reserved for the QML module. Like before, the Quick.VirtualKeyboard module cannot be used without setting QT_IM_MODULE=qtvirtualkeyboard environment variable. The main motivation for this change was to make plugins.qmltypes generation possible for C++ based QML types. Change-Id: Ieb449eb73e0fa33e9a1686d471cc4284982ea1bd Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Use enum class in the input context private state flagsJarkko Koivikko2018-08-281-8/+4
| | | | | | | | | | | Rename enum QVirtualKeyboardInputContextPrivate::StateFlag to ::State and use strongly typed enum. Simplify the state handling with new class QVirtualKeyboardScopedState. Change-Id: I124d53e7094e3b8056b7697d5e6f88d5e8b71b78 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
* Prefix non-namespaced header file names with qvirtualkeyboardJarkko Koivikko2018-08-271-0/+543
Change-Id: Idf2447736ef72fa0fb4dfeacc3386ed7b4fe41c9 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>