zui docs v0.0.5
GitHub ↗
Navigation and structure Native Qt

Page Indicator

Page Indicator is a native Zui component in the navigation and structure catalog, with 13 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
page_indicator 5, current_index: 2, interactive: true, dot_size: 8
API

Component properties

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

countCount configuration for Page Indicator.property
current_indexCurrent index configuration for Page Indicator.property
interactiveInteractive configuration for Page Indicator.property
spacingSpacing configuration for Page Indicator.property
dot_sizeDot size configuration for Page Indicator.property
widthWidth configuration for Page Indicator.property
heightHeight configuration for Page Indicator.property
enabledEnabled configuration for Page Indicator.property
backgroundBackground configuration for Page Indicator.property
foregroundForeground configuration for Page Indicator.property
accentAccent configuration for Page Indicator.property
radiusRadius configuration for Page Indicator.property
visibleVisible configuration for Page Indicator.property
Show 13 shared item properties
opacityscalerotationzfill_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
showNative event payload
hideNative event payload
focusNative event payload
blurNative event payload