QWaylandXdgDecorationManagerV1 Class

Provides an extension for negotiation of server-side and client-side window decorations. 更多...

头: #include <QWaylandXdgDecorationManagerV1>
qmake: QT += waylandcompositor
Since: Qt 5.12
继承: QWaylandCompositorExtensionTemplate

特性

公共函数

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

重实现公共函数

virtual void initialize () override

信号

void preferredModeChanged ()

静态公共成员

const struct wl_interface * interface ()
const QMetaObject staticMetaObject

额外继承成员

详细描述

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 .

另请参阅 QWaylandXdgToplevel::decorationMode .

特性文档编制

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.

访问函数:

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

通知程序信号:

void preferredModeChanged ()

成员函数文档编制

QWaylandXdgDecorationManagerV1:: QWaylandXdgDecorationManagerV1 ()

构造 QWaylandXdgDecorationManagerV1 对象。

[override virtual] void QWaylandXdgDecorationManagerV1:: initialize ()

Initializes the extension.

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

返回 Wayland 接口为 QWaylandXdgDecorationManagerV1 .