upgrade debug maskEnabled to Abilities

pull/21/head
Michail Vourlakos 4 years ago
parent 1431feae8c
commit 0f06f00855

@ -34,8 +34,6 @@ Item{
property QtObject window
property bool debugManager: Qt.application.arguments.indexOf("--mask") >= 0
property bool blockUpdateMask: false
property bool inForceHiding: false //is used when the docks are forced in hiding e.g. when changing layouts
property bool normalState : false // this is being set from updateMaskArea
@ -457,7 +455,7 @@ Item{
latteView.visibility.hide();
latteView.visibility.isHidden = true;
if (visibilityManager.debugManager) {
if (debug.maskEnabled) {
console.log("hiding animation ended...");
}
@ -478,7 +476,7 @@ Item{
// debug maskArea criteria
if (debugManager) {
if (debug.maskEnabled) {
console.log(animations.needBothAxis.count + ", " + animations.needLength.count + ", " +
animations.needThickness.count + ", " + latteView.visibility.isHidden);
@ -887,7 +885,7 @@ Item{
}
onStarted: {
if (manager.debugManager) {
if (debug.maskEnabled) {
console.log("hiding animation started...");
}
}
@ -937,7 +935,7 @@ Item{
onStarted: {
latteView.visibility.show();
if (manager.debugManager) {
if (debug.maskEnabled) {
console.log("showing animation started...");
}
}
@ -953,7 +951,7 @@ Item{
manager.inRelocationHiding = false;
autosize.updateIconSize();
if (manager.debugManager) {
if (debug.maskEnabled) {
console.log("showing animation ended...");
}

@ -28,8 +28,9 @@ ContainerAbility.Debug {
inputMaskEnabled: Qt.application.arguments.indexOf("--input")>=0
layouterEnabled: Qt.application.arguments.indexOf("--layouter")>=0
localGeometryEnabled: Qt.application.arguments.indexOf("--localgeometry")>=0
maskEnabled: Qt.application.arguments.indexOf("--mask") >= 0
overloadedIconsEnabled: Qt.application.arguments.indexOf("--overloaded-icons")>=0
spacersEnabled: Qt.application.arguments.indexOf("--spacers")>=0
timersEnabled: Qt.application.arguments.indexOf("--timers")>=0
windowEnabled: Qt.application.arguments.indexOf("--with-window")>=0
overloadedIconsEnabled: Qt.application.arguments.indexOf("--overloaded-icons")>=0
}

@ -28,10 +28,11 @@ AbilityDefinition.Debug {
inputMaskEnabled: ref.debug.inputMaskEnabled
layouterEnabled: ref.debug.layouterEnabled
localGeometryEnabled: ref.debug.localGeometryEnabled
maskEnabled: ref.debug.maskEnabled
overloadedIconsEnabled: ref.debug.overloadedIconsEnabled
spacersEnabled: ref.debug.spacersEnabled
timersEnabled: ref.debug.timersEnabled
windowEnabled: ref.debug.windowEnabled
overloadedIconsEnabled: ref.debug.overloadedIconsEnabled
readonly property AbilityDefinition.Debug local: AbilityDefinition.Debug {}

@ -29,6 +29,7 @@ AbilityDefinition.Debug {
readonly property alias inputMaskEnabled: apis.inputMaskEnabled
readonly property alias layouterEnabled: apis.layouterEnabled
readonly property alias localGeometryEnabled: apis.localGeometryEnabled
readonly property alias maskEnabled: apis.maskEnabled
readonly property alias spacersEnabled: apis.spacersEnabled
readonly property alias timersEnabled: apis.timersEnabled
readonly property alias windowEnabled: apis.windowEnabled

@ -24,8 +24,9 @@ Item {
property bool inputMaskEnabled: false
property bool layouterEnabled: false
property bool localGeometryEnabled: false
property bool maskEnabled: false
property bool overloadedIconsEnabled: false
property bool spacersEnabled: false
property bool timersEnabled: false
property bool windowEnabled: false
property bool overloadedIconsEnabled: false
}

Loading…
Cancel
Save