aboutsummaryrefslogtreecommitdiffstats
path: root/src/labs/animation/qquickboundaryrule.cpp
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>
* 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>
* 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>
* 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>
* 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>
* Add BoundaryRule.returnedToBounds signalShawn Rutledge2022-09-061-4/+27
| | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Use SPDX license identifiersLucie Gérard2022-06-111-39/+2
| | | | | | | | | | | | 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>
* 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>
* QQuickBoundaryRule: Port from finalize callback to QQmlParserStatusFabian Kosmale2021-09-241-14/+13
| | | | | | | | | | | | | | | | 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>
* 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-211-0/+574
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>