1// Copyright (C) 2020 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3#ifndef QQUICKWINDOWMODULE_P_P_H
4#define QQUICKWINDOWMODULE_P_P_H
5
6//
7// W A R N I N G
8// -------------
9//
10// This file is not part of the Qt API. It exists purely as an
11// implementation detail. This header file may change from version to
12// version without notice, or even be removed.
13//
14// We mean it.
15//
16
17#include "qquickwindow_p.h"
18#include <QtQml/private/qv4persistent_p.h>
19#include "qquickwindowcontainer_p.h"
20
21QT_BEGIN_NAMESPACE
22
23class Q_QUICK_EXPORT QQuickWindowQmlImplPrivate : public QQuickWindowPrivate
24{
25public:
26 QQuickWindowQmlImplPrivate();
27
28 bool componentComplete = true;
29
30 bool visible = false;
31 bool visibleExplicitlySet = false;
32 QQuickWindow::Visibility visibility = QQuickWindow::AutomaticVisibility;
33 bool visibilityExplicitlySet = false;
34
35 QV4::PersistentValue rootItemMarker;
36
37 QMetaObject::Connection itemParentWindowChangeListener;
38
39 QObject *visualParent = nullptr;
40 QPointer<QQuickWindowContainer> windowContainer;
41 qreal z = 0.0;
42};
43
44QT_END_NAMESPACE
45
46#endif // QQUICKWINDOWMODULE_P_P_H
47

Provided by KDAB

Privacy Policy
Learn Advanced QML with KDAB
Find out more

source code of qtdeclarative/src/quick/items/qquickwindowmodule_p_p.h