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 .
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 对象。
[override virtual]
void
QWaylandXdgDecorationManagerV1::
initialize
()
Initializes the extension.
[static]
const
struct
wl_interface
*QWaylandXdgDecorationManagerV1::
interface
()
返回 Wayland 接口为 QWaylandXdgDecorationManagerV1 .