Data and collections
Native Qt
Tree View Delegate
Tree View Delegate is a native Zui component in the data and collections catalog, with 21 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.
tree_view_delegate "components", depth: 1, expanded: true, has_children: true
API
Component properties
21 component-specific values, plus shared item and layout properties.
textText configuration for Tree View Delegate.propertyvalueValue configuration for Tree View Delegate.propertyrowRow configuration for Tree View Delegate.propertycolumnColumn configuration for Tree View Delegate.propertydepthDepth configuration for Tree View Delegate.propertyexpandedExpanded configuration for Tree View Delegate.propertyhas_childrenHas children configuration for Tree View Delegate.propertycurrentCurrent configuration for Tree View Delegate.propertyselectedSelected configuration for Tree View Delegate.propertyenabledEnabled configuration for Tree View Delegate.propertywidthWidth configuration for Tree View Delegate.propertyheightHeight configuration for Tree View Delegate.propertyindentationIndentation configuration for Tree View Delegate.propertybackgroundBackground configuration for Tree View Delegate.propertyselected_backgroundSelected background configuration for Tree View Delegate.propertyforegroundForeground configuration for Tree View Delegate.propertyselected_foregroundSelected foreground configuration for Tree View Delegate.propertyborder_colorBorder color configuration for Tree View Delegate.propertyfont_familyFont family configuration for Tree View Delegate.propertyfont_sizeFont size configuration for Tree View Delegate.propertyvisibleVisible configuration for Tree View Delegate.propertyShow 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.
↗
clickNative event payload↗
double_clickNative event payload↗
activateNative event payload↗
expandNative event payload↗
collapseNative event payload