Drawing and interaction
Container
Native Qt
Shader Effect Source
Shader Effect Source is a native Zui container in the drawing and interaction catalog, with 15 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.
shader_effect_source width: 420, height: 240, live: true, recursive: false do
image "assets/source.png", width: 420, height: 240
end
API
Component properties
15 component-specific values, plus shared item and layout properties.
widthWidth configuration for Shader Effect Source.propertyheightHeight configuration for Shader Effect Source.propertysource_rectSource rect configuration for Shader Effect Source.propertytexture_widthTexture width configuration for Shader Effect Source.propertytexture_heightTexture height configuration for Shader Effect Source.propertyformatFormat configuration for Shader Effect Source.propertysamplesSamples configuration for Shader Effect Source.propertywrap_modeWrap mode configuration for Shader Effect Source.propertytexture_mirroringTexture mirroring configuration for Shader Effect Source.propertymipmapMipmap configuration for Shader Effect Source.propertyliveLive configuration for Shader Effect Source.propertyrecursiveRecursive configuration for Shader Effect Source.propertyhide_sourceHide source configuration for Shader Effect Source.propertysmoothSmooth configuration for Shader Effect Source.propertyvisibleVisible configuration for Shader Effect Source.propertyShow 14 shared item properties
enabledopacityscalerotationzfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction
Events
Subscribe with on widget, :event and keep behavior in Ruby.
↗
updateNative event payload