Provides an extension for negotiation of server-side and client-side window decorations. More...
Header: | #include <QWaylandXdgDecorationManagerV1> |
CMake: | find_package(Qt6 COMPONENTS Waylandcompositor REQUIRED) target_link_libraries(mytarget PRIVATE Qt6::Waylandcompositor) |
qmake: | QT += waylandcompositor |
Since: | Qt 5.12 |
Instantiated By: | XdgDecorationManagerV1 |
Inherits: | QWaylandCompositorExtensionTemplate |
QWaylandXdgDecorationManagerV1() | |
QWaylandXdgToplevel::DecorationMode | preferredMode() const |
void | setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode) |
virtual void | initialize() override |
void | preferredModeChanged() |
const struct wl_interface * | interface() |
The QWaylandXdgDecorationManagerV1 extension provides a way for a compositor to announce support for server-side window decorations, and for xdg-shell clients to communicate whether they prefer client-side or server-side decorations.
QWaylandXdgDecorationManagerV1 corresponds to the Wayland interface, zxdg_decoration_manager_v1
.
See also QWaylandXdgToplevel::decorationMode.
This property holds the decoration mode the compositor prefers.
This is the mode used for clients that don't indicate a preference for server-side or client-side decorations.
Access functions:
QWaylandXdgToplevel::DecorationMode | preferredMode() const |
void | setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode) |
Notifier signal:
void | preferredModeChanged() |
Constructs a QWaylandXdgDecorationManagerV1 object.
[override virtual]
void QWaylandXdgDecorationManagerV1::initialize()
Initializes the extension.
[static]
const struct wl_interface *QWaylandXdgDecorationManagerV1::interface()
Returns the Wayland interface for the QWaylandXdgDecorationManagerV1.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.2/qwaylandxdgdecorationmanagerv1.html