Animation, state, and timing
Native Qt
Animation
A declarative native animation track for moving any supported property between values.
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 target: tile, property: :opacity, from: 0.2, to: 1.0, duration: 320, running: true
API
Component properties
12 component-specific values, plus shared item and layout properties.
targetTarget configuration for Animation.propertypropertyProperty configuration for Animation.propertyfromFrom configuration for Animation.propertytoTo configuration for Animation.propertydurationDuration configuration for Animation.propertydelayDelay configuration for Animation.propertyeasingEasing configuration for Animation.propertyloopsLoops configuration for Animation.propertyrunningRunning configuration for Animation.propertypausedPaused configuration for Animation.propertyalways_runAlways run configuration for Animation.propertyvisibleVisible configuration for 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