QWaylandWlShell Class
The QWaylandWlShell class is an extension for desktop-style user interfaces. More...
Header: | #include <QWaylandWlShell> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
Inherits: | QWaylandShellTemplate |
Public Functions
QWaylandWlShell() | |
QWaylandWlShell(QWaylandCompositor *compositor) | |
QList<QWaylandWlShellSurface *> | mappedPopups() const |
QWaylandClient * | popupClient() const |
QList<QWaylandWlShellSurface *> | shellSurfaces() const |
QList<QWaylandWlShellSurface *> | shellSurfacesForClient(QWaylandClient *client) const |
Reimplemented Public Functions
virtual void | initialize() |
- 2 public functions inherited from QWaylandShell
- 4 public functions inherited from QWaylandCompositorExtension
- 5 public functions inherited from QWaylandObject
- 31 public functions inherited from QObject
Public Slots
void | closeAllPopups() |
- 1 public slot inherited from QObject
Signals
void | wlShellSurfaceCreated(QWaylandWlShellSurface *shellSurface) |
void | wlShellSurfaceRequested(QWaylandSurface *surface, const QWaylandResource &resource) |
- 1 signal inherited from QWaylandShell
- 2 signals inherited from QObject
Additional Inherited Members
- 1 property inherited from QWaylandShell
- 1 property inherited from QObject
- 11 static public members inherited from QObject
- 1 protected function inherited from QWaylandCompositorExtension
- 9 protected functions inherited from QObject
Detailed Description
The QWaylandWlShell class is an extension for desktop-style user interfaces.
The QWaylandWlShell extension provides a way to assiociate a QWaylandWlShellSurface with a regular Wayland surface. Using the shell surface interface, the client can request that the surface is resized, moved, and so on.
WlShell corresponds to the Wayland interface wl_shell
.
Member Function Documentation
QWaylandWlShell::QWaylandWlShell()
Constructs a QWaylandWlShell object.
QWaylandWlShell::QWaylandWlShell(QWaylandCompositor *compositor)
Constructs a QWaylandWlShell object for the provided compositor.
[slot]
void QWaylandWlShell::closeAllPopups()
[virtual]
void QWaylandWlShell::initialize()
Initializes the WlShell extension.
QList<QWaylandWlShellSurface *> QWaylandWlShell::mappedPopups() const
QWaylandClient *QWaylandWlShell::popupClient() const
QList<QWaylandWlShellSurface *> QWaylandWlShell::shellSurfaces() const
QList<QWaylandWlShellSurface *> QWaylandWlShell::shellSurfacesForClient(QWaylandClient *client) const
[signal]
void QWaylandWlShell::wlShellSurfaceCreated(QWaylandWlShellSurface *shellSurface)
[signal]
void QWaylandWlShell::wlShellSurfaceRequested(QWaylandSurface *surface, const QWaylandResource &resource)
Constructs a QWaylandSurface, assigns it to surface and initializes it with the given resource.
© 2017 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.