QWaylandWlShell Class

The QWaylandWlShell class is an extension for desktop-style user interfaces. 更多...

头文件: #include <QWaylandWlShell>
qmake: QT += waylandcompositor
开始支持版本: Qt 5.8
基类: QWaylandShellTemplate

公有函数

QWaylandWlShell()
QWaylandWlShell(QWaylandCompositor *compositor)
QList<QWaylandWlShellSurface *> mappedPopups() const
QWaylandClient *popupClient() const
QList<QWaylandWlShellSurface *> shellSurfaces() const
QList<QWaylandWlShellSurface *> shellSurfacesForClient(QWaylandClient *client) const

重新实现的公有函数

virtual void initialize() override

公有槽函数

信号

void wlShellSurfaceCreated(QWaylandWlShellSurface *shellSurface)
void wlShellSurfaceRequested(QWaylandSurface *surface, const QWaylandResource &resource)

其他继承的成员

详细描述

The QWaylandWlShell class is an extension for desktop-style user interfaces.

The QWaylandWlShell extension provides a way to associate 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.

成员函数

QWaylandWlShell::QWaylandWlShell()

Constructs a QWaylandWlShell object.

QWaylandWlShell::QWaylandWlShell(QWaylandCompositor *compositor)

Constructs a QWaylandWlShell object for the provided compositor.

[slot] void QWaylandWlShell::closeAllPopups()

[override 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.