The QWaylandXdgSurfaceV6 class provides desktop-style compositor-specific features to an xdg surface. 更多...
| 頭: | #include <QWaylandXdgSurfaceV6> |
| qmake: | QT += waylandcompositor |
| Since: | Qt 5.10 |
| 繼承: | QWaylandShellSurfaceTemplate |
|
| QWaylandXdgSurfaceV6 () | |
| QWaylandXdgSurfaceV6 (QWaylandXdgShellV6 * xdgShell , QWaylandSurface * surface , const QWaylandResource & res ) | |
| QQmlListProperty<QObject> | data () |
| void | initialize (QWaylandXdgShellV6 * xdgShell , QWaylandSurface * surface , const QWaylandResource & resource ) |
| QWaylandXdgPopupV6 * | popup () const |
| QWaylandXdgShellV6 * | shell () const |
| QWaylandSurface * | surface () const |
| QWaylandXdgToplevelV6 * | toplevel () const |
| QRect | windowGeometry () const |
| virtual QWaylandQuickShellIntegration * | createIntegration (QWaylandQuickShellSurfaceItem * item ) override |
| virtual Qt::WindowType | windowType () const override |
| void | popupCreated () |
| void | shellChanged () |
| void | surfaceChanged () |
| void | toplevelCreated () |
| void | windowGeometryChanged () |
| void | appendFunction (QQmlListProperty<QObject> * list , QObject * object ) |
| QObject * | atFunction (QQmlListProperty<QObject> * list , int index ) |
| void | clearFunction (QQmlListProperty<QObject> * list ) |
| int | countFunction (QQmlListProperty<QObject> * list ) |
| QWaylandXdgSurfaceV6 * | fromResource (::wl_resource * resource ) |
| const struct wl_interface * | interface () |
| const QMetaObject | staticMetaObject |
The QWaylandXdgSurfaceV6 class provides desktop-style compositor-specific features to an xdg surface.
此類屬於 QWaylandXdgShellV6 extension and provides a way to extend the functionality of an existing QWaylandSurface with features specific to desktop-style compositors, such as resizing and moving the surface.
It corresponds to the Wayland interface
zxdg_surface_v6
.
This property holds the properties and methods that are specific to the popup QWaylandXdgSurfaceV6 .
訪問函數:
| QWaylandXdgPopupV6 * | popup () const |
通知程序信號:
| void | popupCreated () |
另請參閱 QWaylandXdgSurfaceV6::toplevel and QWaylandXdgShellV6::popupCreated .
This property holds the shell associated with this QWaylandXdgSurfaceV6 .
訪問函數:
| QWaylandXdgShellV6 * | shell () const |
通知程序信號:
| void | shellChanged () |
This property holds the surface associated with this QWaylandXdgSurfaceV6 .
訪問函數:
| QWaylandSurface * | surface () const |
通知程序信號:
| void | surfaceChanged () |
This property holds the properties and methods that are specific to the toplevel QWaylandXdgSurfaceV6 .
訪問函數:
| QWaylandXdgToplevelV6 * | toplevel () const |
通知程序信號:
| void | toplevelCreated () |
另請參閱 QWaylandXdgSurfaceV6::popup and QWaylandXdgShellV6::toplevelCreated .
This property holds the window geometry of the QWaylandXdgSurfaceV6 . The window geometry describes the window's visible bounds from the user's perspective. The geometry includes title bars and borders if drawn by the client, but excludes drop shadows. It is meant to be used for aligning and tiling windows.
訪問函數:
| QRect | windowGeometry () const |
通知程序信號:
| void | windowGeometryChanged () |
構造 QWaylandXdgSurfaceV6 .
構造 QWaylandXdgSurfaceV6 for surface and initializes it with the given xdgShell , surface , and resource res .
[static]
void
QWaylandXdgSurfaceV6::
appendFunction
(
QQmlListProperty
<
QObject
> *
list
,
QObject
*
object
)
[static]
QObject
*QWaylandXdgSurfaceV6::
atFunction
(
QQmlListProperty
<
QObject
> *
list
,
int
index
)
[static]
void
QWaylandXdgSurfaceV6::
clearFunction
(
QQmlListProperty
<
QObject
> *
list
)
[static]
int
QWaylandXdgSurfaceV6::
countFunction
(
QQmlListProperty
<
QObject
> *
list
)
[override virtual]
QWaylandQuickShellIntegration
*QWaylandXdgSurfaceV6::
createIntegration
(
QWaylandQuickShellSurfaceItem
*
item
)
[static]
QWaylandXdgSurfaceV6
*QWaylandXdgSurfaceV6::
fromResource
(
::wl_resource
*
resource
)
返迴 QWaylandXdgSurfaceV6 corresponding to the resource .
初始化 QWaylandXdgSurfaceV6 , associating it with the given xdgShell , surface and resource .
注意: 此函數可以被援引,通過元對象係統和從 QML。見 Q_INVOKABLE .
[static]
const
struct
wl_interface
*QWaylandXdgSurfaceV6::
interface
()
返迴 Wayland 接口為 QWaylandXdgSurfaceV6 .
[override virtual]
Qt::WindowType
QWaylandXdgSurfaceV6::
windowType
() const