-
Notifications
You must be signed in to change notification settings - Fork 364
/
mywindow_p.h
35 lines (30 loc) · 879 Bytes
/
mywindow_p.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#pragma once
#include "mywindow.h"
#include <qquickrendercontrol.h>
#include <private/qquickscreen_p.h>
#include <private/qquickview_p.h>
#include <QtQuick/QQuickWindow>
#include <QtCore/QCoreApplication>
#include <QtQml/QQmlEngine>
#include <private/qguiapplication_p.h>
#include <private/qqmlengine_p.h>
#include <private/qv4qobjectwrapper_p.h>
#include <private/qqmlglobal_p.h>
#include <qpa/qplatformintegration.h>
class MyQuickWindowPrivate : public QQuickWindowPrivate
{
public:
MyQuickWindowPrivate()
: complete(false)
, visible(false)
, visibility(QQuickWindow::AutomaticVisibility)
{
}
bool complete;
bool visible;
qreal dpiRatio;
QMetaObject::Connection physicalDpiConnection;
QMetaObject::Connection logicalDpiConnection;
QQuickWindow::Visibility visibility;
QV4::PersistentValue rootItemMarker;
};