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
- 31 public functions inherited from QObject
Public Slots
void | closeAllPopups() |
uint | ping(QWaylandClient *client) |
- 1 public slot inherited from QObject
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) |
- 2 signals inherited from QObject
Static Public Members
QByteArray | interfaceName() |
- 11 static public members inherited from QObject
Additional Inherited Members
- 1 property inherited from QObject
- 1 protected function inherited from QWaylandCompositorExtension
- 9 protected functions inherited from QObject
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.
[signal]
void QWaylandXdgShell::pong(uint serial)
[signal]
void QWaylandXdgShell::xdgPopupCreated(QWaylandXdgPopup *xdgPopup)
[signal]
void QWaylandXdgShell::xdgSurfaceCreated(QWaylandXdgSurface *xdgSurface)
© 2016 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.