aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix arrow key navigation when shortcuts are set for arrow keysPeter Varga2020-01-151-0/+9
| | | | | | | Fixes: QTBUG-81240 Change-Id: I169307295718ed285c525b82194d30c8197e5d95 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.14.0' into 5.14Qt Forward Merge Bot2019-12-135-0/+21
|\ | | | | | | Change-Id: I41e5655ff707faecd8f6c0d3d5dc17bdd3dad0c7
| * Fix warnings about Binding's new restoreMode propertyv5.14.0-rc2v5.14.0Mitch Curtis2019-12-055-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Allow shift toggle with Qt::ImhNoAutoUppercaseSamuli Piippo2019-12-091-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qt::ImhNoAutoUppercase means that the input method should not try to automatically switch to upper case when a sentence ends. QtVKB was using it also to make shift work as caps lock. Change the behavior so that the shift key affects only the next character. [ChangeLog] Using Qt::ImhNoAutoUppercase hint (used also with password fields) no longer makes shift key function as a caps lock. Change-Id: I231c8d192a67e19f04bc4d3fcf0bc9c676a12830 Task-number: QTBUG-80058 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | QtQuick.VirtualKeyboard.Plugins: automatically register latest versionMitch Curtis2019-12-041-0/+3
|/ | | | | | | | | Follow up to 67e497ff407441515761b312599cb4ad6b61adad, and a pre-requisite for bumping all versions in QML import statements. Change-Id: I1f8d788d7c52c979dde2b3fb3141583cece7a286 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Fix documentation warningsTopi Reinio2019-11-135-9/+15
| | | | | | | | | | | | | | 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>
* Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-11-121-1/+1
|\ | | | | | | Change-Id: Ib15c9e15c6de7af881e147ff640aa42b0393c360
| * Revert "Fix lipitoolkit build on Ubuntu"5.13Jani Heikkinen2019-11-081-1/+1
| | | | | | | | | | | | | | | | | | This reverts commit b4d8dc1855a6acce3542bc9bd37365fbfc5eefc5. Reason for revert: QTBUG-79849 Change-Id: I661c0485e348a986078743379cd4787f5dab4c2c Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into 5.14v5.14.0-beta3Qt Forward Merge Bot2019-11-051-1/+1
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I92fd5c3e605d36af7bdf983cd444a919402227f0
| * Fix lipitoolkit build on UbuntuMitch Curtis2019-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -L$$OUT_PWD/../../../../lib points to: /home/mitch/dev/qt5.13-debug/qtvirtualkeyboard/src/plugins/lipi-toolkit/plugin/../../../../lib which expands to: /home/mitch/dev/qt5.13-debug/qtvirtualkeyboard/lib I have no lib folder there. This patch changes the pro file to use QT_HOST_LIBS (/home/mitch/dev/qt5.13-debug/qtbase/lib/) and not OUT_PWD, as OUT_PWD refers to where the Makefile is being created in and not where the libraries are actually being built into. Since the libraries are placed where the module/lib path is, using QT_HOST_LIBS will ensure it is in the same location. Change-Id: I1921b18d9362c49174c5ba6b267fe194a963d91c Reviewed-by: Andy Shaw <andy.shaw@qt.io>
* | Update plugins.qmltypes for 5.14v5.14.0-beta1Kai Koehne2019-09-303-124/+499
| | | | | | | | | | | | | | Task-number: QTBUG-78690 Change-Id: I41834ea8b0a9d72cfc20a70c7d373ecb3b42112c Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into 5.14Qt Forward Merge Bot2019-09-241-3/+0
|\| | | | | | | Change-Id: I5ae8a627c0b6e0e400f8abcffec267b87b845a27
| * Remove incorrect QML singleton registrationJarkko Koivikko2019-09-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | - Commit 5260805b162030a6900bacf46d2a55b69075ae09 added an incorrect QML singleton registration which will cause duplicate instances of the singleton with application using inconsistent QtVirtualKeyboard imports. - This registration is also unnecessary and can be removed, since the version number is already registered with the other components. Change-Id: I7ef9688d08ca2ec0a697f7de4159140951f096a7 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Fix SVG icons in the default stylev5.14.0-alpha1Jarkko Koivikko2019-09-0610-69/+67
| | | | | | | | | | | | | | | | | | - Fixed invalid SVG icons in default style, which no longer work with the latest Qt SVG library. - Fixed by copying the icons from retro style and adapting the colors. Change-Id: I0834082ca4f810625c53be47e3f02334f94346f1 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | ZhuyinTable/CangjieTable: mark all functions as noexceptMarc Mutz2019-08-014-22/+22
| | | | | | | | | | | | | | Doesn't change the executable, as -fno-exceptions is in effect. Change-Id: I94fe49cce3f4109247f9b1b6b22eec71cb548585 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | CangjieTable: thoroughly QStringView-enableMarc Mutz2019-08-012-10/+10
| | | | | | | | | | | | | | | | | | Nothing in the implementation of CangjieTable needs QString. This is all very basic parsing. So use QStringView. Now all operations are free of dynamic memory allocations. Change-Id: I353bab484ef6d551e03c7d8bb04e7e1a923f830e Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | CangjieTable: replace a QMap with a QStringViewMarc Mutz2019-08-012-47/+10
| | | | | | | | | | | | | | | | | | | | | | The QMap was statically mapping QChars to consecutive numbers, starting from 1. This is otherwise known as QStringView::indexOf() + 1, so use that. Saves almost 12KiB in text size on optimized Linux AMD64 GCC 9.1 builds. Change-Id: I2e11ab39e073cdf77b2050bccf3e613bf23cf4d1 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | TCInputMethod: replace a QList with a std::arrayMarc Mutz2019-08-011-6/+8
| | | | | | | | | | | | | | | | | | The QList always has size 4, so use a std::array instead. Saves more than 1KiB in text size on optimized Linux AMD64 GCC 9.1 builds. Change-Id: I520ea517a3542514f250668adc10938d2fed4778 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | ZhuyinTable: throughly QStringView-enableMarc Mutz2019-08-014-100/+83
| | | | | | | | | | | | | | | | | | | | | | | | Nothing in the implementation of ZhuyinTable needs QList, or QString. This is all very basic parsing. So use QStringView. Now all operations are free of dynamic memory allocations. Saves ~2.7KiB (0.9%) in text size on optimized AMD64 Linux GCC 9.1 builds. Change-Id: Iefa38980b52ede17a0c11f752653616d1944911a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Port from QMutex::Recursive to QRecursiveMutexMarc Mutz2019-07-311-7/+6
| | | | | | | | | | | | | | | | Also port from QMutexLocker to std::lock_guard, as the former will not support QRecursiveMutex going forward. Change-Id: I38a2711c64ae149001e780cc57fc95657c33d6d4 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Port from implicit QChar(*int*) to explicit onesMarc Mutz2019-07-196-41/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | Found a nice misuse of QChar <=> Qt::Key, which happens to work for '\'', but not for all other keys (e.g. Esc)... I want to note that, yes, I took note of the code's abuse of Qt containers, and no, I _did_ constrain myself; this patch is just fixing implicit *int*->QChar conversions. Change-Id: I3cb43417f3922fdc500783b7e0b8caecc0d3c5f5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-07-161-0/+1
|\| | | | | | | Change-Id: I186a6aac5a94ae5e754ed3e4208948ae4a2f6262
| * Doc: Replace example file lists with links to code.qt.ioTopi Reinio2019-07-091-0/+1
| | | | | | | | | | | | Task-number: QTBUG-74391 Change-Id: I55517679621d72c39f483d9422738eb6d381dd6d Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* | Remove usages of deprecated QLatin1LiteralSona Kurazyan2019-06-251-1/+1
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-76491 Change-Id: I6c3e2eb4a517e5c46d22c9b34a687a6c04cd05ac Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* | Enable virtualkeyboard key events and shiftkey without focusMikko Seppänen2019-06-207-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-06-221-1/+1
|\| | | | | | | Change-Id: I99a989a886234815a2b5f495bfbdd62a6dcb7e76
| * Merge remote-tracking branch 'origin/5.13.0' into 5.13Qt Forward Merge Bot2019-06-201-1/+1
| |\ | | | | | | | | | Change-Id: Ibbaca5ceb1ed0532ef49275f785260995c94bf2c
| | * Use correct path to lib dirv5.13.0-rc3v5.13.0-rc2v5.13.0-rc1v5.13.0-beta4v5.13.0Samuli Piippo2019-05-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | -L path was pointing to non-existing directory. Task-number: QTBUG-75802 Change-Id: I9a72c57ef63d8da860c220041c2000ce3f1fefa8 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* | | Convert uses of QTime as a timer to QElapsedTimerEdward Welbourne2019-06-121-4/+4
| | | | | | | | | | | | | | | Change-Id: I59877565c0f82552a04d41f2f3c2a657b5be4fe2 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | | Merge remote-tracking branch 'origin/5.13' into devQt Forward Merge Bot2019-06-031-0/+2
|\| | | | | | | | | | | Change-Id: I7b34a9c88b4077ab29495fcb4817717a19c0bc40
| * | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-05-281-0/+2
| |\ \ | | |/ | |/| | | | Change-Id: I085ea266cb9722e24d8e414b67f55441cd5e9022
| | * myscript: dependency updateYuntaek Rim2019-03-151-0/+2
| | | | | | | | | | | | | | | Change-Id: I58c9b9b13fe137ef3afc578a1962b51f0144be22 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | | Add environment variable for disabling desktop method integrationDmitriy Yatmanov2019-05-133-3/+16
|/ / | | | | | | | | | | | | | | | | | | | | Don't create instance of DesktopInputPanel if variable QT_VIRTUALKEYBOARD_DESKTOP_DISABLE is set. In this case we can use only application integration method without recompiling with CONFIG+=disable-desktop. Change-Id: I935880174b7928a4dd7a4ff9ff21b6f27b5fead6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-04-253-166/+2
|\| | | | | | | Change-Id: I094e6eccfb39dca21c1d1d1558bb63c9556de601
| * Remove unused TpcError.h file with unspecified licenseDmitry Shachnev2019-04-233-166/+2
| | | | | | | | | | | | Change-Id: I18b7e8d57bda751e49e556222ea5432101e6db44 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Automatically register the latest import versionv5.13.0-beta3Kai Koehne2019-04-1211-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | This follows what was done in d28c9f6a for Qt Quick Controls 2. The latest import version (e.g. 2.14 in Qt 5.14) will automatically be registered whenever the Qt version is bumped. This avoids needing to wait until a new type is added (or a new revision is added to an existing type) before being able to use the newest Qt Quick version. Change-Id: Ic2b59f50bfae8fed5148eae9596578adb0aadb52 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta2Qt Forward Merge Bot2019-03-271-0/+7
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I9736fec7c5a429ade0a8d801a0d4fb8de3ef70c4
| * Document Qt::WA_AcceptTouchEvents requirement when using QQuickWidgetMitch Curtis2019-03-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | On touch devices, it's necessary to set this attribute on the widget to ensure that touch events don't get sent as mouse events. This apparently became necessary after 41293196. Change-Id: I6371efa4bce561aa7e21b240c862d8b1e0fc2950 Fixes: QTBUG-67018 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | Stop using deprecated qBinaryFindThiago Macieira2019-03-132-4/+4
| | | | | | | | | | | | | | | | | | | | | | cangjiedictionary.cpp:114:103: warning: ‘RandomAccessIterator qBinaryFind(RandomAccessIterator, RandomAccessIterator, const T&) [with RandomAccessIterator = const QChar*; T = QChar]’ is deprecated: Use std::binary_search [-Wdeprecated-declarations] But std::binary_search is stupid. Change-Id: Id061f35c088044b69a15fffd15819144eed7a621 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io> Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13v5.13.0-beta1Qt Forward Merge Bot2019-03-091-2/+2
|\| | | | | | | Change-Id: I662dec5bb1c45605e76ff0fcb33e6d978c5f6f42
| * Fix incorrect qdoc syntax in Handwriting documentationThibaut Cuvelier2019-03-051-2/+2
| | | | | | | | | | | | | | | | \MyScript instead of MyScript Fixes: QTBUG-74191 Change-Id: I6454a079b979e40a24b5a8cfa81550fa87ce1ce3 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* | Merge remote-tracking branch 'origin/5.12' into 5.13Qt Forward Merge Bot2019-02-232-0/+25
|\| | | | | | | Change-Id: I06d7c97486966c9669ea335460558cd06e84379e
| * Restore InputContext.inputItem property removed in 5.12 releaseJarkko Koivikko2019-02-202-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix GCC warning about cv qualifiers in castThiago Macieira2019-02-091-1/+1
| | | | | | | | | | | | | | qvirtualkeyboardinputengine.cpp:434:68: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] Change-Id: Id061f35c088044b69a15fffd15818fab6296e09c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
* | QVirtualKeyboardSelectionListModel: Fix compiler warningsv5.13.0-alpha1Friedemann Kleint2019-02-061-4/+5
|/ | | | | | | | | | | | | | | | | Replace static_cast<const int> by static_cast<int> and change to an initializer list, fixing: qvirtualkeyboardselectionlistmodel.cpp: In constructor 'QVirtualKeyboardSelectionListModel::QVirtualKeyboardSelectionListModel(QObject*)': qvirtualkeyboardinputengine.cpp:434:68: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] if (d->inputModes.contains(static_cast<const int>(inputMode))) { ^ qvirtualkeyboardselectionlistmodel.cpp:150:50: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] qvirtualkeyboardselectionlistmodel.cpp:151:63: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] qvirtualkeyboardselectionlistmodel.cpp:152:53: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] qvirtualkeyboardselectionlistmodel.cpp:153:62: warning: type qualifiers ignored on cast result type [-Wignored-qualifiers] Change-Id: Ibd8b928b5f5326cc18e12be69c080cface1279fc Reviewed-by: Sami Nurmenniemi <sami.nurmenniemi@qt.io> Reviewed-by: Kari Oikarinen <kari.oikarinen@qt.io>
* Register QtQuick.VirtualKeyboard.Plugins version 2.3Andy Shaw2019-01-101-0/+1
| | | | | | | | | | Since the virtual keyboard is still usable even without the plugins, then it should have the latest version registered here instead of depending on the plugins to do it for us. Change-Id: I109e2f452341defbd78831235a35c494d5e44ff6 Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Fix documentation issuesTopi Reinio2019-01-049-50/+134
| | | | | | | | | | | 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>
* Doc: Fix name of SelectionListModel QML typeTopi Reinio2018-12-141-8/+8
| | | | | | | | And also fix the the description to discuss QML types instead of the C++ types that they instantiate. Change-Id: I25c0ca4e6ec3b03b61f1b4ab7fb9124a34e03f6e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
* Add version information about third-party Lipi ToolkitKai Koehne2018-12-051-2/+4
| | | | | | | | Also complete Copyright attributes, and add a DownloadLocation link. Task-number: QTBUG-72229 Change-Id: I220d6a4a953abd0f1c6c0083f4e65564db9c904b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/5.12.0' into 5.12Qt Forward Merge Bot2018-12-0514-1342/+190
|\ | | | | | | Change-Id: If8bf45af1625de901e589bb8e1c119a02d5e35d6