1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-15 02:00:04 +03:00

upgrade layouter debug flag to Abilities

This commit is contained in:
Michail Vourlakos 2020-11-29 18:14:56 +02:00
parent 1e985590b5
commit 7f00ff7af2
3 changed files with 5 additions and 6 deletions

View File

@ -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"

View File

@ -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

View File

@ -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