zui docs v0.0.5
GitHub ↗
Models and utilities Native Qt

Settings

Settings is a native Zui component in the models and utilities catalog, with 5 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
settings({ theme: "dark", density: "comfortable" }, category: "appearance", file_name: "zui.conf", sync_revision: 1)
API

Component properties

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

categoryCategory configuration for Settings.property
file_nameFile name configuration for Settings.property
valuesValues configuration for Settings.property
sync_revisionSync revision configuration for Settings.property
visibleVisible configuration for Settings.property
Show 16 shared item properties
enabledopacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

Subscribe with on widget, :event and keep behavior in Ruby.

loadedNative event payload
changeNative event payload
syncedNative event payload
errorNative event payload