QWaylandXdgSurfaceV6 Class
The QWaylandXdgSurfaceV6 class provides desktop-style compositor-specific features to an xdg surface. More...
Header: | #include <QWaylandXdgSurfaceV6> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
Inherits: | QWaylandShellSurfaceTemplate |
Properties
|
- 1 property inherited from QWaylandShellSurface
Public Functions
QWaylandXdgSurfaceV6() | |
QWaylandXdgSurfaceV6(QWaylandXdgShellV6 *xdgShell, QWaylandSurface *surface, const QWaylandResource &res) | |
void | initialize(QWaylandXdgShellV6 *xdgShell, QWaylandSurface *surface, const QWaylandResource &resource) |
QWaylandXdgPopupV6 * | popup() const |
QWaylandXdgShellV6 * | shell() const |
QWaylandSurface * | surface() const |
QWaylandXdgToplevelV6 * | toplevel() const |
QRect | windowGeometry() const |
Reimplemented Public Functions
virtual Qt::WindowType | windowType() const override |
- 1 public function inherited from QWaylandShellSurface
- 4 public functions inherited from QWaylandCompositorExtension
- 5 public functions inherited from QWaylandObject
Signals
void | popupCreated() |
void | shellChanged() |
void | surfaceChanged() |
void | toplevelCreated() |
void | windowGeometryChanged() |
- 1 signal inherited from QWaylandShellSurface
Additional Inherited Members
- 1 protected function inherited from QWaylandCompositorExtension
Detailed Description
The QWaylandXdgSurfaceV6 class provides desktop-style compositor-specific features to an xdg surface.
This class is part of the QWaylandXdgShellV6 extension and provides a way to extend the functionality of an existing QWaylandSurface with features specific to desktop-style compositors, such as resizing and moving the surface.
It corresponds to the Wayland interface zxdg_surface_v6
.
Property Documentation
popup : QWaylandXdgPopupV6 * const
Access functions:
QWaylandXdgPopupV6 * | popup() const |
Notifier signal:
void | popupCreated() |
shell : QWaylandXdgShellV6 * const
This property holds the shell associated with this QWaylandXdgSurfaceV6.
Access functions:
QWaylandXdgShellV6 * | shell() const |
Notifier signal:
void | shellChanged() |
surface : QWaylandSurface * const
This property holds the surface associated with this QWaylandXdgSurfaceV6.
Access functions:
QWaylandSurface * | surface() const |
Notifier signal:
void | surfaceChanged() |
toplevel : QWaylandXdgToplevelV6 * const
Access functions:
QWaylandXdgToplevelV6 * | toplevel() const |
Notifier signal:
void | toplevelCreated() |
windowGeometry : const QRect
This property holds the window geometry of the QWaylandXdgSurfaceV6. The window geometry describes the window's visible bounds from the user's perspective. The geometry includes title bars and borders if drawn by the client, but excludes drop shadows. It is meant to be used for aligning and tiling windows.
Access functions:
QRect | windowGeometry() const |
Notifier signal:
void | windowGeometryChanged() |
Member Function Documentation
QWaylandXdgSurfaceV6::QWaylandXdgSurfaceV6()
Constructs a QWaylandXdgSurfaceV6.
QWaylandXdgSurfaceV6::QWaylandXdgSurfaceV6(QWaylandXdgShellV6 *xdgShell, QWaylandSurface *surface, const QWaylandResource &res)
Constructs a QWaylandXdgSurfaceV6 for surface and initializes it with the given xdgShell, surface, and resource res.
void QWaylandXdgSurfaceV6::initialize(QWaylandXdgShellV6 *xdgShell, QWaylandSurface *surface, const QWaylandResource &resource)
Initializes the QWaylandXdgSurfaceV6, associating it with the given xdgShell, surface and resource.