Animation, state, and timing
Native Qt
Parent Change
Parent Change 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.
pane id: :destination, width: 320, height: 200
tile = rectangle width: 80, height: 80, color: "#b7ff5a"
parent_change tile, parent: :destination, x: 24, y: 24, revision: 1
API
Component properties
10 component-specific values, plus shared item and layout properties.
targetTarget configuration for Parent Change.propertyparentParent configuration for Parent Change.propertyxX configuration for Parent Change.propertyyY configuration for Parent Change.propertywidthWidth configuration for Parent Change.propertyheightHeight configuration for Parent Change.propertyscaleScale configuration for Parent Change.propertyrotationRotation configuration for Parent Change.propertyrevisionRevision configuration for Parent Change.propertyvisibleVisible configuration for Parent Change.propertyShow 12 shared item properties
enabledopacityzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
applyNative event payload