QWaylandIviSurface Class

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 )
QQmlListProperty<QObject> data ()
void initialize (QWaylandIviApplication * iviApplication , QWaylandSurface * surface , uint iviId , const QWaylandResource & resource )
uint iviId () const
void sendConfigure (const QSize & size )
QWaylandSurface * surface () const

重实现公共函数

virtual QWaylandQuickShellIntegration * createIntegration (QWaylandQuickShellSurfaceItem * item ) override

信号

void iviIdChanged ()
void surfaceChanged ()

静态公共成员

void appendFunction (QQmlListProperty<QObject> * list , QObject * object )
QObject * atFunction (QQmlListProperty<QObject> * list , int index )
void clearFunction (QQmlListProperty<QObject> * list )
int countFunction (QQmlListProperty<QObject> * list )
QWaylandIviSurface * fromResource (::wl_resource * resource )
const struct wl_interface * interface ()
QByteArray interfaceName ()
QWaylandSurfaceRole * role ()
const QMetaObject staticMetaObject

额外继承成员

详细描述

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 接口。

特性文档编制

iviId : const uint

This property holds the ivi id of this QWaylandIviSurface .

访问函数:

uint iviId () const

通知程序信号:

void iviIdChanged ()

surface : QWaylandSurface * const

This property holds the surface associated with this QWaylandIviSurface .

访问函数:

QWaylandSurface * surface () const

通知程序信号:

void surfaceChanged ()

成员函数文档编制

QWaylandIviSurface:: QWaylandIviSurface ()

构造 QWaylandIviSurface .

QWaylandIviSurface:: QWaylandIviSurface ( QWaylandIviApplication * application , QWaylandSurface * surface , uint iviId , const QWaylandResource & resource )

构造 QWaylandIviSurface for surface and initializes it with the given application , surface , iviId ,和 resource .

[static] void QWaylandIviSurface:: appendFunction ( QQmlListProperty < QObject > * list , QObject * object )

[static] QObject *QWaylandIviSurface:: atFunction ( QQmlListProperty < QObject > * list , int index )

[static] void QWaylandIviSurface:: clearFunction ( QQmlListProperty < QObject > * list )

[static] int QWaylandIviSurface:: countFunction ( QQmlListProperty < QObject > * list )

[override virtual] QWaylandQuickShellIntegration *QWaylandIviSurface:: createIntegration ( QWaylandQuickShellSurfaceItem * item )

QQmlListProperty < QObject > QWaylandIviSurface:: data ()

[static] QWaylandIviSurface *QWaylandIviSurface:: fromResource ( ::wl_resource * resource )

返回 QWaylandIviSurface corresponding to the resource .

void QWaylandIviSurface:: initialize ( QWaylandIviApplication * iviApplication , QWaylandSurface * surface , uint iviId , const QWaylandResource & resource )

初始化 QWaylandIviSurface , associating it with the given iviApplication , surface , iviId ,和 resource .

注意: 此函数可以被援引,通过元对象系统和从 QML。见 Q_INVOKABLE .

[static] const struct wl_interface *QWaylandIviSurface:: interface ()

返回 Wayland 接口为 QWaylandIviSurface .

[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 .

注意: 此函数可以被援引,通过元对象系统和从 QML。见 Q_INVOKABLE .