QWaylandIviSurface Class
The QWaylandIviSurface class provides a simple way to identify and resize a surface. 更多...
头文件: | #include <QWaylandIviSurface> |
qmake: | QT += waylandcompositor |
开始支持版本: | Qt 5.8 |
基类: | QWaylandShellSurfaceTemplate |
属性
- 1 个属性继承自 QWaylandShellSurface
公有函数
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 |
- 1 个公有函数继承自 QWaylandShellSurface
- 4 个公有函数继承自 QWaylandCompositorExtension
- 5 个公有函数继承自 QWaylandObject
信号
void | iviIdChanged() |
void | surfaceChanged() |
- 1 个信号继承自 QWaylandShellSurface
静态公有成员
QByteArray | interfaceName() |
QWaylandSurfaceRole * | role() |
其他继承的成员
- 1 个受保护的函数继承自 QWaylandCompositorExtension
详细描述
The QWaylandIviSurface class provides a simple way to identify and resize a surface.
This class is part of the QWaylandIviApplication extension and provides a way to extend the functionality of an existing QWaylandSurface with features a way to resize and identify it.
It corresponds to the Wayland interface ivi_surface.
属性
iviId : const uint
This property holds the ivi id of this QWaylandIviSurface.
访问函数:
uint | iviId() const |
Notifier signal:
void | iviIdChanged() |
surface : QWaylandSurface * const
This property holds the surface associated with this QWaylandIviSurface.
访问函数:
QWaylandSurface * | surface() const |
Notifier signal:
void | surfaceChanged() |
成员函数
QWaylandIviSurface::QWaylandIviSurface()
Constructs a QWaylandIviSurface.
QWaylandIviSurface::QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
Constructs a QWaylandIviSurface for surface and initializes it with the given application, surface, iviId, and resource.
void QWaylandIviSurface::initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource)
Initializes the QWaylandIviSurface, associating it with the given iviApplication, surface, iviId, and resource.
[static]
QByteArray QWaylandIviSurface::interfaceName()
[static]
QWaylandSurfaceRole *QWaylandIviSurface::role()
Returns the surface role for the QWaylandIviSurface.
void QWaylandIviSurface::sendConfigure(const QSize &size)
Sends a configure event to the client, telling it to resize the surface to the given size.