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
- 1 property inherited from QWaylandShellSurface
- 1 property inherited from QObject
Public Functions
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 public function inherited from QWaylandShellSurface
- 4 public functions inherited from QWaylandCompositorExtension
- 5 public functions inherited from QWaylandObject
- 32 public functions inherited from QObject
Signals
void | iviIdChanged() |
void | surfaceChanged() |
- 1 signal inherited from QWaylandShellSurface
- 2 signals inherited from QObject
Static Public Members
QByteArray | interfaceName() |
QWaylandSurfaceRole * | role() |
- 11 static public members inherited from QObject
Additional Inherited Members
- 1 public slot inherited from QObject
- 1 protected function inherited from QWaylandCompositorExtension
- 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.
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.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5.9/qwaylandivisurface.html