Models and utilities
Native Qt
List Model
List Model is a native Zui component in the models and utilities catalog, with 3 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.
list_model [{ id: 1, name: "Ruby" }, { id: 2, name: "Qt" }], revision: 1
API
Component properties
3 component-specific values, plus shared item and layout properties.
itemsItems configuration for List Model.propertyrevisionRevision configuration for List Model.propertyvisibleVisible configuration for List Model.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.
↗
count_changeNative event payload↗
changeNative event payload