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.
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.propertyfile_nameFile name configuration for Settings.propertyvaluesValues configuration for Settings.propertysync_revisionSync revision configuration for Settings.propertyvisibleVisible configuration for Settings.propertyShow 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