The QWaylandXdgShellV6 class is an extension for desktop-style user interfaces. 更多...
头: | #include <QWaylandXdgShellV6> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.10 |
继承: | QWaylandShellTemplate |
该类已过时。 提供它是为使旧源代码能继续工作。强烈建议不要在新代码中使用它。
该类在 Qt 5.10 引入。
QWaylandXdgShellV6 (QWaylandCompositor * compositor ) | |
QWaylandXdgShellV6 () |
virtual void | initialize () override |
uint | ping (QWaylandClient * client ) |
void | pong (uint serial ) |
void | popupCreated (QWaylandXdgPopupV6 * popup , QWaylandXdgSurfaceV6 * xdgSurface ) |
void | toplevelCreated (QWaylandXdgToplevelV6 * toplevel , QWaylandXdgSurfaceV6 * xdgSurface ) |
void | xdgSurfaceCreated (QWaylandXdgSurfaceV6 * xdgSurface ) |
const struct wl_interface * | interface () |
The QWaylandXdgShellV6 extension provides a way to associate a QWaylandXdgToplevelV6 or QWaylandXdgPopupV6 与常规 Waylnd 表面。使用 QWaylandXdgToplevelV6 interface, the client can request that the surface is resized, moved, and so on.
QWaylandXdgShellV6 corresponds to the Wayland interface,
zxdg_shell_v6
.
Constructs a QWaylandXdgShellV6 object for the provided compositor .
Constructs a QWaylandXdgShellV6 object.
[slot]
uint
QWaylandXdgShellV6::
ping
(
QWaylandClient
*
client
)
Sends a ping event to client . If the client replies to the event the pong signal will be emitted.
[signal]
void
QWaylandXdgShellV6::
pong
(
uint
serial
)
This signal is emitted when the client has responded to a ping event with serial, serial .
另请参阅 QWaylandXdgShellV6::ping ().
[signal]
void
QWaylandXdgShellV6::
popupCreated
(
QWaylandXdgPopupV6
*
popup
,
QWaylandXdgSurfaceV6
*
xdgSurface
)
This signal is emitted when the client has created a
zxdg_popup_v6
. A common use case is to let the handler of this signal instantiate a QWaylandShellSurfaceItem or
QWaylandQuickItem
for displaying
popup
在
QtQuick
scene.
xdgSurface is the XdgSurfaceV6 popup is the role object for.
[signal]
void
QWaylandXdgShellV6::
toplevelCreated
(
QWaylandXdgToplevelV6
*
toplevel
,
QWaylandXdgSurfaceV6
*
xdgSurface
)
This signal is emitted when the client has created a
zxdg_toplevel_v6
. A common use case is to let the handler of this signal instantiate a QWaylandShellSurfaceItem or
QWaylandQuickItem
for displaying
toplevel
在
QtQuick
scene.
xdgSurface is the XdgSurfaceV6 toplevel is the role object for.
[signal]
void
QWaylandXdgShellV6::
xdgSurfaceCreated
(
QWaylandXdgSurfaceV6
*
xdgSurface
)
This signal is emitted when the client has created a
zxdg_surface_v6
。注意,
xdgSurface
is not mapped, i.e. according to the
xdg-shell
protocol it should not be displayed, until it has received a role object.
另请参阅 toplevelCreated () 和 popupCreated ().
[override virtual]
void
QWaylandXdgShellV6::
initialize
()
初始化 Shell 扩展。
[static]
const
struct
wl_interface
*QWaylandXdgShellV6::
interface
()
返回 Wayland 接口为 QWaylandXdgShellV6 .