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
Inherits: QWaylandCompositorExtensionTemplate

Properties

  • 1 property inherited from QObject

Public Functions

QWaylandXdgDecorationManagerV1()
QWaylandXdgToplevel::DecorationMode preferredMode() const
void setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode)

Reimplemented Public Functions

virtual void initialize() override
  • 31 public functions inherited from QObject

Signals

Static Public Members

const struct wl_interface *interface()
const QMetaObject staticMetaObject
  • 9 static public members inherited from QObject

Additional Inherited Members

  • 1 public slot inherited from QObject
  • 9 protected functions inherited from QObject

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.

[override virtual] void QWaylandXdgDecorationManagerV1::initialize()

Initializes the extension.

[static] const struct wl_interface *QWaylandXdgDecorationManagerV1::interface()

Returns the Wayland interface for the QWaylandXdgDecorationManagerV1.

© 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.