From af43988ce061bb86b43774d3bba5b9268493fced Mon Sep 17 00:00:00 2001 From: Michail Vourlakos Date: Tue, 14 Feb 2017 22:41:04 +0200 Subject: [PATCH] add localGeometry and editMode in debug window --- containment/contents/ui/DebugWindow.qml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/containment/contents/ui/DebugWindow.qml b/containment/contents/ui/DebugWindow.qml index 5def8de71..9f915b3fe 100644 --- a/containment/contents/ui/DebugWindow.qml +++ b/containment/contents/ui/DebugWindow.qml @@ -91,6 +91,15 @@ Window{ text: dock.maskArea.x +", "+ dock.maskArea.y+" "+dock.maskArea.width+"x"+dock.maskArea.height } + Text{ + text: "Local Geometry"+space + } + + Text{ + text: visibilityManager.localGeometry.x + ", " + visibilityManager.localGeometry.y + " " + + visibilityManager.localGeometry.width + "x" + visibilityManager.localGeometry.height + } + Text{ text: "Is Hidden (flag)"+space } @@ -117,6 +126,19 @@ Window{ } } + Text{ + text: "Edit Mode"+space + } + + Text{ + text: { + if (root.editMode) + return "Yes"; + else + return "No"; + } + } + Text{ text: " ----------- " }