Drawing and interaction
Container
Native Qt
Hover Area
Hover Area is a native Zui container in the drawing and interaction catalog, with 7 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.
hover_area cursor: :pointing_hand, width: 320, height: 120 do
card { label "Hover for details" }
end
API
Component properties
7 component-specific values, plus shared item and layout properties.
enabledEnabled configuration for Hover Area.propertycursorCursor configuration for Hover Area.propertyblockingBlocking configuration for Hover Area.propertymarginMargin configuration for Hover Area.propertywidthWidth configuration for Hover Area.propertyheightHeight configuration for Hover Area.propertyvisibleVisible configuration for Hover Area.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.
↗
enterNative event payload↗
moveNative event payload↗
exitNative event payload↗
hoverNative event payload