EPopover Popover
Examples
Popover
Properties
alignmentstringAlignment of the popup relative to its target.
"start" / "center""end"
"center"autoCloseintDelay, throttling or automatic close time in milliseconds; 0 means no delay or no timed close.
0closePolicyenumAutomatic popup closing conditions; flags can be combined.
Popup.* (combine with |)
NoAutoClose
CloseOnPressOutside
CloseOnPressOutsideParent
CloseOnReleaseOutside
CloseOnReleaseOutsideParent
CloseOnEscape
Popup.CloseOnEscape | Popup.CloseOnPressOutsideParentcontentaliasContent slot; declare QML child objects directly inside the component.
Alias: customContent.datacontentComponentComponentComponent slot for custom body content; null uses the default content. See this page’s examples for delegate context.
nulleffectstringVisual theme of the popup.
"light" / "dark"
"light"enabledboolAllow interaction; false disables the control.
trueenterableboolKeep the popup open while the pointer enters it.
truefallbackPlacementsvarAlternative popup placements when the preferred position lacks space.
[]focusboolWhether the popup requests focus.
trueheightrealComponent size in pixels; may be bound to its parent layout.
implicitHeighthideAfterintDelay, throttling or automatic close time in milliseconds; 0 means no delay or no timed close.
120modalboolUse a modal popup that blocks interaction with underlying content.
falseoffsetrealOffset relative to layout, scroll target or popup reference, in pixels.
8persistentboolKeep popup content instantiated after closing.
trueplacementintDisplay position of the popup or message.
EPlacement.TopLeftEPlacement.TopEPlacement.TopRightEPlacement.LeftEPlacement.RightEPlacement.BottomLeftEPlacement.BottomEPlacement.BottomRight
EPlacement.BottomrawContentboolInterpret content as rich text; enable only for trusted content.
falsereferenceItemVisual item used as the popup reference.
nullshowAfterintDelay, throttling or automatic close time in milliseconds; 0 means no delay or no timed close.
0showArrowboolShow the popup or tour arrow.
falsetextstringDisplayed text.
""titlestringTitle text.
""triggerstringInteraction that opens the popup.
"click" / "hover""focus" / "contextmenu""manual"
"click"triggerKeysvarArray of Qt key codes that trigger the action; an empty array disables keyboard triggering.
[Qt.Key_Return, Qt.Key_Enter, Qt.Key_Space]visibleboolWhether the component is visible.
truewidthrealComponent size in pixels; may be bound to its parent layout.
implicitWidtheffectivePlacementintRead onlyActual popup placement after geometry or step configuration.
EPlacement.TopLeftEPlacement.TopEPlacement.TopRightEPlacement.LeftEPlacement.RightEPlacement.BottomLeftEPlacement.BottomEPlacement.BottomRight
Computed at runtimeloadedContentaliasRead onlyActual content item instantiated from a Component.
Alias: contentLoader.itempopperRefaliasRead onlyReference to the internal menu, popup or tooltip.
Alias: controlreferenceEnabledboolRead onlyWhether the popup reference is available, enabled or visible.
Computed at runtimereferenceHeightrealRead onlyActual dimensions of the popup reference.
Computed at runtimereferenceHoveredboolRead onlyWhether the reference item is hovered.
Computed at runtimereferenceVisibleboolRead onlyWhether the popup reference is available, enabled or visible.
Computed at runtimereferenceWidthrealRead onlyActual dimensions of the popup reference.
Computed at runtimeMethods
hide()Hide the popup content.
toggle()Toggle the expanded or selected state; pass the target identifier when required.
show()Show the popup content.