QWaylandXdgPopupV5 Class
The QWaylandXdgPopupV5 class provides menus for an xdg surface. More...
| Header: | #include <QWaylandXdgPopupV5> |
| qmake: | QT += waylandcompositor |
| Since: | Qt 5.8 |
| Inherits: | QWaylandShellSurfaceTemplate |
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
This class was introduced in Qt 5.8.
Properties
- parentSurface : QWaylandSurface* const
- position : const QPoint
- shell : QWaylandXdgShellV5* const
- surface : QWaylandSurface* const
Public Functions
| QWaylandSurface * | parentSurface() const |
| QPoint | position() const |
| QWaylandXdgShellV5 * | shell() const |
| QWaylandSurface * | surface() const |
Signals
| void | parentSurfaceChanged() |
| void | positionChanged() |
| void | shellChanged() |
| void | surfaceChanged() |
Detailed Description
This class is part of the QWaylandXdgShellV5 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 QWaylandXdgPopupV5.
Access functions:
| QWaylandSurface * | parentSurface() const |
Notifier signal:
| void | parentSurfaceChanged() |
position : const QPoint
This property holds the location of the upper left corner of the surface relative to the upper left corner of the parent surface, in surface local coordinates.
Access functions:
| QPoint | position() const |
Notifier signal:
| void | positionChanged() |
shell : QWaylandXdgShellV5* const
This property holds the shell associated with this QWaylandXdgPopupV5.
Access functions:
| QWaylandXdgShellV5 * | shell() const |
Notifier signal:
| void | shellChanged() |
surface : QWaylandSurface* const
This property holds the surface associated with this QWaylandXdgPopupV5.
Access functions:
| QWaylandSurface * | surface() const |
Notifier signal:
| void | surfaceChanged() |