XdgToplevelV6 QML Type
XdgToplevelV6 represents the toplevel window specific parts of an xdg surface. More...
Import Statement: | import QtWayland.Compositor 1.14 |
Since: | Qt 5.10 |
Properties
- activated : bool
- appId : string
- fullscreen : bool
- maxSize : size
- maximized : bool
- minSize : size
- parentToplevel : XdgToplevelV6
- resizing : bool
- title : string
Methods
- void sendClose()
- int sendConfigure(size, list<int> states)
- void sendFullscreen(size)
- void sendMaximized(size)
- void sendResizing(maxSize)
- void sendUnmaximized(size)
- size sizeForResize(size, point delta, uint edges)
Detailed Description
This type is part of the XdgShellV6 extension and provides a way to extend the functionality of an XdgSurfaceV6 with features specific to desktop-style windows.
It corresponds to the Wayland interface zxdg_toplevel_v6
.
Property Documentation
activated : bool |
This property holds whether toplevel is drawing itself as having input focus.
appId : string |
This property holds the app id of the XdgToplevelV6.
fullscreen : bool |
This property holds whether the client has acknowledged that it should be fullscreen.
maxSize : size |
This property holds the maximum size of the XdgToplevelV6 as requested by the client.
The compositor is free to ignore this value and request a larger size.
maximized : bool |
This property holds whether the client has acknowledged that it should be maximized.
minSize : size |
This property holds the minimum size of the XdgToplevelV6 as requested by the client.
The compositor is free to ignore this value and request a smaller size.
parentToplevel : XdgToplevelV6 |
This property holds the XdgToplevelV6 parent of this XdgToplevelV6.
resizing : bool |
This property holds whether the client has acknowledged that it is being resized.
title : string |
This property holds the title of the XdgToplevelV6.
Method Documentation
Sends a configure event to the client. size contains the pixel size of the surface. A size of zero means the client is free to decide the size. Known states are enumerated in XdgToplevelV6::State.
Convenience for sending a configure event with the fullscreen state set, and maximized and resizing removed. The activated state is left in its current state.
size is the new size of the window.
See also sendUnmaximized.
Convenience for sending a configure event with the maximized state set, and fullscreen and resizing removed. The activated state is left in its current state.
size is the new size of the window.
Convenience for sending a configure event with the resizing state set, and maximized and fullscreen removed. The activated state is left in its current state.
maxSize is the new size of the window.
Convenience for sending a configure event with the maximized, fullscreen and resizing states removed, and fullscreen and resizing removed. The activated state is left in its current state.
size is the new size of the window. If size is zero, the client decides the size.
Convenience for computing the new size given the current size, a delta, and the edges active in the drag.
© 2020 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.