QWaylandXdgShellV5 Class
The QWaylandXdgShellV5 class is an extension for desktop-style user interfaces. More...
| Header: | #include <QWaylandXdgShellV5> |
| qmake: | QT += waylandcompositor |
| Since: | Qt 5.8 |
| Inherits: | QWaylandShellTemplate |
This class is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.
Public Functions
| QWaylandXdgShellV5() | |
| QWaylandXdgShellV5(QWaylandCompositor *compositor) | |
| QWaylandClient * | popupClient() const |
Reimplemented Public Functions
| virtual void | initialize() override |
- 31 public functions inherited from QObject
Public Slots
| void | closeAllPopups() |
| uint | ping(QWaylandClient *client) |
- 1 public slot inherited from QObject
Signals
| void | pong(uint serial) |
| void | xdgPopupCreated(QWaylandXdgPopupV5 *xdgPopup) |
| void | xdgPopupRequested(QWaylandSurface *surface, QWaylandSurface *parent, QWaylandSeat *seat, const QPoint &position, const QWaylandResource &resource) |
| void | xdgSurfaceCreated(QWaylandXdgSurfaceV5 *xdgSurface) |
| void | xdgSurfaceRequested(QWaylandSurface *surface, const QWaylandResource &resource) |
- 2 signals inherited from QObject
Static Public Members
| const struct wl_interface * | interface() |
| QByteArray | interfaceName() |
| const QMetaObject | staticMetaObject |
- 9 static public members inherited from QObject
Additional Inherited Members
Detailed Description
The QWaylandXdgShellV5 class is an extension for desktop-style user interfaces.
The QWaylandXdgShellV5 extension provides a way to associate a QWaylandXdgSurfaceV5 with a regular Wayland surface. Using the xdg_surface interface, the client can request that the surface is resized, moved, and so on.
QWaylandXdgShellV5 corresponds to the Wayland interface xdg_shell.
Member Function Documentation
QWaylandXdgShellV5::QWaylandXdgShellV5()
Constructs a QWaylandXdgShellV5 object.
QWaylandXdgShellV5::QWaylandXdgShellV5(QWaylandCompositor *compositor)
Constructs a QWaylandXdgShellV5 object for the provided compositor.
[slot] void QWaylandXdgShellV5::closeAllPopups()
[override virtual] void QWaylandXdgShellV5::initialize()
Initializes the shell extension.
[static] const struct wl_interface *QWaylandXdgShellV5::interface()
Returns the Wayland interface for the QWaylandXdgShellV5.
[static] QByteArray QWaylandXdgShellV5::interfaceName()
[slot] uint QWaylandXdgShellV5::ping(QWaylandClient *client)
Sends a ping event to the client. If the client replies to the event, the pong signal will be emitted.