QWaylandXdgPopupV6 Class
The QWaylandXdgPopupV6 class represents the popup specific parts of an xdg surface More...
Header: | #include <QWaylandXdgPopupV6> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.10 |
Properties
|
|
Public Functions
Qt::Edges | anchorEdges() const |
QRect | anchorRect() const |
QRect | configuredGeometry() const |
Qt::Orientations | flipConstraints() const |
Qt::Edges | gravityEdges() const |
QPoint | offset() const |
QWaylandXdgSurfaceV6 * | parentXdgSurface() const |
QSize | positionerSize() const |
Qt::Orientations | resizeConstraints() const |
uint | sendConfigure(const QRect &geometry) |
Qt::Orientations | slideConstraints() const |
QPoint | unconstrainedPosition() const |
QWaylandXdgSurfaceV6 * | xdgSurface() const |
Signals
void | configuredGeometryChanged() |
Static Public Members
QWaylandSurfaceRole * | role() |
Detailed Description
The QWaylandXdgPopupV6 class represents the popup specific parts of an xdg surface
This class is part of the QWaylandXdgShellV6 extension and provides a way to extend the functionality of a QWaylandXdgSurfaceV6 with features specific to desktop-style menus for an xdg surface.
It corresponds to the Wayland interface zxdg_popup_v6
.
Property Documentation
anchorEdges : const Qt::Edges
Returns 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.
Access functions:
Qt::Edges | anchorEdges() const |
anchorRect : const QRect
Returns the anchor rectangle relative to the parent window geometry that the child surface should be placed relative to.
Access functions:
QRect | anchorRect() const |
configuredGeometry : const QRect
The window geometry the popup received in the configure event. Relative to the upper left corner of the parent surface.
Access functions:
QRect | configuredGeometry() const |
Notifier signal:
void | configuredGeometryChanged() |
flipConstraints : const Qt::Orientations
Access functions:
Qt::Orientations | flipConstraints() const |
gravityEdges : const Qt::Edges
Specifies in what direction the surface should be positioned, relative to the anchor point.
Access functions:
Qt::Edges | gravityEdges() const |
offset : const QPoint
Access functions:
QPoint | offset() const |
parentXdgSurface : QWaylandXdgSurfaceV6 * const
This property holds the QWaylandXdgSurfaceV6 associated with the parent of this QWaylandXdgPopupV6.
Access functions:
QWaylandXdgSurfaceV6 * | parentXdgSurface() const |
positionerSize : const QSize
Access functions:
QSize | positionerSize() const |
resizeConstraints : const Qt::Orientations
Access functions:
Qt::Orientations | resizeConstraints() const |
slideConstraints : const Qt::Orientations
Access functions:
Qt::Orientations | slideConstraints() const |
unconstrainedPosition : const QPoint
Access functions:
QPoint | unconstrainedPosition() const |
xdgSurface : QWaylandXdgSurfaceV6 * const
This property holds the QWaylandXdgSurfaceV6 associated with this QWaylandXdgPopupV6.
Access functions:
QWaylandXdgSurfaceV6 * | xdgSurface() const |
Member Function Documentation
[static]
QWaylandSurfaceRole *QWaylandXdgPopupV6::role()
Returns the surface role for the QWaylandPopupV6.
uint QWaylandXdgPopupV6::sendConfigure(const QRect &geometry)
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 QWaylandXdgSurfaceV6 as well.