upgrade layouter debug flag to Abilities

pull/21/head
Michail Vourlakos 4 years ago
parent 1e985590b5
commit 7f00ff7af2

@ -1098,7 +1098,7 @@ Item {
anchors.bottom: parent.bottom
anchors.left: parent.left
active: root.debugModeLayouter
active: appletItem.debug.layouterEnabled
sourceComponent: Debug.Tag{
label.text: (root.isHorizontal ? appletItem.width : appletItem.height) + labeltext
label.color: appletItem.isAutoFillApplet ? "green" : "white"

@ -423,7 +423,7 @@ Item{
Loader{
anchors.top: startLayout.top
anchors.horizontalCenter: startLayout.horizontalCenter
active: root.debugModeLayouter
active: debug.layouterEnabled
readonly property Item debugLayout: layouter.startLayout
@ -443,7 +443,7 @@ Item{
Loader{
anchors.top: endLayout.top
anchors.horizontalCenter: endLayout.horizontalCenter
active: root.debugModeLayouter
active: debug.layouterEnabled
readonly property Item debugLayout: layouter.endLayout
@ -463,7 +463,7 @@ Item{
Loader{
anchors.top: mainLayout.top
anchors.horizontalCenter: mainLayout.horizontalCenter
active: root.debugModeLayouter
active: debug.layouterEnabled
z:70
readonly property Item debugLayout: layouter.mainLayout
@ -484,7 +484,7 @@ Item{
Loader{
anchors.top: mainLayout.top
anchors.left: parent.left
active: root.debugModeLayouter
active: debug.layouterEnabled
readonly property Item debugLayout: layoutsContainer

@ -63,7 +63,6 @@ Item {
////BEGIN properties
property bool debugMode: Qt.application.arguments.indexOf("--graphics")>=0
property bool debugModeInputMask: Qt.application.arguments.indexOf("--input")>=0
property bool debugModeLayouter: Qt.application.arguments.indexOf("--layouter")>=0
property bool debugModeLocalGeometry: Qt.application.arguments.indexOf("--localgeometry")>=0
property bool debugModeSpacers: Qt.application.arguments.indexOf("--spacers")>=0

Loading…
Cancel
Save