Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwaylandquicksurface.h
Go to the documentation of this file.
1// Copyright (C) 2017 Jolla Ltd, author: <giulio.camuffo@jollamobile.com>
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QQUICKWAYLANDSURFACE_H
5#define QQUICKWAYLANDSURFACE_H
6
7#include <QtWaylandCompositor/qwaylandsurface.h>
8#include <QtWaylandCompositor/qwaylandquickchildren.h>
9
10struct wl_client;
11
12QT_REQUIRE_CONFIG(wayland_compositor_quick);
13
15
18
19class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQuickSurface : public QWaylandSurface
20{
22 Q_DECLARE_PRIVATE(QWaylandQuickSurface)
24 Q_PROPERTY(bool useTextureAlpha READ useTextureAlpha WRITE setUseTextureAlpha NOTIFY useTextureAlphaChanged)
25 QML_NAMED_ELEMENT(WaylandSurface)
27public:
30 ~QWaylandQuickSurface() override;
31
32 bool useTextureAlpha() const;
33 void setUseTextureAlpha(bool useTextureAlpha);
34
35protected:
37
40};
41
43
44#endif
\qmltype WaylandClient \instantiates QWaylandClient \inqmlmodule QtWayland.Compositor
\qmltype WaylandCompositor \instantiates QWaylandCompositor \inqmlmodule QtWayland....
\qmltype WaylandSurface \instantiates QWaylandSurface \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
static QOpenGLCompositor * compositor
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define QT_REQUIRE_CONFIG(feature)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_SIGNALS
unsigned int quint32
Definition qtypes.h:45
#define Q_WAYLAND_COMPOSITOR_DECLARE_QUICK_CHILDREN(className)