| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I9d242ccd86c429dd0693e2c2d0daf6afe762beae
Reviewed-by: Daniel Smith <Daniel.Smith@qt.io>
|
|
|
|
|
|
|
|
|
|
|
| |
This is an internal class that makes no sense without QQuickPalette, which
is also an internal class (and already documented as such).
Fixes: QTBUG-95591
Change-Id: I878d9bf9794530dfe57ba77db86c7ff9a9a02bd3
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 419734ddda88950ad3f09f7c630eb8771f9f0144)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a SelectionRectangle to the imagine style. The style
will then draw selection handles that looks the same as
a slider handle.
Change-Id: I20e23d01aee39d3cf05b313c95741fb274a1935f
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 207e950ad44d4c105d3e93feed1e54e588943a0f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a SelectionRectangle to the universal style. The style
will then draw selection handles that looks the same as
a slider handle.
Change-Id: I87187c5053501c41066bd131c78ed53c92d5d24e
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 242c1f323ac8c36006c2014dbe21832c1a1a3958)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
Add a SelectionRectangle to the material style. The style
will then draw selection handles that looks the same as
a slider handle.
Change-Id: Ic83671b3a1238f51e0bb4a81cb1d2d75aa57cb2b
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 590fd7beda58b8fbf153d87521ec0ce848c8c87d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
zPolicy should be zOrder.
Amends 367edbfbc3a29827f9c34800b4de509c8629e38a.
Task-number: QTBUG-89938
Change-Id: I352a966952fa30d909bb7384b682bd166f6a1949
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
(cherry picked from commit 9231fbdb27b667b08464aa6560fedb0e8aee2c52)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Change-Id: I9bd3147f102168fb6d901a27dc8dc9ec85e0a62b
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit 8b2b39a000e4ff4605fd3f0dd7d9c63230c9f4a1)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-95170
Change-Id: I6126387bcfc8c93211d782edd9fc127fba88f66f
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
(cherry picked from commit 643e093a6d8e170f5b49759a8fa5d57622859db2)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since our wasm implementation doesn't have access to time-zone data by
default, but its QDateTime implementation does manage to get offsets
right for local time, use it as fall-back for V4's Date
implementation's DaylightSavingTA() and getLocalTZA().
This implementation might also be viable for other cases without
timezone support (and a way to reset it when the system zone has
changed), but we'll need to experiment to find out. For now, since we
have nothing better for wasm, use it there.
In passing, update a comment about a bug report against the ECMA spec
to say it's been fixed (and we're compatible with the result).
Fixes: QTBUG-95314
Change-Id: I40c1537815ada950dc0b5cebd4d641f7bfc45bd9
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
(cherry picked from commit 373897481fb930055e6e89035b1055f8dd80b83f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
When the selection is removed, the handles should hide as well.
Also, show the handles as pressed while they're being dragged
(even if the mouse is not directly on top of them all the time).
Change-Id: I6fbf50dd704f3d86febcacf3779f6f84be247c59
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit cde314d388860e36512ec54bc1ce28db2d30b5f2)
|
|
|
|
|
|
|
|
|
|
| |
Add a SelectionRectangle to the fusion style. The style
will then draw selection handles that looks the same as
a slider handle.
Change-Id: I55d7f755c01a725a6d06526b314b43dfccbebe84
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 5cb4dcb3548cacdc1b5cd20513a5d390bfda82fe)
|
|
|
|
|
|
|
|
|
| |
We need to set parentItem before we incubate the handle, otherwise
we'll get a lot of errors if the handle has bindings to the parent.
Change-Id: If26b34cfc174ff98472ca5c3e680387469fc0027
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 39f86e73654182df54295d76baf033d307425ef2)
|
|
|
|
|
| |
Change-Id: Ic7b53a2ab3d586005feae6a0a9340778be1790f3
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
If a QQmlProperyBinding tries to capture a QProperty, there is nothing
to do as the dependency tracking happens in C++ anyway. Thus we can
avoid calling captureProperty.
Change-Id: I96b2876d4b2ba10b00af8342be9beae660a95ef3
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 3cf2df4a7e8a53a63068613311c4799e55c971b9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This mirrors the approach done for QQmlBinding, except that instance of
virtual functions we use function pointers. This allows for more
efficient code than the runtime metatype switching, at the expense of
slightly more generated code.
The refactoring coincidentally also fixes compilation with clang-cl.
Fixes: QTBUG-95575
Change-Id: I9ced2c37a1a2523a2864394a0dbe762ebacbb8ce
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
(cherry picked from commit 00b580427071acb9341bc49fe37e289201cbf02c)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
As it stood, we would check if the user dragged on the top-left handle
by checking which component was being used to instatiate the handle.
This goes wrong if both the top-left and the bottom-right handle
is instantiated from the same delegate component.
This patch will make it explicit which handle is being instatiated
instead.
Fixes: QTBUG-95622
Change-Id: I592a99bf0e3daf0b566e07494aa2de69e010749d
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 35f948a1add8a46d85c6383971e9ebff3e0dada7)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
| |
GHS linker optimizes away QML type registrations despite volatile.
To prevent this we add #pragma ghs reference(s) to avoid such linker
optimization.
Task-number: QTBUG-94846
Change-Id: I8614b904657d706e93541d84cbe43f4826abbd60
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit abbcbf22079a9135e9bd19ac4e0e3c71e2f5f792)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QQmlIRBuilder skips storing binding scripts as a string to save memory.
However, for QQmlScriptString, we need the string to be available. This
is solved by running QQmlScriptStringScanner in the type compiler at
runtime, which sets the correct stringIndex for script string bindings.
However, that one does not run when we already have a compilation unit
from cachegen (and if we would run it unconditionally, we still would
miss the source code to recover the string).
We work around this issue by noting that QQmlScriptString only cares
about a very limited set of strings: Namely the various literals and
undefined. The literals are already correctly handled, as IRBuilder has
specific optimizations for them anyway. We now check in the generic case
whether the bindings string equals "undefined", and if so, ensure that
the string is registered.
Fixes: QTBUG-91165
Change-Id: I4c4696952a082d1e69e0c9e5a0b9bf2470d59187
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
(cherry picked from commit dd86881520dde6c1487e5397f10b82584e6b9eaa)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a test to check that a Qml backing lib's resource object files are
linked into the final executable across a static qml plugin.
This didn't work before because plugin targets link privately
against their backing lib, and that caused the resource object files
not to be propagated to the final executable using target_sources
linking approach.
It should not be a problem anymore because the minimum CMake version
for using static Qt has been raised.
Usage of qmlshapesplugin in an application exhibited this issue.
The test uses QtQuickShapes to instantiate a ShapePath. It then
installs a message handler to intercept a warning in case if one of
the shaders embedded in the resource object files is missing.
Task-number: QTBUG-92933
Change-Id: Ib4be313201f705c3daad5f48dc92360cac107ddb
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 0ba32f513eb4b956f4aab0207f48522404f2c2f5)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
For now we limit it to cmake auto tests only.
Task-number: QTBUG-87580
Change-Id: I53c7b26d6e17c3e0b1853622aa86c9953be37063
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 39d8bef8dc3d2cf8a0c7bdb418e66fc8329dfc98)
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-84432
Change-Id: I623b45de6db5060516c0bec30a1e4c1ecbe8374d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit d10cc557e295ec10486db7e674d87e4fd4143551)
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Qt6QuickControls2 package did not get a Dependencies.cmake file
generated to call find_package(Qt6Quick) because Quick was removed
from the PUBLIC_LIBRARIES section of the Qt module definition.
Same for the other controls Qt modules and their dependencies.
Those were incorrectly removed with the idea that they were plugin
targets which don't have public dependencies, but that's not the case,
they are Qt modules, not plugins.
Restore the public library dependencies, so that transitive
find_package'ing works.
Amends 9c30798a439e6a87b574472aca7a4e15107c6221
Fixes: QTBUG-95532
Change-Id: Ie2cb69cdde5585e90a5ce97a6d3666a647daef40
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit 131682ec7df14b661c6a1290c683cac436c1328e)
|
|
|
|
|
|
|
| |
Change-Id: I6b96d3d196b6d48e6dd53c74eb021e72840ac6be
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 65e6d365fac282d59024545b6dcc5d22361a3038)
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
|
|
|
|
|
|
|
|
|
|
| |
Task-number: QTBUG-92970
Change-Id: Ib3da3e463fcd1f6d823d9a9a1d6af1a13c688e54
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 272f9449ce505e753a5d8a9e3f9b942e3551a614)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
Augments 1bd408d6f7eac7908c77a0129e0173c280fce55b in qtbase
Fixes: QTBUG-95171
Change-Id: I57a88ee5b211085193b8827e9d9e35392e92185a
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 1b206f9bdf482806434334e7328641e231e81032)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
| |
It was ironic that it's the most obvious use case of TapHandler but
we didn't have some easy copy-and-paste code for making your own button.
Change-Id: I680b6f828f0df82e2ab8b434a2e76aabb21fc2b9
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit 0fb1a49db192e7b0f0b0fe7ac441dead1608eb63)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The object creator only called setImportedScripts on a context if
subComponentIndex was -1 (indicating the root of a component). However,
since the introduction of inline components, subcomponents can also be
component roots. This patch adjusts the check to also consider inline
components. This fixes the issue that javascript libraries could nod be
referenced inside inline components.
Fixes: QTBUG-95095
Change-Id: I22d14c6f102edca6d2991d25280bfe3c42df820f
Reviewed-by: Ivan Tkachenko <me@ratijas.tk>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
(cherry picked from commit 86039f61b32095cb2e341402438c96178baa0158)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Document the exclusive/passive grab concepts better
- Mention gesturePolicy's impact on grab behavior in the TapHandler docs too
- More links
- Add a couple of snippets illustrating simple use cases with handlers
- Don't bother mentioning Qt.labs.handlers anymore
Task-number: QTBUG-68110
Change-Id: I5e6f538c2bc8cafef679f535a5248b218b4a8068
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
(cherry picked from commit aade6857d12b2c9cd5552d25f4d084a5fcd25f7d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
|
|
|
|
|
|
|
|
|
|
| |
They don't make sense and cause the qmllint tests to fail
when merging qtquickcontrols2.
Task-number: QTBUG-95567
Change-Id: I9dcb92f9b0fd8f5a901c90247ad6428a0acb8b7e
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit f59d1176ea8fa212d08fed2cbffe8ac47a3d7700)
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
|
|\ |
|
| |\
| | |
| | |
| | |
| | | |
Task-number: QTBUG-95173
Change-Id: I4293b23e6eb3e780bfd77546a885385eb4512eb1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In preparation for merging into qtdeclarative
Task-number: QTBUG-95173
Change-Id: I0c91c9af85ca63ca8c7f7184d41f299030e12a0e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 93b7b48d417ff0a7a77871454bf90d6962fe890c)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-95173
Change-Id: I541dc26cf2cdd6f2640824f693f7d059445367d9
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit f865f4b76d9385077c9ba4ca91a91246554dd36e)
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In preparation for merging qtquickcontrols2 into qtdeclarative.
Any future change logs for controls can use the same change file as
declarative.
Task-number: QTBUG-95173
Change-Id: Icf08e5f9c9dd5b88672db1defc54f47fe630bf66
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
(cherry picked from commit 2baab6ba9aeafb15b4dadb16d707c45ebb1c2e14)
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I1ac1ed393e9df18929baf5228ade36d4dbb5593b
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Id7186d2d990bc8fe3a1cfd950913b548c0c60ba9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I94f43e927242cee7b6069cc9627ecd88b6f7b1a2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I034e0e225842d239b3210cbfbb72c1e249c178a2
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I76f089d571369c29bfd0aefadecc13b5bd6745ed
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ie2407635741cc7474df1886358f680125590178d
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I6db1a944e7af79801b215f9160939fbe02b46d4e
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I3a31914be16275b7fb9d0bfc4a394e116b2c142c
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ifa7807c992156229fb805bdae4f553d921bfe8c1
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit 81f16aa16e64d55985fc2b199a86773ff2d6f125)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I1b92fd09fe9ade3a2f2cc301f669ba6047a769c6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ia9093b73095a853c8105145c1307089c1676d7e9
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I2d5ad288537732cb0d4b9525854719d33602ffd6
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I2dd9c6d05fcfcfc1f232e60bdd5d75cc8e99c502
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-82678
Change-Id: Icf0f43454086a059e8e14a03db985e570233e0a9
Reviewed-by: Igor Bugaev <freedbrt@gmail.com>
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
(cherry picked from commit 43c34d3a92839b8592cd2e1dfc63d1e2fbbcc3ef)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I356d1d31754a49c0020d2e4e9bcf9bf23ac5f72a
Reviewed-by: Qt Submodule Update Bot <qt_submodule_update_bot@qt-project.org>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These changes are subjective, and might not be seen as an improvement by
everyone.
Personally, I felt that some space could be removed between the text
fields and list views for the material style, and between the list
views and group boxes for the universal style.
Task-number: QTBUG-87799
Change-Id: I2a94caaa2304ccef0c9709bbfe9a0cd9b56e2034
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
(cherry picked from commit ef9e58808c42ad52b3481de342309d8c4e9e8ee9)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
|