zui docs v0.0.5
GitHub ↗
Buttons and input Native Qt

Action Group

Action Group is a native Zui component in the buttons and input 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
select = action "Select", checkable: true, checked: true
move = action "Move", checkable: true

action_group [select, move], checked: select, exclusive: true
API

Component properties

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

action_idsAction ids configuration for Action Group.property
exclusiveExclusive configuration for Action Group.property
enabledEnabled configuration for Action Group.property
checked_actionChecked action configuration for Action Group.property
visibleVisible configuration for Action Group.property
Show 15 shared item properties
opacityscalerotationzwidthheightfill_widthfill_heightpreferred_widthpreferred_heightminimum_widthminimum_heightmaximum_widthmaximum_heightlayout_alignment
Interaction

Events

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

triggerNative event payload
changeNative event payload
actions_changeNative event payload