QWaylandSurface Class

The QWaylandSurface class represents a rectangular area on an output device. More...

Header: #include <QWaylandSurface>
qmake: QT += waylandcompositor
Since: Qt 5.8
Inherits: QWaylandObject

Public Functions

void bufferScaleChanged()
void childAdded(QWaylandSurface *child)
void configure(bool hasBuffer)
void contentOrientationChanged()
void cursorSurfaceChanged()
void damaged(const int &rect)
void dragStarted(QWaylandDrag *drag)
void offsetForNextFrame(const int &offset)
void originChanged()
void parentChanged(QWaylandSurface *newParent, QWaylandSurface *oldParent)
void redraw()
void sizeChanged()
void subsurfacePlaceAbove(QWaylandSurface *sibling)
void subsurfacePlaceBelow(QWaylandSurface *sibling)
void subsurfacePositionChanged(const int &position)
void surfaceDestroyed()

Detailed Description

The QWaylandSurface class represents a rectangular area on an output device.

This class encapsulates a rectangular area of pixels that is displayed on an output device. It corresponds to the interface wl_surface in the Wayland protocol.

Member Function Documentation

void QWaylandSurface::bufferScaleChanged()

void QWaylandSurface::childAdded(QWaylandSurface *child)

This signal is emitted when a wl_subsurface, child, has been added to the surface.

void QWaylandSurface::configure(bool hasBuffer)

void QWaylandSurface::contentOrientationChanged()

void QWaylandSurface::cursorSurfaceChanged()

void QWaylandSurface::damaged(const int &rect)

void QWaylandSurface::dragStarted(QWaylandDrag *drag)

This signal is emitted when a drag has started from this surface.

void QWaylandSurface::offsetForNextFrame(const int &offset)

void QWaylandSurface::originChanged()

void QWaylandSurface::parentChanged(QWaylandSurface *newParent, QWaylandSurface *oldParent)

void QWaylandSurface::redraw()

void QWaylandSurface::sizeChanged()

void QWaylandSurface::subsurfacePlaceAbove(QWaylandSurface *sibling)

void QWaylandSurface::subsurfacePlaceBelow(QWaylandSurface *sibling)

void QWaylandSurface::subsurfacePositionChanged(const int &position)

void QWaylandSurface::surfaceDestroyed()

This signal is emitted when the corresponing wl_surface is destroyed.