Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QQUICKWAYLANDSURFACE_H
6
#
define
QQUICKWAYLANDSURFACE_H
7
8
#
include
<
QtWaylandCompositor
/
qwaylandsurface
.
h
>
9
#
include
<
QtWaylandCompositor
/
qwaylandquickchildren
.
h
>
10
11
struct
wl_client;
12
13
QT_REQUIRE_CONFIG
(
wayland_compositor_quick
);
14
15
QT_BEGIN_NAMESPACE
16
17
class
QWaylandQuickSurfacePrivate;
18
class
QWaylandQuickCompositor;
19
20
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandQuickSurface
:
public
QWaylandSurface
21
{
22
Q_OBJECT
23
Q_DECLARE_PRIVATE(QWaylandQuickSurface)
24
Q_WAYLAND_COMPOSITOR_DECLARE_QUICK_CHILDREN(QWaylandQuickSurface)
25
Q_PROPERTY(
bool
useTextureAlpha READ useTextureAlpha WRITE setUseTextureAlpha NOTIFY useTextureAlphaChanged)
26
QML_NAMED_ELEMENT(WaylandSurface)
27
QML_ADDED_IN_VERSION(1, 0)
28
public
:
29
QWaylandQuickSurface();
30
QWaylandQuickSurface(QWaylandCompositor *compositor, QWaylandClient *client, quint32 id,
int
version);
31
~QWaylandQuickSurface() override;
32
33
bool
useTextureAlpha()
const
;
34
void
setUseTextureAlpha(
bool
useTextureAlpha);
35
36
protected
:
37
QWaylandQuickSurface(QWaylandQuickSurfacePrivate &dptr);
38
39
Q_SIGNALS:
40
void
useTextureAlphaChanged();
41
};
42
43
QT_END_NAMESPACE
44
45
#
endif
QWaylandQuickCompositorPrivate
Definition
qwaylandquickcompositor.cpp:29
QWaylandQuickCompositorPrivate::createDefaultSurface
QWaylandSurface * createDefaultSurface() override
Definition
qwaylandquickcompositor.cpp:37
QWaylandQuickCompositorPrivate::QWaylandQuickCompositorPrivate
QWaylandQuickCompositorPrivate(QWaylandCompositor *compositor)
Definition
qwaylandquickcompositor.cpp:31
QWaylandQuickCompositor
Definition
qwaylandquickcompositor.h:20
QWaylandQuickSurface
Definition
qwaylandquicksurface.h:21
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(liburing)
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(wayland_compositor_quick)
qtwayland
src
compositor
compositor_api
qwaylandquicksurface.h
Generated on
for Qt by
1.18.0