QWaylandQuickShellSurfaceItem Class
The QWaylandQuickShellSurfaceItem class provides a Qt Quick item that represents a QWaylandShellSurface. 更多...
头文件: | #include <QWaylandQuickShellSurfaceItem> |
qmake: | QT += waylandcompositor |
开始支持版本: | Qt 5.8 |
基类: | QWaylandQuickItem |
属性
- moveItem : QQuickItem *
- shellSurface : QWaylandShellSurface *
- 12 个属性继承自 QWaylandQuickItem
- 23 个属性继承自 QQuickItem
公有函数
QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr) | |
QQuickItem * | moveItem() const |
void | setMoveItem(QQuickItem *moveItem) |
void | setShellSurface(QWaylandShellSurface *shellSurface) |
QWaylandShellSurface * | shellSurface() const |
- 29 个公有函数继承自 QWaylandQuickItem
- 95 个公有函数继承自 QQuickItem
信号
void | moveItemChanged() |
void | shellSurfaceChanged() |
- 13 个信号继承自 QWaylandQuickItem
- 1 个信号继承自 QQuickItem
重新实现的受保护函数
virtual void | mouseMoveEvent(QMouseEvent *event) override |
virtual void | mouseReleaseEvent(QMouseEvent *event) override |
- 2 个受保护的函数继承自 QWaylandQuickItem
- 33 个受保护的函数继承自 QQuickItem
其他继承的成员
- 4 个公有槽函数继承自 QWaylandQuickItem
- 1 个公有槽函数继承自 QQuickItem
- 2 个受保护的函数继承自 QWaylandQuickItem
- 33 个受保护的函数继承自 QQuickItem
详细描述
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.
属性
moveItem : QQuickItem *
This property holds the move item for this QWaylandQuickShellSurfaceItem.
访问函数:
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.
访问函数:
QWaylandShellSurface * | shellSurface() const |
void | setShellSurface(QWaylandShellSurface *shellSurface) |
Notifier signal:
void | shellSurfaceChanged() |
成员函数
QWaylandQuickShellSurfaceItem::QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr)
Constructs a QWaylandQuickWlShellSurfaceItem with the given parent.