aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/settings_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Add new settings defaultInputMethodDisabled, defaultDictionaryDisabledJarkko Koivikko2021-01-291-0/+8
| | | | | | | | [ChangeLog] Add new settings VirtualKeyboardSettings.defaultInputMethodDisabled and VirtualKeyboardSettings.defaultDictionaryDisabled. Change-Id: Ica735c1072bb87d97f9cc9a0fb515d3eb6da2aa2 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for disabling handwriting modeJarkko Koivikko2021-01-291-0/+4
| | | | | | | | | | This property allows to disable handwriting mode at runtime. [ChangeLog] Add new setting VirtualKeyboardSettings.disableHandwritingMode, which allows to disable handwriting mode at runtime. Change-Id: I5f057cccb6d6e88470d01f43e8f4735fdd436f30 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for input method hintsJarkko Koivikko2021-01-291-0/+4
| | | | | | | | | | | This property allows to set persistent input method hints. [ChangeLog] Add new setting VirtualKeyboardSettings.inputMethodHints, which allows the application to set persistent application wide input method hints. Change-Id: Iaa54a360d80c5def88f53aa8b8510c7cf041208c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for handwriting timeoutJarkko Koivikko2021-01-291-0/+8
| | | | | | | | | | | | | - Added new properties VirtualKeyboardSettings.hwrTimeoutForAlphabetic and VirtualKeyboardSettings.hwrTimeoutForCjk. - The usage of these properties depends on the plugins (e.g. T9 Write). [ChangeLog] Add new settings VirtualKeyboardSettings.hwrTimeoutForAlphabetic and VirtualKeyboardSettings.hwrTimeoutForCjk to allow the application to adjust the handwriting recognition timeout. Change-Id: Id80de20c3ebc8ff97741cf6514b987070d55d66e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new setting for user data pathJarkko Koivikko2021-01-271-0/+5
| | | | | | | | | | | | | | | - The default userDataPath is set to QStandardPaths::GenericConfigLocation. - Add a signal for application to indicate user data reset. [ChangeLog] Added new property to settings VirtualKeyboardSettings.userDataPath. This allows the application or middleware to change the path to user files at runtime. Added also a signal to indicate user data reset - when the application triggers the signal, the virtual keyboard closes all files in the user's directory. Change-Id: I248a5b08c86b3fe7124a8d3f362c8f72e07b92c0 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix zero as null pointer constantJarkko Koivikko2018-08-061-1/+1
| | | | | Change-Id: If41bd31f1fcec5647197ca6834909f4011fe87fa Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Modularize virtual keyboard and add an extension interfaceJarkko Koivikko2018-08-061-0/+110
With the extension interface it is possible to add new input method and/or languages without recompiling the Qt Virtual Keyboard plugin itself. The existing input methods are now isolated into plugins. So installing a new input method is a matter of copying the corresponding extension plugin to the plugins/virtualkeyboard directory (and any collateral required by the extension plugin itself). This change also renames the HunspellInputMethod to DefaultInputMethod. This change is necessary because some other extension plugin may want to provide the default input method instead. Implementation plan =================== [x] Create virtualkeyboard-private module [x] Create plugin library [x] Define interface for input method plugin [x] Define interface for keyboard layouts [x] Move existing input methods and layouts to plugins [x] HangulInputMethod [x] HunspellInputMethod [x] Maybe create a private library for sharing between HunspellInputMethod and LipiInputMethod [x] LipiInputMethod [x] OpenWnnInputMethod [x] PinyinInputMethod [x] T9WriteInputMethod [x] TCInputMethod [o] Rename some C++ classes (too generic name?) [x] Think again replacing the QtVirtualKeyboard namespace [x] Update documentation [x] General instructions for creating a plugin [x] For the C++ interfaces too (previously removed) [ChangeLog][Important Behavior Changes] Introduce an extension interface for the virtual keyboard. All the current input methods and some special keyboard layouts (e.g. Hunspell, OpenWnn, etc.) have been moved to extensions. The extension interface allows third party to create a new input method without having to modify or rebuild the virtual keyboard. In addition, this change makes it possible to add features and languages independently by copying the desired extension to the system. [ChangeLog][Important Behavior Changes] Introduce a virtualkeyboard module, which can be linked against an extension plugin. This module provides the C++ API necessary for creating an input method. [ChangeLog][Important Behavior Changes] Wrap the entire virtual keyboard API into Qt namespace (e.g. QT_BEGIN_NAMESPACE/QT_END_NAMESPACE). Task-number: QTBUG-57602 Change-Id: I449f4429109f596a7a1df7517c81f97d4aada27c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>