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 "qquickscreen_p.h"
18#include "qquickwindow_p.h"
19#include <QtQml/private/qv4persistent_p.h>
20#include "qquickwindowcontainer_p.h"
21
22QT_BEGIN_NAMESPACE
23
24class Q_QUICK_EXPORT QQuickWindowQmlImplPrivate : public QQuickWindowPrivate
25{
26public:
27 QQuickWindowQmlImplPrivate();
28
29 bool componentComplete = true;
30
31 bool visible = false;
32 bool visibleExplicitlySet = false;
33 QQuickWindow::Visibility visibility = QQuickWindow::AutomaticVisibility;
34 bool visibilityExplicitlySet = false;
35
36 QV4::PersistentValue rootItemMarker;
37
38 QMetaObject::Connection itemParentWindowChangeListener;
39
40 QObject *visualParent = nullptr;
41 QPointer<QQuickWindowContainer> windowContainer;
42 qreal z = 0.0;
43 mutable QQuickScreenInfo *screenInfo = nullptr;
44};
45
46QT_END_NAMESPACE
47
48#endif // QQUICKWINDOWMODULE_P_P_H
49

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