XdgSurfaceV5 QML Type▲
-
Import Statement: import QtWayland.Compositor 1.3
-
Since: Qt 5.8
Detailed Description▲
This type is part of the https:// extension and provides a way to extend the functionality of an existing https:// with features specific to desktop-style compositors, such as resizing and moving the surface.
It corresponds to the Wayland interface xdg_surface for the unstable xdg-shell protocol v5.
Property Documentation▲
parentSurface : XdgSurfaceV5▲
This property holds the https:// parent of this https://. When a parent surface is set, the parentSurfaceChanged() signal is guaranteed to be emitted before https://() and https://().
See Also▲
See also https://(), https://()
shell : XdgShellV5▲
This property holds the shell associated with this https://.
surface : WaylandSurface▲
This property holds the surface associated with this https://.
title : string▲
This property holds the title of the https://.
windowType : enumeration▲
This property holds the window type of the https://.
Signal Documentation▲
void ackConfigure(int serial)▲
This signal is emitted when the client has received configure events up to and including the configure event with serial serial and will draw its surface accordingly in the next committed buffer.
The corresponding handler is onAckConfigure.
void setFullscreen(WaylandOutput output)▲
This signal is emitted when the client wants the xdg_surface to be in full screen mode. The client may specify an output it wishes the xdg_surface to be shown on.
The corresponding handler is onSetFullscreen.
void setMaximized()▲
This signal is emitted when the client wants the xdg_surface to be maximized.
The corresponding handler is onSetMaximized.
void setMinimized()▲
This signal is emitted when the client wants the xdg_surface to be minimized.
The corresponding handler is onSetMinimized.
setTopLevel()▲
This signal is emitted when the parent surface is unset, effectively making the window top level.
The corresponding handler is onSetTopLevel.
setTransient()▲
This signal is emitted when the parent surface is set, effectively making the window transient.
The corresponding handler is onSetTransient.
void showWindowMenu(WaylandSeat seat, point localSurfacePosition)▲
This signal is emitted when the client wants to show a context menu at localSurfacePosition, using the Wayland seat seat. It's typically emitted in response to the user right-clicking the window decorations.
The corresponding handler is onShowWindowMenu.
void startMove(WaylandSeat seat)▲
This signal is emitted when the client wants to start an interactive move of the https://, typically in response to the window decorations being dragged by seat.
The corresponding handler is onStartMove.
void startResize(WaylandSeat seat, enumeration edges)▲
This signal is emitted when the client wants to start an interactive resize of the https://, typically in response to the window decorations being dragged by seat on the window borders given by edges.
The corresponding handler is onStartResize.
See Also▲
See also QWaylandXdgSurfaceV5::ResizeEdge
void unsetFullscreen()▲
This signal is emitted when the client doesn't want the xdg_surface to be in full screen mode anymore.
The corresponding handler is onUnsetFullscreen.
void unsetMaximized()▲
This signal is emitted when the client doesn't want the xdg_surface to be maximized anymore.
The corresponding handler is onUnsetMaximized.
Method Documentation▲
void initialize(XdgShellV5 xdgShell, WaylandSurface surface, WaylandResource resource)▲
Initializes the https://, associating it with the given xdgShell, surface, and resource.
void sendClose()▲
Sends a close event to the client.
int sendConfigure(size size, list<uint> states)▲
Sends a configure event to the client. size contains the pixel size of the surface. Known states are enumerated in XdgSurfaceV5::State.


