Models and utilities
Native Qt
Delegate Model
Delegate Model is a native Zui component in the models and utilities catalog, with 4 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.
delegate_model [{ id: 1, name: "Inbox", group: :active }, { id: 2, name: "Archive", group: :done }], filter_group: :active, revision: 1
API
Component properties
4 component-specific values, plus shared item and layout properties.
itemsItems configuration for Delegate Model.propertyfilter_groupFilter group configuration for Delegate Model.propertyrevisionRevision configuration for Delegate Model.propertyvisibleVisible configuration for Delegate 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↗
group_changeNative event payload↗
changeNative event payload