aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/window/plugins.qmltypes
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@theqtcompany.com>2014-12-09 09:53:01 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-12-09 11:43:35 +0100
commit14f0efa0aea942b4483796d42e618366257f7a36 (patch)
treeb0a1ebfbb70c07bdb0041e48e2852f241724d439 /src/imports/window/plugins.qmltypes
parent87e4279651cf691e82f266d61330f8daf4300da2 (diff)
parente701690f79a7a0eecdb98d32c8f5130b67637256 (diff)
Merge "Merge remote-tracking branch 'origin/5.4.0' into 5.4" into refs/staging/5.4
Diffstat (limited to 'src/imports/window/plugins.qmltypes')
-rw-r--r--src/imports/window/plugins.qmltypes15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/imports/window/plugins.qmltypes b/src/imports/window/plugins.qmltypes
index 27c0299c32..fa320886db 100644
--- a/src/imports/window/plugins.qmltypes
+++ b/src/imports/window/plugins.qmltypes
@@ -38,8 +38,10 @@ Module {
Property { name: "desktopAvailableHeight"; type: "int"; isReadonly: true }
Property { name: "logicalPixelDensity"; type: "double"; isReadonly: true }
Property { name: "pixelDensity"; type: "double"; isReadonly: true }
+ Property { name: "devicePixelRatio"; type: "double"; isReadonly: true }
Property { name: "primaryOrientation"; type: "Qt::ScreenOrientation"; isReadonly: true }
Property { name: "orientation"; type: "Qt::ScreenOrientation"; isReadonly: true }
+ Property { name: "orientationUpdateMask"; type: "Qt::ScreenOrientations" }
Signal { name: "desktopGeometryChanged" }
Method {
name: "angleBetween"
@@ -104,11 +106,20 @@ Module {
Method { name: "releaseResources" }
}
Component {
+ name: "QQuickWindowAttached"
+ prototype: "QObject"
+ Property { name: "visibility"; type: "QWindow::Visibility"; isReadonly: true }
+ Property { name: "active"; type: "bool"; isReadonly: true }
+ Property { name: "activeFocusItem"; type: "QQuickItem"; isReadonly: true; isPointer: true }
+ Property { name: "contentItem"; type: "QQuickItem"; isReadonly: true; isPointer: true }
+ }
+ Component {
name: "QQuickWindowQmlImpl"
defaultProperty: "data"
prototype: "QQuickWindow"
- exports: ["QtQuick.Window/Window 2.1"]
- exportMetaObjectRevisions: [0]
+ exports: ["QtQuick.Window/Window 2.1", "QtQuick.Window/Window 2.2"]
+ exportMetaObjectRevisions: [0, 1]
+ attachedType: "QQuickWindowAttached"
Property { name: "visible"; type: "bool" }
Property { name: "visibility"; type: "Visibility" }
Signal {