The QWaylandIviSurface class provides a simple way to identify and resize a surface. 更多...
头: | #include <QWaylandIviSurface> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
继承: | QWaylandShellSurfaceTemplate |
QWaylandIviSurface () | |
QWaylandIviSurface (QWaylandIviApplication * application , QWaylandSurface * surface , uint iviId , const QWaylandResource & resource ) | |
void | initialize (QWaylandIviApplication * iviApplication , QWaylandSurface * surface , uint iviId , const QWaylandResource & resource ) |
uint | iviId () const |
void | sendConfigure (const QSize & size ) |
QWaylandSurface * | surface () const |
void | iviIdChanged () |
void | surfaceChanged () |
QByteArray | interfaceName () |
QWaylandSurfaceRole * | role () |
The QWaylandIviSurface class provides a simple way to identify and resize a surface.
此类属于 QWaylandIviApplication extension and provides a way to extend the functionality of an existing QWaylandSurface with a way to resize and identify it.
It corresponds to the Wayland
ivi_surface
接口。
This property holds the ivi id of this QWaylandIviSurface .
访问函数:
uint | iviId () const |
通知程序信号:
void | iviIdChanged () |
This property holds the surface associated with this QWaylandIviSurface .
访问函数:
QWaylandSurface * | surface () const |
通知程序信号:
void | surfaceChanged () |
构造 QWaylandIviSurface .
构造 QWaylandIviSurface for surface and initializes it with the given application , surface , iviId ,和 resource .
初始化 QWaylandIviSurface , associating it with the given iviApplication , surface , iviId ,和 resource .
[static]
QByteArray
QWaylandIviSurface::
interfaceName
()
[static]
QWaylandSurfaceRole
*QWaylandIviSurface::
role
()
Returns the surface role for the QWaylandIviSurface .
Sends a configure event to the client, telling it to resize the surface to the given size .