Animation, state, and timing
Native Qt
Vector Animation
Vector Animation is a native Zui component in the animation, state, and timing catalog, with 11 component-specific properties.
Usage
Ruby example
Paste this complete Builder example inside the app surface from the Quickstart. Replace illustrative asset paths with files from your project.
tile = rectangle width: 80, height: 80, color: "#b7ff5a"
vector_animation tile, property: :scale3d, from: [0.8, 0.8, 0.8], to: [1.0, 1.0, 1.0], duration: 320, running: true
API
Component properties
11 component-specific values, plus shared item and layout properties.
targetTarget configuration for Vector Animation.propertypropertyProperty configuration for Vector Animation.propertyfromFrom configuration for Vector Animation.propertytoTo configuration for Vector Animation.propertydurationDuration configuration for Vector Animation.propertydelayDelay configuration for Vector Animation.propertyeasingEasing configuration for Vector Animation.propertyloopsLoops configuration for Vector Animation.propertyrunningRunning configuration for Vector Animation.propertypausedPaused configuration for Vector Animation.propertyvisibleVisible configuration for Vector Animation.propertyShow 16 shared item properties
enabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
startNative event payload↗
stopNative event payload↗
finishNative event payload↗
running_changeNative event payload