QWaylandQuickShellSurfaceItem Class
The QWaylandQuickShellSurfaceItem class provides a Qt Quick item that represents a QWaylandShellSurface. More...
Header: | #include <QWaylandQuickShellSurfaceItem> |
qmake: | QT += waylandcompositor |
Inherits: | QWaylandQuickItem |
This class is under development and is subject to change.
Properties
- moveItem : QQuickItem *
- shellSurface : QWaylandShellSurface *
- 10 properties inherited from QWaylandQuickItem
Public Functions
QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr) | |
QQuickItem * | moveItem() const |
void | setMoveItem(QQuickItem *moveItem) |
void | setShellSurface(QWaylandShellSurface *shellSurface) |
QWaylandShellSurface * | shellSurface() const |
- 21 public functions inherited from QWaylandQuickItem
Signals
void | moveItemChanged() |
void | shellSurfaceChanged() |
- 10 signals inherited from QWaylandQuickItem
Protected Functions
void | mouseMoveEvent(QMouseEvent *event) |
void | mouseReleaseEvent(QMouseEvent *event) |
- 1 protected function inherited from QWaylandQuickItem
Additional Inherited Members
- 4 public slots inherited from QWaylandQuickItem
Detailed Description
The QWaylandQuickShellSurfaceItem class provides a Qt Quick item that represents a QWaylandShellSurface.
This class is used to render wl_shell
or xdg_shell
surfaces as part of a Qt Quick scene. It handles moving and resizing triggered by clicking on the window decorations.
See also QWaylandQuickItem.
Property Documentation
moveItem : QQuickItem *
This property holds the move item for this QWaylandQuickShellSurfaceItem.
Access functions:
QQuickItem * | moveItem() const |
void | setMoveItem(QQuickItem *moveItem) |
Notifier signal:
void | moveItemChanged() |
shellSurface : QWaylandShellSurface *
This property holds the shell surface rendered by this QWaylandQuickShellSurfaceItem. It may either be a QWaylandXdgSurface or a QWaylandWlShellSurface depending on which shell protocol is in use.
Access functions:
QWaylandShellSurface * | shellSurface() const |
void | setShellSurface(QWaylandShellSurface *shellSurface) |
Notifier signal:
void | shellSurfaceChanged() |
Member Function Documentation
QWaylandQuickShellSurfaceItem::QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr)
Constructs a QWaylandQuickWlShellSurfaceItem with the given parent.