W3cubDocs

/Qt

ShellSurfaceItem QML Type

A Qt Quick item type for displaying and interacting with a ShellSurface. More...

Import Statement: import QtWayland.Compositor
Since: Qt 5.8
Instantiates: QWaylandQuickShellSurfaceItem
Inherits:

WaylandQuickItem

Properties

Detailed Description

This type is used to render wl_shell, xdg_shell or ivi_application surfaces as part of a Qt Quick scene. It handles moving and resizing triggered by clicking on the window decorations.

See also WaylandQuickItem, WlShellSurface, and IviSurface.

Property Documentation

autoCreatePopupItems : bool

This property holds whether ShellSurfaceItems for popups parented to the shell surface managed by this item should automatically be created.

moveItem : Item

This property holds the move item for this ShellSurfaceItem. This is the item that will be moved when the clients request the ShellSurface to be moved, maximized, resized etc. This property is useful when implementing server-side decorations.

shellSurface : ShellSurface

This property holds the ShellSurface rendered by this ShellSurfaceItem. It may either be an XdgSurfaceV5, WlShellSurface or IviSurface depending on which shell protocol is in use.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qml-qtwayland-compositor-shellsurfaceitem.html