QWaylandXdgPopup Class
The QWaylandXdgPopup class provides menus for an xdg surface More...
Header: | #include <QWaylandXdgPopup> |
qmake: | QT += waylandcompositor |
Inherits: | QWaylandCompositorExtensionTemplate<QWaylandXdgPopup> |
This class is under development and is subject to change.
Properties
- parentSurface : QWaylandSurface * const
- surface : QWaylandSurface * const
Public Functions
QWaylandXdgPopup() | |
QWaylandXdgPopup(QWaylandXdgShell *xdgShell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource) | |
void | initialize(QWaylandXdgShell *shell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource) |
QWaylandSurface * | parentSurface() const |
void | sendPopupDone() |
QWaylandSurface * | surface() const |
- 4 public functions inherited from QWaylandCompositorExtension
- 5 public functions inherited from QWaylandObject
Signals
void | parentSurfaceChanged() |
void | surfaceChanged() |
Static Public Members
QByteArray | interfaceName() |
QWaylandSurfaceRole * | role() |
Additional Inherited Members
- 1 protected function inherited from QWaylandCompositorExtension
Detailed Description
The QWaylandXdgPopup class provides menus for an xdg surface
The QWaylandXdbPopup class is part of the QWaylandXdgShell extension and provides a way to extend the functionality of an existing QWaylandSurface with features specific to desktop-style menus for an xdg surface.
It corresponds to the Wayland interface xdg_popup
.
Property Documentation
parentSurface : QWaylandSurface * const
This property holds the surface associated with the parent of this QWaylandXdgPopup.
Access functions:
QWaylandSurface * | parentSurface() const |
Notifier signal:
void | parentSurfaceChanged() |
surface : QWaylandSurface * const
This property holds the surface associated with this QWaylandXdgPopup.
Access functions:
QWaylandSurface * | surface() const |
Notifier signal:
void | surfaceChanged() |
Member Function Documentation
QWaylandXdgPopup::QWaylandXdgPopup()
Constructs a QWaylandXdgPopup.
QWaylandXdgPopup::QWaylandXdgPopup(QWaylandXdgShell *xdgShell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource)
Constructs a QWaylandXdgPopup for surface and initializes it with the given parentSurface and resource.
void QWaylandXdgPopup::initialize(QWaylandXdgShell *shell, QWaylandSurface *surface, QWaylandSurface *parentSurface, const QWaylandResource &resource)
Initializes the QWaylandXdgPopup and associates it with the given shell surface, parentSurface, and resource.
[static]
QByteArray QWaylandXdgPopup::interfaceName()
[static]
QWaylandSurfaceRole *QWaylandXdgPopup::role()
Returns the surface role for the QWaylandXdgPopup.