4#ifndef QWAYLANDXDGDECORATIONV1_P_H
5#define QWAYLANDXDGDECORATIONV1_P_H
9#include <QtWaylandCompositor/private/qwaylandcompositorextension_p.h>
10#include <QtWaylandCompositor/private/qwayland-server-xdg-decoration-unstable-v1.h>
12#include <QtWaylandCompositor/QWaylandXdgToplevel>
31 ,
public QtWaylandServer::zxdg_decoration_manager_v1
39 void zxdg_decoration_manager_v1_get_toplevel_decoration(Resource *resource,
uint id, ::wl_resource *toplevelResource)
override;
42 DecorationMode m_preferredMode = DecorationMode::ClientSideDecoration;
46 :
public QtWaylandServer::zxdg_toplevel_decoration_v1
52 wl_client *client,
int id);
56 void sendConfigure(DecorationMode
mode);
59 void zxdg_toplevel_decoration_v1_destroy_resource(Resource *resource)
override;
60 void zxdg_toplevel_decoration_v1_destroy(Resource *resource)
override;
61 void zxdg_toplevel_decoration_v1_set_mode(Resource *resource, uint32_t
mode)
override;
62 void zxdg_toplevel_decoration_v1_unset_mode(Resource *resource)
override;
65 void handleClientPreferredModeChanged();
69 uint m_configuredMode = 0;
70 uint m_clientPreferredMode = 0;
QWaylandXdgDecorationManagerV1Private()
\inmodule QtWaylandCompositor
DecorationMode configuredMode() const
\qmltype XdgToplevel \instantiates QWaylandXdgToplevel \inqmlmodule QtWayland.Compositor....
DecorationMode
This enum type is used to specify the window decoration mode for toplevel windows.
Combined button and popup list for selecting options.
QNetworkAccessManager manager