zui docs v0.0.5
GitHub ↗
Menus, dialogs, and feedback Native Qt

Message Dialog

Message Dialog is a native Zui component in the menus, dialogs, and feedback catalog, with 8 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
message_dialog "Build complete", "All checks passed.", opened: true, buttons: %i[ok]
API

Component properties

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

titleTitle configuration for Message Dialog.property
messageMessage configuration for Message Dialog.property
informative_textInformative text configuration for Message Dialog.property
detailed_textDetailed text configuration for Message Dialog.property
openedOpened configuration for Message Dialog.property
buttonsButtons configuration for Message Dialog.property
modalityModality configuration for Message Dialog.property
visibleVisible configuration for Message Dialog.property
Show 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.

buttonNative event payload
acceptNative event payload
rejectNative event payload
openNative event payload
closeNative event payload