aboutsummaryrefslogtreecommitdiffstats
path: root/src/labs/animation
Commit message (Collapse)AuthorAgeFilesLines
* Mark security header for qt labs animationSanthosh Kumar2025-09-161-0/+1
| | | | | | | | QUIP: 23 Task-number: QTBUG-136184 Pick-to: 6.10 6.9 6.8 Change-Id: I2867ec1ba4faa7c03e95735504b3052fea132ff3 Reviewed-by: MohammadHossein Qanbari <mohammad.qanbari@qt.io>
* CMake: Don't publicly propagate private Qt modules for public modulesAlexandru Croitor2025-07-291-1/+1
| | | | | | | | | | | | This causes user projects to automatically find the private Qt module packages and expose the Private targets and their headers, without the user project explicitly opting into this, and without showing them a warning. Pick-to: 6.10 Task-number: QTBUG-138712 Change-Id: Ia50bb6d128fe018c71d976f91abdab75790b6142 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* doc: Fix string, real, point and size QML property documentationDavid Boddie2024-12-051-7/+7
| | | | | | Pick-to: 6.8 Change-Id: I2de731368e403696ecf9d74a0ac68d1982d5ce24 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
* Doc: Replace \instantiates with \nativetypePaul Wicking2024-08-201-1/+1
| | | | | | | | | | | Since the implementation of the `\nativetype`-command in QDoc, the `\instantiates`-command is deprecated. Replace the use of the deprecated command in favor of its replacement. Pick-to: 6.8 Task-number: QTBUG-128216 Change-Id: I23d9f66d3f6db2e5f827d7868497a432bb9b0626 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* labs: Straighten out some logging categoriesUlf Hermann2024-06-141-1/+1
| | | | | | | | | | | Either make them static or declare them in a header. We want them to be static wherever possible, in order to reduce the number of visible symbols. If they can't be static, however, they should at least be declared in only one place. Task-number: QTBUG-67692 Change-Id: I72c6ed00ce6e0d81ebb8e0dff93f410bd001342a Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Remove the use of GENERATE_CPP_EXPORTS argumentAlexey Edelev2024-06-111-1/+0
| | | | | | | | | The behavior that argument was enabling is the default one now. Pick-to: 6.8 Task-number: QTBUG-90492 Change-Id: I11711d4c794f0b22169abb595b8ffad2eeb1300d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove the use of GENERATE_PRIVATE_CPP_EXPORTSAlexey Edelev2024-01-111-2/+1
| | | | | | | Task-number: QTBUG-117983 Change-Id: I584116bfd4d47deca914910b712c2ea3295f3e7f Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Remove the use of Q_LABSANIMATION_PRIVATE_EXPORTAlexey Edelev2024-01-092-2/+2
| | | | | | Task-number: QTBUG-117983 Change-Id: I61240bfce1c04116292b47d21255d7db0ae6b852 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Doc: Fix linking to Qt Qml moduleTopi Reinio2023-12-011-1/+1
| | | | | | | | | | The module landing page has been renamed in af0539c7bb6f46e89523054c09d5d846ae55f355. The correct link target is 'Qt Qml'. Change-Id: I4a13348948fe1577e7a62edbb49a0d99f9695322 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Remove all QML_DECLARE_TYPE from src and toolsUlf Hermann2023-11-181-2/+0
| | | | | | | | They are generally not useful for anything. Change-Id: I12e959ce9338e6eb7465633496c7921fa09a3fe8 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* doc: Rename to Qt Quick Examples - Pointer HandlersShawn Rutledge2023-07-021-1/+1
| | | | | | | | This seems to be still a consistent naming convention for example docs. Pick-to: 6.6 Change-Id: I508526ec992222da1c971bc327dd9c83a21640aa Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Doc: Use correct module identifiers in \qmlproperty commandsTopi Reinio2023-06-051-13/+13
| | | | | | | | | The correct QML module for MultiEffect type is QtQuick.Effects, and for BoundaryRule, Qt.labs.animation. Pick-to: 6.6 Change-Id: I2013079d5be656f19c10c497fb4474bd761b0b36 Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
* Make properties in the Qt Labs module FINALOliver Eftevaag2023-05-311-11/+11
| | | | | | | | | | | Without setting the FINAL flag, properties can be shadowed by users. This can both cause confusion for non-experienced users, and it causes issues with qmlsc. Task-number: QTBUG-108739 Change-Id: I141953340235040020e7ec64f67019314f0f932b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Document the Pointer Handlers exampleShawn Rutledge2023-03-021-1/+1
| | | | | | | | | | | Animated gifs were captured with byzanz-record, then converted to webp: gif2webp -lossy -min_size -q 40 -m 6 -mt -metadata none in.gif -o out.webp Pick-to: 6.2 6.4 6.5 Fixes: QTBUG-96915 Change-Id: Iee2f4ef774de7862d93c7e4cdf7b2b5e0553bec4 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> Reviewed-by: Doris Verria <doris.verria@qt.io>
* Fix type of QtQuick::BoundaryRule::easing in documentationMatthias Rauter2023-01-191-1/+1
| | | | | | Pick-to: 6.5 6.4 6.2 Change-Id: I86ba0659fcd5a0c38b664738b9e0b3b28562dbf5 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* doc: Change \qmlproperty enum to enumerationShawn Rutledge2022-10-141-1/+1
| | | | | | | | It was mostly consistent already, but not in these two cases. Pick-to: 6.2 6.4 Change-Id: I5ed7b9cf7fd7e7dc6f4b43085035b375e1e9cc1e Reviewed-by: Paul Wicking <paul.wicking@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-09-071-1/+1
| | | | | | | Task-number: QTBUG-105718 Change-Id: Id89ed14990804a5024183e75382cc539d4293da1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add BoundaryRule.returnedToBounds signalShawn Rutledge2022-09-062-4/+28
| | | | | | | | | | | | | | | | | | | | | | | | | If QML code needs to do something (like re-render an image at a different resolution) when the returnToBounds() animation is completed, it's more convenient, performant and reliable to write BoundaryRule { ... onReturnedToBounds: { ... } } rather than BoundaryRule { onCurrentOvershootChanged: if (currentOvershoot === 0) { ... } } [ChangeLog][Qt Labs Animation] BoundaryRule now has a returnedToBounds signal. Fixes: QTBUG-105107 Change-Id: Ieb8b990d6d01b652b43bc673c35e8f86cb2d582a Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-081-0/+3
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I72c89a98c42bbc9234d8495e9e503bec81d11037 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Use SPDX license identifiersLucie Gérard2022-06-114-141/+8
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Add QtQml dependency to Qt.labs.animationMarco Bubke2022-05-071-0/+2
| | | | | | | | | | QEasingCurve is referenced as parameter type but there is no dependency declared to QtQml where it is defined. Pick-to: 6.3 6.2 Change-Id: If23600e8bc7c9818b677bafb3a221be9346d54d3 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Maximilian Goldstein <max.goldstein@qt.io>
* Doc: Drop version no. against the \qmlmoduleVenugopal Shivashankar2021-12-021-1/+1
| | | | | | | | | | | | Since Qt 6.x, it is not mandatory to have version no. against the module import statements. Pick-to: 6.2 6.2.2 Task-number: QTBUG-98481 Change-Id: Ia3d35f2dc198d3e9c02d15784ca07c9bbb9526ce Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Doc: Fix qdoc warningsVenugopal Shivashankar2021-11-141-2/+4
| | | | | | | | - Comment out \instantiates entries that refer to private C++ classes - Fix clang-format and regexp warnings Change-Id: I7228538715b9d34ab39e7c0f71155be7a277116a Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Migrate to autogenerated cpp exportsAlexey Edelev2021-11-022-14/+3
| | | | | | | | | Replace the hardcoded cpp exports with a generated one where it's applicable. Task-number: QTBUG-90492 Change-Id: I4af021bf828e05c8d6f3f975befd3b6b2cf63462 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* QQuickBoundaryRule: Port from finalize callback to QQmlParserStatusFabian Kosmale2021-09-242-18/+19
| | | | | | | | | | | | | | | | QQuickBoundaryRule only uses the finalize callback to set a flag when the component is actually completed. This can be easily done with the public QQmlParserStatus instead. Besides being clearer thanks to using a documented approach, this should also slightly improve performance as it avoids unnecessary work with the meta-object system. Task-number: QTBUG-96054 Change-Id: I2a4c8b3974f42aad5a47acb2c133aca035773873 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
* Remove unnecessary declarations of type registration functionsUlf Hermann2021-07-161-2/+0
| | | | | | | | | For generated plugins, we do not need to manually declare type registration functions. Pick-to: 6.2 Change-Id: Iafd311375e4542a74fe2530e64e2b4bbe15af690 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Refactor and update qml CMake APICraig Scott2021-06-042-19/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The existing CMake API for qml modules had a number of shortcomings. Refactor it to achieve the following: - Clearly separate public and internal aspects. - Re-use code from qtbase for adding plugins and module targets rather than reimplementing close variations. - Provide more robust and complete support for qmllint, qmlcachegen and automatic generation of qmldir files. - Reduce the steps needed for more common scenarios. - Encourage the use of separate backing library and plugin targets. - Automatically generate the plugin class .cpp file where possible. - Specify .qml files directly through qml-specific API elements rather than assuming they can be extracted out of a set of resources. [ChangeLog][QtQml] The qml CMake API has changed from 6.1 and is now out of Technical Preview status. The most notable change is that .qml files should no longer be specified as resources, there is dedicated handling for them in the qt6_add_qml_module(). A related change is that the qt6_target_qml_files() command has been replaced by qt6_target_qml_sources(). More complete integration with qmlcachegen, qmllint and qmldir generation is also part of the CMake API. Fixes: QTBUG-91621 Task-number: QTBUG-82598 Task-number: QTBUG-88763 Task-number: QTBUG-89274 Task-number: QTBUG-91444 Change-Id: I25aae1b0e89890394dfe2ba2824008164b2ca8d9 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* CMake: Remove GENERATE_METATYPES usageMaximilian Goldstein2021-04-271-1/+0
| | | | | | | | We now generate metatypes by default and every instance of GENERATE_METATYPES now causes a warning. Change-Id: Id81f66eb8b0b7cc9475fd9978ebe374a59ab7b63 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* CMake: Fix qml module version to use the repo project versionAlexandru Croitor2021-04-151-1/+1
| | | | | | | | | | | Use PROJECT_VERSION instead of CMAKE_PROJECT_VERSION, so that the repo project version is used in a top-level build, rather than the version of the qt5 project. Pick-to: 6.1 6.0 Task-number: QTBUG-92861 Change-Id: I5a7a09baf81353558e512800746ac24e8e8b9a47 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* QQuickBoundaryRule: remove qmlExecuteDeferred callFabian Kosmale2021-03-231-1/+0
| | | | | | | | The class does not actually have any deferred properties, so this did not do anything. Change-Id: I3f3380c31fee90bcbf14ce8881915f6acb8985e3 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Qt.labs.animation: Make plugin optionalMaximilian Goldstein2021-01-214-0/+817
This moves the animation types into a new library and is meant to make them availabe to the QML compiler at some point in the future. Task-number: QTBUG-90487 Change-Id: I19bd864253941931706933f7e517bb31938e9cc2 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>