aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/styles
Commit message (Collapse)AuthorAgeFilesLines
...
* Update version number to 1.2v1.2.0Jarkko Koivikko2014-09-042-1/+3
| | | | | Change-Id: I630901e9e7d8300043f896cfdf159160867ee349 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Add support for pre-compiling qml filesGatis Paeglis2014-08-282-10/+40
| | | | | | | | | | | | | | | | | | | | | | | | Adding the Qt Quick Compiler support requires utilizing Qt Resource System. This is achieved by generating the required resource files during execution of qmake and using qrc URL paths in the vkb plugin when in pre-compiled qml mode. The configure option to enable pre-compiled qml support is: CONFIG+=qtquickcompiler When "CONFIG+=qtquickcompiler" configure option is omitted - vkb plugin deploys all the required files on the file system. When "CONFIG+=qtquickcompiler" is set - vkb does not deploy any of the *.qml files. One limitation when using the pre-compiled qml case is that users can not add new layouts dynamically, this feature can be added in later patches. Change-Id: I7f27ea78f14370ee9082d1723f21b1d6230eef42 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Changes to shift state handling for certain languagesJarkko Koivikko2014-08-131-1/+2
| | | | | | | | | | | | | | | | | Moved all shift handling logic into DeclarativeShiftHandler. The purpose of this change is to allow language specific exceptions to the shift handling logic. With certain languages (currently including Arabic, Persian and Hindi), the automatic shift handling is disabled. Also, the shift state can be toggled even if current input method hints does not allow it. This change frees the shift key state for other purposes, such as binding to an alternative layout. Change-Id: I1cd6f8684b461ca3eecb484ae307c7bc7c2d0d81 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Increment API version to 1.1Jarkko Koivikko2014-06-255-4/+14
| | | | | | | | | | Make proper adjustments to documentation and qmldir files to remain backwards compatible with the applications still using the 1.0 version. Change-Id: I0a59065b09d4a0e60798629e98a0867c66b8dac8 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
* Update license headers.Mitch Curtis2014-06-236-6/+6
| | | | | | | | | | | "This file is part of the Qt Quick Enterprise Controls add-on." becomes: "This file is part of the Qt Virtual Keyboard add-on for Qt Enterprise." Change-Id: Ief6e840a658fdf769d653844fe92752aa44c3bec Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi>
* Add support for sound effectsJarkko Koivikko2014-06-202-0/+12
| | | | | | | | | | | The sound effects are defined by the keyboard style. Each style can provide a different set of sound effects. The currently assigned effects are for the key press and selection list select events. Also, each key type can have different sound effect. Change-Id: I73fa43fffedb4b381eb06414a0d5cb12b5b37dca Note: this commit does not include the actual sounds. Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Add signal to indicate the item is selected from the selection listJarkko Koivikko2014-06-201-1/+4
| | | | | | | | Renamed the original method itemSelected() to selectItem() and added itemSelected() signal. Improved documentation for the SelectionListModel. Change-Id: Id4b3267fe73cdfca2cf8f21860c8fe789d183b4d Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Add arrow navigation modeJarkko Koivikko2014-06-201-0/+10
| | | | | | | | | | | | | | | | The arrow navigation mode allows using the keyboard with the arrow keys and the return key of the physical input device. The navigation mode is available when the keyboard is built with CONFIG+=arrow-key-navigation in the qmake command line. To enter into arrow navigation mode, simply press any of the arrow keys on the hardware keyboard while the virtual keyboard is visible. Items are selected with return key. Pressing and holding the return key will access the alternative keys (if any). The "drag symbol mode" is also available by pressing and holding the return on top of the symbol key. Change-Id: Ief9acfacd7f2d8a59a3c6b959d28f5467d207fa6 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Limit KeyIcon image width to the parent item widthJarkko Koivikko2014-05-061-0/+2
| | | | | | | | | This is to ensure that the image does not exceed the edges of the key. The image is scaled properly even though the aspect ratio of the sourceSize is not correct. Change-Id: I3f8be863cb4656d1692545edc449ea80ed806069 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Add documentation for the qml typesJarkko Koivikko2014-05-021-1/+1
| | | | | | | Add documentation for qml items used in keyboard layouts. Change-Id: I7cbfd97a62434a94635d2e058eba5617832acc76 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Doc: Ensure all documented QML types are listedTopi Reinio2014-02-184-0/+4
| | | | | | | | | Ensures that InputPanel QML type, as well as the styling types are listed on the index page. Change-Id: If65a0a67214669e6ddd5372916e351b640363be9 Reviewed-by: Mitch Curtis <mitch.curtis@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
* Restructure and rename.Mitch Curtis2014-01-289-0/+508
This restructures the repo to match other Qt modules, like the Enterprise Controls. It also renames the plugin and usages of its name in the documentation so that the abbreviated "VKB" is not used anywhere. Change-Id: I5de3fc67846a50438e52f4be057abfa0d9be0d91 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>