aboutsummaryrefslogtreecommitdiffstats
path: root/examples/virtualkeyboard/basic/basic-b2qt.qml
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/tqtc/lts-5.15.12' into ↵v5.15.12-lts-lgplTarja Sundqvist2023-10-111-1/+1
|\ | | | | | | | | | | tqtc/lts-5.15-opensource Change-Id: Ic09850f172cef4f21122447fedb294afb30317fa
| * Fix visible area in the basic exampleInho Lee2022-10-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | When fixing portrait mode, input area's position was changed accidently. Task-number: QTBUG-83217 Fixes: QTBUG-98750 Change-Id: I06994c290828097f570099f3766fb4744fad6edd Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> (cherry picked from commit 043ce7722cc3e8893b31a56392fdb83eeb761bb9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* | Revert "Update commercial license headers"v5.15.3-lts-lgplTarja Sundqvist2021-03-221-11/+11
|/ | | | | | | | | | | This reverts commit e3901f053fde1fc956da629efc358559970dbc43. Revert of commercial license headers is required for Qt 5.15.3 opensource release. Task-number: QTBUG-91108 Change-Id: Idfd95d4d1a690978a044d43f0a57be2ae0d786a5 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Update commercial license headersTarja Sundqvist2021-01-191-11/+11
| | | | | | | | | The commercial license header header.COMM is updated to files under tqtc-qtvirtualkeyboard. Task-number: QTQAINFRA-4157 Change-Id: Ibfa6dac2b88f8734e3f795520548093b8cd50d86 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix InputPanel position in b2qt example when portrait modeJanne Myöhänen2020-07-241-8/+23
| | | | | | | | | | | | | Fix the position and placement of InputPanel in b2qt example when the screen is rotated to portrait mode. Rotation is now applied to whole window content. InputPanel position and dimensions are calculated based on used screen orientation. Fixes: QTBUG-83217 Change-Id: I3a4fab9aad5aafecea315d804c5521d108484950 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> (cherry picked from commit e409ba186bcd670e7741740c410a32f35b1dbe2e) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Merge remote-tracking branch 'origin/5.14.0' into 5.14Qt Forward Merge Bot2019-12-131-0/+5
|\ | | | | | | Change-Id: I41e5655ff707faecd8f6c0d3d5dc17bdd3dad0c7
| * Fix warnings about Binding's new restoreMode propertyv5.14.0-rc2v5.14.0Mitch Curtis2019-12-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | The warning is: QML Binding: Not restoring previous value because restoreMode has not been set. This behavior is deprecated. In Qt < 6.0 the default is Binding.RestoreBinding. In Qt >= 6.0 the default is Binding.RestoreBindingOrValue. Fixes: QTBUG-80523 Change-Id: I18721419c2822aa80373d16f7e142e42bafe317c Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* | example/basic: Fix full screen handwriting toggleJarkko Koivikko2019-11-261-1/+1
|/ | | | | | | | | - Due to bug in the basic example, the input controls were not responding to touch/mouse after toggling full screen handwriting mode from active state. Change-Id: I89a512a2f9bdd4a9b9ad10d7b269e99d3bef77d2 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Revert "basic example: ensure AutoScroller scrolls correctly when first opened"Jarkko Koivikko2018-08-201-2/+1
| | | | | | | | | | | | This reverts commit 5f1b15d2c54a6930cf8164598f1d540840540540. This change actually broke the AutoScroller. The actual fix is commit 27696915b7977e245082dbb534d36f2165437378. Change-Id: I0be3ab7b583a63d771cea9df37ed0b1f775bce7c Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* basic example: ensure AutoScroller scrolls correctly when first openedMitch Curtis2018-04-041-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | In AutoScroller.qml, the following line target: inputItem && !Qt.inputMethod.animating ? Qt.inputMethod : null prevents onKeyboardRectangleChanged from getting executed. Even though Qt.inputMethod.animating is updated before the rectangle is updated, the handler still doesn't get emitted. Since the VKB only emits keyboardRectangleChanged when the input method is not animating (see the binding in Keyboard.qml), we can safely remove that check. That just leaves one more issue: clicking in an input field, then clicking outside of it (on the MouseArea) to hide the keyboard, then clicking back in a lower text field will not cause AutoScroller to scroll. In this case, onInputItemChanged is called, but the if checks (mentioned at the top of the description of the bug report) use the full height of the flickable before it's reduced to account for the keyboard. Subtracting the height of the keyboardRectangle from the flickable's height didn't work, so that issue needs to be fixed separately. Task-number: QTBUG-66294 Change-Id: I3733bb6be05443748eb873d76daee428be9687e8 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Use Qt Quick Controls 2 in the basic exampleMitch Curtis2018-03-061-0/+1
| | | | | | | | | | | | | - Replace custom text input types with corresponding Qt Quick Controls 2 types. - Replace custom scrollbar with ScrollBar from Qt Quick Controls 2. - Only build the basic example if Qt Quick Controls 2 is available. - Update the documentation and its screenshot. Change-Id: Ib2559595d4a589bb228450bc08be5ab6fbc69b91 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Add full screen input mode for super wide screensJarkko Koivikko2017-01-301-3/+11
| | | | | | | | | | | | | 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>
* Avoid unnecessary input method queries during input panel animationJarkko Koivikko2017-01-141-0/+6
| | | | | | | | Add an example binding for InputContext.animating property. This is for avoiding unnecessary queries during animation. Change-Id: I654e0152ff7514e92abb7036ba51afd14ee63fc6 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-05-191-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: src/virtualkeyboard/lipisharedrecognizer.cpp src/virtualkeyboard/styles/styles.pro src/virtualkeyboard/virtualkeyboard.pro Change-Id: I150f2ad265f8a7bd07be1d9415cdad854e200e87
| * Fix basic embedded exampleJarkko Koivikko2016-05-021-1/+1
| | | | | | | | | | | | | | QML component must start with a capital letter. Change-Id: Icd7821583796004c48c152daa0cb749166e99255 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Bump version number to 2.1Mitch Curtis2016-04-261-1/+1
| | | | | | | | | | Change-Id: Idc71754cae27cb4222e2a5073533a4830e06f45d Reviewed-by: Andy Shaw <andy.shaw@theqtcompany.com>
* | Remove 'enterprise' from QML imports and QRC prefixesMitch Curtis2016-04-261-1/+1
| | | | | | | | | | | | | | | | | | [ChangeLog] Renamed QML import from "import QtQuick.Enterprise.VirtualKeyboard" to "import QtQuick.VirtualKeyboard", as the module is now open-source. Change-Id: I240a3c1b598ca4aa41d2aad02b6e548622308833 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-04-211-9/+17
|/ | | | | | | | Conflicts: examples/virtualkeyboard/basic/basic.pro src/virtualkeyboard/doc/qtvirtualkeyboard.qdocconf Change-Id: I92b07ae67779bba37141408e28c6f67e1731383a
* Flatten example install path and directory structureMitch Curtis2016-04-201-0/+131
Change-Id: Ic270635b0c17578bc9f85cca2d9f3a7b49e33952 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>