Provides an extension for negotiation of server-side and client-side window decorations. 更多...
头: | #include <QWaylandXdgDecorationManagerV1> |
qmake: | QT += waylandcompositor |
Since: | Qt 5.12 |
实例化: | XdgDecorationManagerV1 |
继承: | QWaylandCompositorExtensionTemplate |
该类在 Qt 5.12 引入。
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
.
另请参阅 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 () |
Constructs a QWaylandXdgDecorationManagerV1 object.
[override virtual]
void
QWaylandXdgDecorationManagerV1::
initialize
()
Initializes the extension.
[static]
const
struct
wl_interface
*QWaylandXdgDecorationManagerV1::
interface
()
返回 Wayland 接口为 QWaylandXdgDecorationManagerV1 .