| CMakeLists.txt |
|
603 |
- |
| doc |
|
|
- |
| qqmlanimationglobal_p.h |
|
578 |
- |
| qquickboundaryrule.cpp |
!
\qmltype BoundaryRule
//! \nativetype QQuickBoundaryRule
\inqmlmodule Qt.labs.animation
\ingroup qtquick-transitions-animations
\ingroup qtquick-interceptors
\brief Defines a restriction on the range of values that can be set on a numeric property.
\since 5.14
A BoundaryRule defines the range of values that a particular property is
allowed to have. When an out-of-range value would otherwise be set,
it applies "resistance" via an easing curve.
For example, the following BoundaryRule prevents DragHandler from dragging
the Rectangle too far:
\snippet qml/boundaryRule.qml 0
Note that a property cannot have more than one assigned BoundaryRule.
\sa {Animation and Transitions in Qt Quick}, {Qt Quick Examples - Animation#Behaviors}{Behavior
example}, {Qt Qml}, {Qt Quick Examples - Pointer Handlers}
|
18393 |
- |
| qquickboundaryrule_p.h |
|
3791 |
- |