Animation, state, and timing
Native Qt
Animation Controller
Animation Controller is a native Zui component in the animation, state, and timing catalog, with 10 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"
animation_controller tile, property: :x, from: 0, to: 280, duration: 900, progress: 0.45
API
Component properties
10 component-specific values, plus shared item and layout properties.
animationAnimation configuration for Animation Controller.propertytargetTarget configuration for Animation Controller.propertypropertyProperty configuration for Animation Controller.propertyfromFrom configuration for Animation Controller.propertytoTo configuration for Animation Controller.propertydurationDuration configuration for Animation Controller.propertyprogressProgress configuration for Animation Controller.propertyreloadReload configuration for Animation Controller.propertyrevisionRevision configuration for Animation Controller.propertyvisibleVisible configuration for Animation Controller.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.
↗
progress_changeNative event payload↗
finishNative event payload