QWaylandXdgShellV5 Class
The QWaylandXdgShellV5 class is an extension for desktop-style user interfaces. 更多...
头文件: | #include <QWaylandXdgShellV5> |
qmake: | QT += waylandcompositor |
开始支持版本: | Qt 5.8 |
基类: | QWaylandShellTemplate |
公有函数
QWaylandXdgShellV5() | |
QWaylandXdgShellV5(QWaylandCompositor *compositor) | |
QWaylandClient * | popupClient() const |
重新实现的公有函数
virtual void | initialize() override |
- 2 个公有函数继承自 QWaylandShell
- 4 个公有函数继承自 QWaylandCompositorExtension
- 5 个公有函数继承自 QWaylandObject
公有槽函数
void | closeAllPopups() |
uint | ping(QWaylandClient *client) |
信号
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) |
- 1 个信号继承自 QWaylandShell
静态公有成员
QByteArray | interfaceName() |
其他继承的成员
- 1 个属性继承自 QWaylandShell
- 1 个受保护的函数继承自 QWaylandCompositorExtension
详细描述
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
.
成员函数
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]
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.