aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/settings.h
Commit message (Collapse)AuthorAgeFilesLines
* Add full screen input mode for super wide screensJarkko Koivikko2017-01-301-0/+4
| | | | | | | | | | | | | In full screen mode the virtual keyboard replicates the contents of the focused input field to full screen input field located on top of keyboard. This mode can be activated by VirtualKeyboardSettings.fullScreenMode. [ChangeLog] Added full screen input mode for super wide screens. Change-Id: Ib2650c04767fb0945cc2bedc5b1801d254a15a41 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Add new feature "Auto commit word"Jarkko Koivikko2017-01-201-0/+4
| | | | | | | | | | | | | | | This feature, when enabled, automatically commits the remaining single word in the word candidate list, when there was initially multiple candidates. This feature can be enabled from settings using VirtualKeyboardSettings.wordSelectionList.autoCommitWord property. [ChangeLog] Added support for automatic selection of the only remaining word in the suggestion list. Change-Id: Iecfafcaeb3ccb72e1d8e53b92c395b0d1dc84163 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Automatically hide word candidate listJarkko Koivikko2017-01-201-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | This change adds support for automatically hiding word candidate list when inactive. This feature includes the following enhancements: - Added new settings: * VirtualKeyboardSettings.wordCandidateList.autoHideDelay * VirtualKeyboardSettings.wordCandidateList.alwaysVisible - Automatic hiding of word candidate list when inactive and when autoHideDelay elapsed. - alwaysVisible setting restores the old functionality. - Added new signal selectionListsChanged() to input method, allowing the input method to dynamically allocate or deallocate selection lists. - HunspellInputMethod does not allocate selection list when dictionary cannot be loaded, or Qt::ImhNoPredictiveText is enabled. Also, it will no longer use pre-edit text in this case. - OpenWnnInputMethod does not allocate selection list if not needed. [ChangeLog] Automatically hide word candidate list when inactive. Change-Id: Ifa95ae8a7c47a96719ffdc2929601ff2ef9c0d2e Reviewed-by: Gordan Markus <gordan.markus@pelagicore.com> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Implement external keyboard layouts supportGordan Markuš2016-11-161-0/+5
| | | | | | | | | | | | | * Add possibility to override and exclude built-in keyboard layouts * Add QT_VIRTUALKEYBOARD_LAYOUT_PATH environment variable specifying the layout location on the file system or inside a qrc resource * Update documentation accordingly [ChangeLog] Add support for external keyboard layouts, which allows overriding and exclusion of the built-in keyboard layouts Task-number: QTBUG-54254 Change-Id: I960b942c031221d29dbdf1cabed78be8d32f43ef Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* License updateKalle Viironen2016-01-121-9/+17
| | | | | | Change-Id: I0dc6af72a3ae52a0b97b704df84fb1a8197aeeb8 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com> Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
* Wrap C++ API into namespaceJarkko Koivikko2015-10-271-0/+4
| | | | | | | | | | | | | | | This change wraps the entire C++ API into namespace. In practice, all the C++ interfaces inside the qtvirtualkeyboard plugin are private, except the QPlatformInputContext plugin API. Even the AbstractInputMethod and AbstractInputPanel are not really a public in the sense that they could be used outside the plugin. At least it does not make sense, since there is no way to extend the virtual keyboard functionality without recompiling the plugin. Task-number: QTRD-3628 Change-Id: I1037ee247abca3219efeaa4e4150baaff7c3d668 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* License Headers UpdateKalle Viironen2015-10-261-9/+12
| | | | | Change-Id: Iba2bd21b95dde1aac5750ac77856716e0c61e577 Reviewed-by: Kalle Viironen <kalle.viironen@theqtcompany.com>
* Add a new API to change the keyboard languageJarkko Koivikko2015-10-071-0/+12
| | | | | | | | | | | | | This change adds three new properties for VirtualKeyboardSettings. - locale: Defines the default locale, can also be used to change the current language. - availableLocales: A list of built-in locales. - activeLocales: Application defined list of active locales. Task-number: QTRD-3332 Change-Id: Ia9e69f54501ec7ad7680a6167546b52d0972e2dc Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Correct license headers.Mitch Curtis2015-09-151-10/+10
| | | | | | | | | | Using the commercial template found here: https://wiki.it.local/display/QTCOM/Header+templates+to+be+used+in+Qt+Code Change-Id: If401d8fa3ff4dab6ea1e74477d5c02b5dcd09eea Task-number: QTRD-3693 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
* Change copyright noticeRainer Keller2014-10-061-2/+2
| | | | | | | | | - URL points to qt.io - Update year to 2014 Change-Id: I6a77715faf32c88fe2832a6d21a912a20e5dae50 Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com> Reviewed-by: Kalle Viironen <kalle.viironen@digia.com>
* Add support for custom styles and runtime change of styleJarkko Koivikko2014-08-191-0/+48
Styles can now co-exist in plugin resources and file system. All the built-in styles are now embedded into plugin resources and therefore available at runtime. Furthermore, custom styles can be installed independently to the target system by copying them into Styles directory: $$[QT_INSTALL_QML]/QtQuick/Enterprise/VirtualKeyboard/Styles The default built-in style is still configured at build time and changed with CONFIG+=retro-style as before. The runtime style can be changed by setting an environment variable QT_VIRTUALKEYBOARD_STYLE to the name of the style. The style name can be one of the built-in styles or custom styles currently available in the system. However, there is an limitation that the custom style cannot have the same name as any of the built-in styles. Added new child module QtQuick.Enterprise.VirtualKeyboard.Settings, which provides VirtualKeyboardSettings instance. Change-Id: Ide076529c2c6d6944d8c0532d0b5daa5a56cae76 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>