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
qwaylandivisurface.h
Go to the documentation of this file.
1
// Copyright (C) 2017 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
QWAYLANDIVISURFACE_H
6
#
define
QWAYLANDIVISURFACE_H
7
8
#
include
<
QtWaylandCompositor
/
QWaylandShellSurface
>
9
#
if
QT_CONFIG
(
wayland_compositor_quick
)
10
#
include
<
QtWaylandCompositor
/
qwaylandquickchildren
.
h
>
11
#
endif
12
13
struct
wl_resource;
14
15
QT_BEGIN_NAMESPACE
16
17
class
QWaylandIviSurfacePrivate;
18
class
QWaylandSurface;
19
class
QWaylandIviApplication;
20
class
QWaylandSurfaceRole
;
21
class
QWaylandResource;
22
23
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandIviSurface
:
public
QWaylandShellSurfaceTemplate<QWaylandIviSurface>
24
{
25
Q_OBJECT
26
Q_DECLARE_PRIVATE(QWaylandIviSurface)
27
#
if
QT_CONFIG
(
wayland_compositor_quick
)
28
Q_WAYLAND_COMPOSITOR_DECLARE_QUICK_CHILDREN(QWaylandIviSurface)
29
#
endif
30
Q_PROPERTY(QWaylandSurface *surface READ surface NOTIFY surfaceChanged)
31
Q_PROPERTY(uint iviId READ iviId NOTIFY iviIdChanged)
32
Q_MOC_INCLUDE(
"qwaylandsurface.h"
)
33
34
public
:
35
QWaylandIviSurface();
36
QWaylandIviSurface(QWaylandIviApplication *application, QWaylandSurface *surface, uint iviId,
const
QWaylandResource &resource);
37
38
Q_INVOKABLE
void
initialize(QWaylandIviApplication *iviApplication, QWaylandSurface *surface,
39
uint iviId,
const
QWaylandResource &resource);
40
41
QWaylandSurface *surface()
const
;
42
uint iviId()
const
;
43
44
static
const
struct
wl_interface *interface();
45
static
QByteArray interfaceName();
46
static
QWaylandSurfaceRole *role();
47
static
QWaylandIviSurface *fromResource(::wl_resource *resource);
48
49
Q_INVOKABLE
void
sendConfigure(
const
QSize &size);
50
51
#
if
QT_CONFIG
(
wayland_compositor_quick
)
52
QWaylandQuickShellIntegration *createIntegration(QWaylandQuickShellSurfaceItem *item) override;
53
#
endif
54
55
Q_SIGNALS:
56
void
surfaceChanged();
57
void
iviIdChanged();
58
59
private
:
60
void
initialize() override;
61
};
62
63
QT_END_NAMESPACE
64
65
#
endif
// QWAYLANDIVISURFACE_H
QWaylandIviSurface
\qmltype IviSurface \nativetype QWaylandIviSurface \inqmlmodule QtWayland.Compositor....
Definition
qwaylandivisurface.h:24
QWaylandSurfaceRole
\inmodule QtWaylandCompositor
Definition
qwaylandsurface.h:32
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtwayland
src
compositor
extensions
qwaylandivisurface.h
Generated on
for Qt by
1.18.0