QWaylandQuickShellSurfaceItem Class
The QWaylandQuickShellSurfaceItem class provides a Qt Quick item that represents a QWaylandShellSurface. More...
Header: | #include <QWaylandQuickShellSurfaceItem> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.8 |
Inherits: | QWaylandQuickItem |
Properties
- moveItem : QQuickItem *
- shellSurface : QWaylandShellSurface *
- 12 properties inherited from QWaylandQuickItem
- 23 properties inherited from QQuickItem
- 1 property inherited from QObject
Public Functions
QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr) | |
QQuickItem * | moveItem() const |
void | setMoveItem(QQuickItem *moveItem) |
void | setShellSurface(QWaylandShellSurface *shellSurface) |
QWaylandShellSurface * | shellSurface() const |
- 29 public functions inherited from QWaylandQuickItem
- 95 public functions inherited from QQuickItem
- 31 public functions inherited from QObject
- 2 public functions inherited from QQmlParserStatus
Signals
void | moveItemChanged() |
void | shellSurfaceChanged() |
- 13 signals inherited from QWaylandQuickItem
- 1 signal inherited from QQuickItem
- 2 signals inherited from QObject
Reimplemented Protected Functions
virtual void | mouseMoveEvent(QMouseEvent *event) |
virtual void | mouseReleaseEvent(QMouseEvent *event) |
- 1 protected function inherited from QWaylandQuickItem
- 33 protected functions inherited from QQuickItem
- 9 protected functions inherited from QObject
Additional Inherited Members
- 4 public slots inherited from QWaylandQuickItem
- 1 public slot inherited from QQuickItem
- 1 public slot inherited from QObject
- 11 static public members inherited from QObject
- 1 protected function inherited from QWaylandQuickItem
- 33 protected functions inherited from QQuickItem
- 9 protected functions inherited from QObject
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.
[virtual protected]
void QWaylandQuickShellSurfaceItem::mouseMoveEvent(QMouseEvent *event)
[virtual protected]
void QWaylandQuickShellSurfaceItem::mouseReleaseEvent(QMouseEvent *event)
© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.