XdgPopupV6 QML Type
XdgPopupV6 represents the popup specific parts of and xdg surface. More...
|Import Statement:||import QtWayland.Compositor 1.15|
- anchorEdges : enumeration
- anchorRect : rect
- configuredGeometry : rect
- flipConstraints : enumeration
- gravityEdges : rect
- offset : point
- parentXdgSurface : XdgSurfaceV6
- positionerSize : size
- resizeConstraints : enumeration
- slideConstraints : enumeration
- unconstrainedPosition : point
- xdgSurface : XdgSurfaceV6
- int sendConfigure(rect geometry)
- void sendPopupDone()
This type is part of the XdgShellV6 extension and provides a way to extend extend the functionality of an XdgSurfaceV6 with features specific to desktop-style menus for an xdg surface.
It corresponds to the Wayland interface
anchorEdges : enumeration
This property holds the set of edges on the anchor rect that the child surface should be placed relative to. If no edges are specified in a direction, the anchor point should be centered between the edges.
The possible values are:
|The top edge of the rectangle.|
|The left edge of the rectangle.|
|The right edge of the rectangle.|
|The bottom edge of the rectangle.|
anchorRect : rect
The anchor rectangle relative to the parent window geometry that the child surface should be placed relative to.
configuredGeometry : rect
The window geometry the popup received in the configure event. Relative to the upper left corner of the parent surface.
flipConstraints : enumeration
This property holds the orientations in which the child should flip to fit within the screen.
gravityEdges : rect
Specifies in what direction the surface should be positioned, relative to the anchor point.
The possible values are:
|The surface should slide towards the top of the screen.|
|The surface should slide towards the left of the screen.|
|The surface should slide towards the right of the screen.|
|The surface should slide towards the bottom of the screen.|
offset : point
The position relative to the position of the anchor on the anchor rectangle and the anchor on the surface.
parentXdgSurface : XdgSurfaceV6
This property holds the XdgSurfaceV6 associated with the parent of this XdgPopupV6.
positionerSize : size
The size requested for the window geometry by the positioner object.
resizeConstraints : enumeration
This property holds the orientations in which the child should resize to fit within the screen.
slideConstraints : enumeration
This property holds the orientations in which the child should slide to fit within the screen.
unconstrainedPosition : point
The position of the surface relative to the parent window geometry if the surface is not constrained. I.e. when not moved to fit inside the screen or similar.
xdgSurface : XdgSurfaceV6
This property holds the XdgSurfaceV6 associated with this XdgPopupV6.
Sends a configure event to the client. geometry contains the window geometry relative to the upper left corner of the window geometry of the parent surface.
This implicitly sends a configure event to the corresponding XdgSurfaceV6 as well.
Dismiss the popup. According to the
xdg-shell-unstable-v6 protocol this should make the client destroy the popup.
This method was introduced in Qt 5.14.
© 2023 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.