Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qwaylandquickhardwarelayer_p.h
Go to the documentation of this file.
1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QWAYLANDQUICKHARDWARELAYER_P_H
5#define QWAYLANDQUICKHARDWARELAYER_P_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 <QtWaylandCompositor/QWaylandQuickItem>
19#include <QtCore/private/qglobal_p.h>
20
22
24
25class Q_WAYLANDCOMPOSITOR_EXPORT QWaylandQuickHardwareLayer : public QObject, public QQmlParserStatus
26{
29 Q_DECLARE_PRIVATE(QWaylandQuickHardwareLayer)
30 Q_PROPERTY(int stackingLevel READ stackingLevel WRITE setStackingLevel NOTIFY stackingLevelChanged)
31 QML_NAMED_ELEMENT(WaylandHardwareLayer)
33public:
34 explicit QWaylandQuickHardwareLayer(QObject *parent = nullptr);
36
37 int stackingLevel() const;
38 void setStackingLevel(int level);
39
40 QWaylandQuickItem *waylandItem() const;
41
42 void classBegin() override;
43 void componentComplete() override;
44
45 void setSceneGraphPainting(bool);
46 void initialize();
47
50};
51
53
54#endif // QWAYLANDQUICKHARDWARELAYER_P_H
\inmodule QtCore
Definition qobject.h:90
The QQmlParserStatus class provides updates on the QML parser state.
virtual void classBegin()=0
Invoked after class creation, but before any properties have been set.
virtual void componentComplete()=0
Invoked after the root component that caused this instantiation has completed construction.
\qmltype WaylandQuickItem \instantiates QWaylandQuickItem \inqmlmodule QtWayland.Compositor
Combined button and popup list for selecting options.
static bool initialize()
Definition qctf.cpp:67
GLenum GLuint GLint level
#define QML_NAMED_ELEMENT(NAME)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
#define Q_PROPERTY(...)
#define Q_OBJECT
#define Q_INTERFACES(x)
#define Q_SIGNALS
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent