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 |
This class was introduced in Qt 5.8.
Properties
- autoCreatePopupItems : bool
- moveItem : QQuickItem*
- shellSurface : QWaylandShellSurface*
- 8 properties inherited from QWaylandQuickItem
- 23 properties inherited from QQuickItem
- 1 property inherited from QObject
Public Functions
QWaylandQuickShellSurfaceItem(QQuickItem *parent = nullptr) | |
bool | autoCreatePopupItems() |
QQuickItem * | moveItem() const |
void | setAutoCreatePopupItems(bool enabled) |
void | setMoveItem(QQuickItem *moveItem) |
void | setShellSurface(QWaylandShellSurface *shellSurface) |
QWaylandShellSurface * | shellSurface() const |
- 28 public functions inherited from QWaylandQuickItem
- 101 public functions inherited from QQuickItem
- 30 public functions inherited from QObject
- 2 public functions inherited from QQmlParserStatus
Signals
void | autoCreatePopupItemsChanged() |
void | moveItemChanged() |
void | shellSurfaceChanged() |
- 12 signals inherited from QWaylandQuickItem
- 25 signals inherited from QQuickItem
- 2 signals inherited from QObject
Related Non-Members
typedef | QObjectList |
QList<T> | qFindChildren(const QObject *obj, const QRegExp ®Exp) |
T | qobject_cast(QObject *object) |
T | qobject_cast(const QObject *object) |
Macros
QT_NO_NARROWING_CONVERSIONS_IN_CONNECT | |
Q_CLASSINFO(Name, Value) | |
Q_DISABLE_COPY(Class) | |
Q_DISABLE_COPY_MOVE(Class) | |
Q_DISABLE_MOVE(Class) | |
Q_EMIT | |
Q_ENUM(...) | |
Q_ENUM_NS(...) | |
Q_FLAG(...) | |
Q_FLAG_NS(...) | |
Q_GADGET | |
Q_INTERFACES(...) | |
Q_INVOKABLE | |
Q_NAMESPACE | |
Q_OBJECT | |
Q_PROPERTY(...) | |
Q_REVISION | |
Q_SET_OBJECT_NAME(Object) | |
Q_SIGNAL | |
Q_SIGNALS | |
Q_SLOT | |
Q_SLOTS |
Additional Inherited Members
- 2 public slots inherited from QWaylandQuickItem
- 1 public slot inherited from QQuickItem
- 1 public slot inherited from QObject
- 9 static public members inherited from QObject
- 33 protected functions inherited from QQuickItem
- 9 protected functions inherited from QObject
Detailed Description
This class 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 QWaylandQuickItem, QWaylandWlShellSurface, QWaylandXdgSurfaceV5, and QWaylandIviSurface.
Property Documentation
autoCreatePopupItems : bool
This property holds whether QWaylandQuickShellSurfaceItems for popups parented to the shell surface managed by this item should automatically be created.
Access functions:
bool | autoCreatePopupItems() |
void | setAutoCreatePopupItems(bool enabled) |
Notifier signal:
void | autoCreatePopupItemsChanged() |
moveItem : QQuickItem*
This property holds the move item for this QWaylandQuickShellSurfaceItem. This is the item that will be moved when the clients request the QWaylandShellSurface to be moved, maximized, resized etc. This property is useful when implementing server-side decorations.
Access functions:
QQuickItem * | moveItem() const |
void | setMoveItem(QQuickItem *moveItem) |
Notifier signal:
void | moveItemChanged() |
shellSurface : QWaylandShellSurface*
This property holds the QWaylandShellSurface rendered by this QWaylandQuickShellSurfaceItem. It may either be a QWaylandXdgSurfaceV5, QWaylandWlShellSurface or QWaylandIviSurface 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.