Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwaylandxdgdecorationv1.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QWAYLANDXDGDECORATIONV1_H
6#define QWAYLANDXDGDECORATIONV1_H
7
8#include <QtWaylandCompositor/QWaylandCompositorExtension>
9#include <QtWaylandCompositor/QWaylandXdgToplevel>
10
11QT_BEGIN_NAMESPACE
12
13class QWaylandXdgDecorationManagerV1Private;
14
15class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandXdgDecorationManagerV1 : public QWaylandCompositorExtensionTemplate<QWaylandXdgDecorationManagerV1>
16{
17 Q_OBJECT
18 Q_DECLARE_PRIVATE(QWaylandXdgDecorationManagerV1)
19 Q_PROPERTY(QWaylandXdgToplevel::DecorationMode preferredMode READ preferredMode WRITE setPreferredMode NOTIFY preferredModeChanged)
20
21public:
22 explicit QWaylandXdgDecorationManagerV1();
23
24 void initialize() override;
25
26 QWaylandXdgToplevel::DecorationMode preferredMode() const;
27 void setPreferredMode(QWaylandXdgToplevel::DecorationMode preferredMode);
28
29 static const struct wl_interface *interface();
30
31Q_SIGNALS:
32 void preferredModeChanged();
33};
34
35QT_END_NAMESPACE
36
37#endif // QWAYLANDXDGDECORATIONV1_H
\qmltype XdgDecorationManagerV1 \nativetype QWaylandXdgDecorationManagerV1 \inqmlmodule QtWayland....
Combined button and popup list for selecting options.