QWaylandXdgDecorationManagerV1 Class
Provides an extension for negotiation of server-side and client-side window decorations. More...
Header: | #include <QWaylandXdgDecorationManagerV1> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.12 |
Properties
- preferredMode : QWaylandXdgToplevel::DecorationMode
Public Functions
QWaylandXdgDecorationManagerV1() | |
void | initialize() |
QWaylandXdgToplevel::DecorationMode | preferredMode() const |
void | setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode) |
Signals
void | preferredModeChanged() |
Static Public Members
const struct wl_interface * | interface() |
const QMetaObject | staticMetaObject |
Detailed Description
Provides an extension for negotiation of server-side and client-side window decorations
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.
Property Documentation
preferredMode : 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() |
Member Function Documentation
QWaylandXdgDecorationManagerV1::QWaylandXdgDecorationManagerV1()
Constructs a QWaylandXdgDecorationManagerV1 object.
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-5.12/qwaylandxdgdecorationmanagerv1.html