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

QWaylandXdgSurfaceV6 Class

The QWaylandXdgSurfaceV6 class provides desktop-style compositor-specific features to an xdg surface.

This class was introduced in Qt 5.10.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QWaylandXdgSurfaceV6 Class

  • Header: QWaylandXdgSurfaceV6

  • Since: Qt 5.10

  • qmake: QT += waylandcompositor

Detailed Description

This class is part of the QWaylandXdgShellV6 extension and provides a way to extend the functionality of an existing QWaylandSurface with features specific to desktop-style compositors, such as resizing and moving the surface.

It corresponds to the Wayland interface zxdg_surface_v6.

Property Documentation

 

[read-only] popup : QWaylandXdgPopupV6* const

Access functions:

  • *popup() const

Notifier signal:

  • void popupCreated()

See Also

[read-only] shell : QWaylandXdgShellV6* const

This property holds the shell associated with this QWaylandXdgSurfaceV6.

Access functions:

  • *shell() const

Notifier signal:

  • void shellChanged()

[read-only] surface : QWaylandSurface* const

This property holds the surface associated with this QWaylandXdgSurfaceV6.

Access functions:

  • *surface() const

Notifier signal:

  • void surfaceChanged()

[read-only] toplevel : QWaylandXdgToplevelV6* const

This property holds the properties and methods that are specific to the toplevel QWaylandXdgSurfaceV6.

Access functions:

  • *toplevel() const

Notifier signal:

  • void toplevelCreated()

See Also

[read-only] windowGeometry : const QRect

This property holds the window geometry of the QWaylandXdgSurfaceV6. The window geometry describes the window's visible bounds from the user's perspective. The geometry includes title bars and borders if drawn by the client, but excludes drop shadows. It is meant to be used for aligning and tiling windows.

Access functions:

  • windowGeometry() const

Notifier signal:

  • void windowGeometryChanged()

Member Function Documentation

 

QWaylandXdgSurfaceV6::QWaylandXdgSurfaceV6()

Constructs a QWaylandXdgSurfaceV6.

QWaylandXdgSurfaceV6::QWaylandXdgSurfaceV6(QWaylandXdgShellV6 *xdgShell, QWaylandSurface *surface, const QWaylandResource &res)

Constructs a QWaylandXdgSurfaceV6 for surface and initializes it with the given xdgShell, surface, and resource res.

[static] QWaylandXdgSurfaceV6 *QWaylandXdgSurfaceV6::fromResource(::wl_resource *resource)

Returns the QWaylandXdgSurfaceV6 corresponding to the resource.

void QWaylandXdgSurfaceV6::initialize(QWaylandXdgShellV6 *xdgShell, QWaylandSurface *surface, const QWaylandResource &resource)

Initializes the QWaylandXdgSurfaceV6, associating it with the given xdgShell, surface and resource.

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