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 |
This class was introduced in Qt 5.8.
Properties
- 1 property inherited from QWaylandShellSurface
- 1 property inherited from QObject
Public Functions
| QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) | |
| QWaylandIviSurface() | |
| void | initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface, uint iviId, const QWaylandResource &resource) |
| uint | iviId() const |
| void | sendConfigure(const QSize &size) |
| QWaylandSurface * | surface() const |
- 1 public function inherited from QWaylandShellSurface
- 30 public functions inherited from QObject
Signals
| void | iviIdChanged() |
| void | surfaceChanged() |
- 1 signal inherited from QWaylandShellSurface
- 2 signals inherited from QObject
Static Public Members
| QWaylandIviSurface * | fromResource(::wl_resource *resource) |
| const struct wl_interface * | interface() |
| QWaylandSurfaceRole * | role() |
- 9 static public members inherited from QObject
Related Non-Members
| typedef | QObjectList |
| QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
| T | qobject_cast(QObject *object) |
| T | qobject_cast(const QObject *object) |
Macros
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
| Q_CLASSINFO(Name, Value) | |
| Q_DISABLE_COPY(Class) | |
| Q_DISABLE_COPY_MOVE(Class) | |
| Q_DISABLE_MOVE(Class) | |
| Q_EMIT | |
| Q_ENUM(...) | |
| Q_ENUM_NS(...) | |
| Q_FLAG(...) | |
| Q_FLAG_NS(...) | |
| Q_GADGET | |
| Q_INTERFACES(...) | |
| Q_INVOKABLE | |
| Q_NAMESPACE | |
| Q_OBJECT | |
| Q_PROPERTY(...) | |
| Q_REVISION | |
| Q_SET_OBJECT_NAME(Object) | |
| Q_SIGNAL | |
| Q_SIGNALS | |
| Q_SLOT | |
| Q_SLOTS |
Additional Inherited Members
Detailed Description
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(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.
QWaylandIviSurface::QWaylandIviSurface()
Constructs a QWaylandIviSurface.
[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] 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.