Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qwaylandextendedsurface_p.h
Go to the documentation of this file.
1// Copyright (C) 2018 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QWAYLANDEXTENDEDSURFACE_H
5#define QWAYLANDEXTENDEDSURFACE_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtCore/QString>
19#include <QtCore/QVariant>
20#include <QtCore/QMap> // for QVariantMap
21
22#include <QtWaylandClient/qtwaylandclientglobal.h>
23
24#include <QtWaylandClient/private/qwayland-surface-extension.h>
25#include <QtCore/private/qglobal_p.h>
26
28
29namespace QtWaylandClient {
30
31class QWaylandDisplay;
32class QWaylandWindow;
33
34class Q_WAYLANDCLIENT_EXPORT QWaylandExtendedSurface : public QtWayland::qt_extended_surface
35{
36public:
38 ~QWaylandExtendedSurface() override;
39
40 void setContentOrientationMask(Qt::ScreenOrientations mask);
41
42 void updateGenericProperty(const QString &name, const QVariant &value);
43
44 Qt::WindowFlags setWindowFlags(Qt::WindowFlags flags);
45
46private:
47 void extended_surface_onscreen_visibility(int32_t visibility) override;
48 void extended_surface_set_generic_property(const QString &name, wl_array *value) override;
49 void extended_surface_close() override;
50
51 QWaylandWindow *m_window = nullptr;
52 QVariantMap m_properties;
53};
54
55}
56
58
59#endif // QWAYLANDEXTENDEDSURFACE_H
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
\inmodule QtCore
Definition qvariant.h:65
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLbitfield flags
GLuint name
GLint GLint GLint GLint GLint GLint GLint GLbitfield mask
aWidget window() -> setWindowTitle("New Window Title")
[2]