Animation, state, and timing
Native Qt
Behavior
Behavior is a native Zui component in the animation, state, and timing catalog, with 8 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"
behavior tile, property: :opacity, value: 1.0, duration: 240, easing: :in_out_quad
API
Component properties
8 component-specific values, plus shared item and layout properties.
targetTarget configuration for Behavior.propertypropertyProperty configuration for Behavior.propertyvalueValue configuration for Behavior.propertyanimationAnimation configuration for Behavior.propertydurationDuration configuration for Behavior.propertyeasingEasing configuration for Behavior.propertyenabledEnabled configuration for Behavior.propertyvisibleVisible configuration for Behavior.propertyShow 15 shared item properties
opacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
changeNative event payload↗
finishNative event payload