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.
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.propertyexclusiveExclusive configuration for Action Group.propertyenabledEnabled configuration for Action Group.propertychecked_actionChecked action configuration for Action Group.propertyvisibleVisible configuration for Action Group.propertyShow 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