QWaylandIviSurface Class

The QWaylandIviSurface class provides a simple way to identify and resize a surface. More...

Header: #include <QWaylandIviSurface>
qmake: QT += waylandcompositor
Since: Qt 5.8
Inherits: QWaylandShellSurfaceTemplate

Properties

Public Functions

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

Reimplemented Public Functions

virtual QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) override

Signals

Static Public Members

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
  • 9 static public members inherited from QObject

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 9 protected functions inherited from QObject

Detailed Description

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 a way to resize and identify it.

It corresponds to the Wayland ivi_surface interface.

Property Documentation

iviId : const uint

This property holds the ivi id of this QWaylandIviSurface.

Access functions:

uint iviId() const

Notifier signal:

void iviIdChanged()

surface : QWaylandSurface* const

This property holds the surface associated with this QWaylandIviSurface.

Access functions:

QWaylandSurface *surface() const

Notifier signal:

void surfaceChanged()

Member Function Documentation

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.

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

Returns the QWaylandIviSurface corresponding to the 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.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

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

Returns the Wayland interface for the 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.

Note: This function can be invoked via the meta-object system and from QML. See Q_INVOKABLE.

© 2021 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.