QWaylandXdgShell Class
Provides an extension for desktop-style user interfaces. More...
| Header: | #include <QWaylandXdgShell> |
| qmake: | QT += waylandcompositor |
| Inherits: | QWaylandCompositorExtensionTemplate<QWaylandXdgShell> |
This class is under development and is subject to change.
Public Functions
| QWaylandXdgShell() | |
| QWaylandXdgShell(QWaylandCompositor *compositor) |
Reimplemented Public Functions
| virtual void | initialize() |
- 4 public functions inherited from QWaylandCompositorExtension
- 5 public functions inherited from QWaylandObject
Public Slots
| void | closeAllPopups() |
| uint | ping(QWaylandClient *client) |
Signals
| void | createXdgPopup(QWaylandSurface *surface, QWaylandSurface *parent, QWaylandInputDevice *seat, const QPoint &position, const QWaylandResource &resource) |
| void | createXdgSurface(QWaylandSurface *surface, const QWaylandResource &resource) |
| void | pong(uint serial) |
| void | xdgPopupCreated(QWaylandXdgPopup *xdgPopup) |
| void | xdgSurfaceCreated(QWaylandXdgSurface *xdgSurface) |
Static Public Members
| QByteArray | interfaceName() |
Additional Inherited Members
- 1 protected function inherited from QWaylandCompositorExtension
Detailed Description
Provides an extension for desktop-style user interfaces.
The QWaylandXdgShell extension provides desktop functionality such as minimize, maximize, and resize using the xdg-shell protocol. It creates an QWaylandXdgSurface for each Wayland surface.
Member Function Documentation
QWaylandXdgShell::QWaylandXdgShell()
Constructs a QWaylandXdgShell object.
QWaylandXdgShell::QWaylandXdgShell(QWaylandCompositor *compositor)
Constructs a QWaylandXdgShell object for the provided compositor.
[slot] void QWaylandXdgShell::closeAllPopups()
[signal] void QWaylandXdgShell::createXdgPopup(QWaylandSurface *surface, QWaylandSurface *parent, QWaylandInputDevice *seat, const QPoint &position, const QWaylandResource &resource)
[signal] void QWaylandXdgShell::createXdgSurface(QWaylandSurface *surface, const QWaylandResource &resource)
[virtual] void QWaylandXdgShell::initialize()
Initializes the shell extension.
[static] QByteArray QWaylandXdgShell::interfaceName()
[slot] uint QWaylandXdgShell::ping(QWaylandClient *client)
Sends a ping event to the client. If the client replies to the event the pong signal will be emitted.