IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QWaylandSurface Class

The https:// class represents a rectangular area on an output device.

This class was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QWaylandSurface Class▲

  • Header: QWaylandSurface

  • Since: Qt 5.8

  • qmake: QT += waylandcompositor

Detailed Description▲

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::childAdded(QWaylandSurface *child)▲

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

int QWaylandSurface::destroy()▲

Destroys the https://.

void QWaylandSurface::dragStarted(QWaylandDrag *drag)▲

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

int QWaylandSurface::frameStarted()▲

Prepares all frame callbacks for sending.

[static] QWaylandSurface *QWaylandSurface::fromResource(::wl_resource *resource)▲

Returns the https:// corresponding to the Wayland resource resource.

int QWaylandSurface::isDestroyed() const▲

Returns true if the https:// has been destroyed. Otherwise returns false.

QWaylandView *QWaylandSurface::primaryView() const▲

Returns this https://'s primary view.

See Also▲

See also QWaylandView::advance(), https://()

struct wl_resource *QWaylandSurface::resource() const▲

Returns the Wayland resource corresponding to this https://.

int QWaylandSurface::sendFrameCallbacks()▲

Sends pending frame callbacks.

void QWaylandSurface::setPrimaryView(QWaylandView *view)▲

Sets this https://'s primary view to view, in case there are multiple views of this surface. The primary view is the view that governs the client's refresh rate. It takes care of discarding buffer references when QWaylandView::advance() is called. See the documentation for QWaylandView::advance() for more details.

In shell surface integrations, such as QWaylandWlShellIntegration and QWaylandXdgShellV5Integration, maximize and fullscreen requests from the client will only have an effect if the integration has the primary view of the surface.

See Also▲

See also https://(), QWaylandView::advance()

void QWaylandSurface::surfaceDestroyed()▲

This signal is emitted when the corresponing wl_surface is destroyed.

int QWaylandSurface::views() const▲

Returns the views for this https://.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+   

Ce document est disponible sous la licence https:// telle que publiée par la Free Software Foundation.