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
qwaylandquickoutput.h
Go to the documentation of this file.
1
// Copyright (C) 2017 Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
2
// Copyright (C) 2017 The Qt Company Ltd.
3
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
4
// Qt-Security score:significant reason:default
5
6
#
ifndef
QWAYLANDQUICKOUTPUT_H
7
#
define
QWAYLANDQUICKOUTPUT_H
8
9
#
include
<
QtQuick
/
QQuickWindow
>
10
#
include
<
QtWaylandCompositor
/
qwaylandoutput
.
h
>
11
#
include
<
QtWaylandCompositor
/
qwaylandquickchildren
.
h
>
12
13
QT_REQUIRE_CONFIG
(
wayland_compositor_quick
);
14
15
QT_BEGIN_NAMESPACE
16
17
class
QWaylandQuickCompositor;
18
class
QQuickWindow;
19
20
class
Q_WAYLANDCOMPOSITOR_EXPORT
QWaylandQuickOutput
:
public
QWaylandOutput,
public
QQmlParserStatus
21
{
22
Q_INTERFACES(QQmlParserStatus)
23
Q_OBJECT
24
Q_WAYLAND_COMPOSITOR_DECLARE_QUICK_CHILDREN(QWaylandQuickOutput)
25
Q_PROPERTY(
bool
automaticFrameCallback READ automaticFrameCallback WRITE setAutomaticFrameCallback NOTIFY automaticFrameCallbackChanged)
26
QML_NAMED_ELEMENT(WaylandOutput)
27
QML_ADDED_IN_VERSION(1, 0)
28
public
:
29
QWaylandQuickOutput();
30
QWaylandQuickOutput(QWaylandCompositor *compositor, QWindow *window);
31
32
void
update() override;
33
34
bool
automaticFrameCallback()
const
;
35
void
setAutomaticFrameCallback(
bool
automatic);
36
37
QQuickItem *pickClickableItem(
const
QPointF &position);
38
39
public
Q_SLOTS:
40
void
updateStarted();
41
42
Q_SIGNALS:
43
void
automaticFrameCallbackChanged();
44
45
protected
:
46
void
initialize() override;
47
void
classBegin() override;
48
void
componentComplete() override;
49
50
private
:
51
void
doFrameCallbacks();
52
53
bool
m_updateScheduled =
false
;
54
bool
m_automaticFrameCallback =
true
;
55
};
56
57
QT_END_NAMESPACE
58
59
#
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
QWaylandQuickOutput
Definition
qwaylandquickoutput.h:21
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(animation)
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(liburing)
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(wayland_compositor_quick)
qtwayland
src
compositor
compositor_api
qwaylandquickoutput.h
Generated on
for Qt by
1.18.0