zui docs v0.0.5
GitHub ↗
Buttons and input Native Qt

Range Slider

Range Slider is a native Zui component in the buttons and input catalog, with 14 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.

Ruby
range_slider 20, 80, minimum: 0, maximum: 100, step: 5, live: true
API

Component properties

14 component-specific values, plus shared item and layout properties.

lowerLower configuration for Range Slider.property
upperUpper configuration for Range Slider.property
minimumMinimum configuration for Range Slider.property
maximumMaximum configuration for Range Slider.property
stepStep configuration for Range Slider.property
orientationOrientation configuration for Range Slider.property
snapSnap configuration for Range Slider.property
liveLive configuration for Range Slider.property
widthWidth configuration for Range Slider.property
heightHeight configuration for Range Slider.property
foregroundForeground configuration for Range Slider.property
backgroundBackground configuration for Range Slider.property
accentAccent configuration for Range Slider.property
visibleVisible configuration for Range Slider.property
Show 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.

inputNative event payload
changeNative event payload