The QWaylandIviApplication class is an extension for embedded-style user interfaces. 更多...
头: | #include <QWaylandIviApplication> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
继承: | QWaylandCompositorExtensionTemplate |
QWaylandIviApplication () | |
QWaylandIviApplication (QWaylandCompositor * compositor ) |
virtual void | initialize () override |
void | iviSurfaceCreated (QWaylandIviSurface * iviSurface ) |
void | iviSurfaceRequested (QWaylandSurface * surface , uint iviId , const QWaylandResource & resource ) |
QByteArray | interfaceName () |
The QWaylandIviApplication class is an extension for embedded-style user interfaces.
The QWaylandIviApplication extension provides a way to associate an QWaylandIviSurface 与常规 Waylnd 表面。使用 QWaylandIviSurface 接口,客户端可以通过给出的 ivi ID 标识自身,且合成器可以要求客户端重置尺寸。
QWaylandIviApplication
corresponds to the Wayland
ivi_application
接口。
构造 QWaylandIviApplication 对象。
构造 QWaylandIviApplication object for the provided compositor .
[override virtual]
void
QWaylandIviApplication::
initialize
()
初始化 Shell 扩展。
[static]
QByteArray
QWaylandIviApplication::
interfaceName
()
[signal]
void
QWaylandIviApplication::
iviSurfaceCreated
(
QWaylandIviSurface
*
iviSurface
)
此信号被发射当 IviSurface , iviSurface ,已被创建。
[signal]
void
QWaylandIviApplication::
iviSurfaceRequested
(
QWaylandSurface
*
surface
,
uint
iviId
, const
QWaylandResource
&
resource
)
This signal is emitted when the client has requested an
ivi_surface
to be associated with
surface
, which is identified by
id
. The handler for this signal is expected to create the ivi surface and initialize it within the scope of the signal emission. If no ivi surface is created, a default one will be created instead.