QmlDesigner: Fix undefined warnings in effects

Fix the undefined warnings coming from the EffectsSection.

Change-Id: If5279a59dfe9ad10e49291e8280ac24ca1e3ce8e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2024-05-30 12:56:58 +02:00
committed by Henning Gründl
parent 1ff2c7ecb3
commit a30df83205

View File

@@ -89,7 +89,7 @@ Section {
CheckBox { CheckBox {
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: root.effectNodeWrapper.properties.visible backendValue: root.effectNodeWrapper?.properties.visible
} }
ExpandingSpacer {} ExpandingSpacer {}
@@ -204,7 +204,7 @@ Section {
CheckBox { CheckBox {
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: root.effectNodeWrapper.properties.layerBlurVisible backendValue: root.effectNodeWrapper?.properties.layerBlurVisible
} }
ExpandingSpacer {} ExpandingSpacer {}
@@ -219,7 +219,7 @@ Section {
SpinBox { SpinBox {
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: root.effectNodeWrapper.properties.layerBlurRadius backendValue: root.effectNodeWrapper?.properties.layerBlurRadius
minimumValue: 0 minimumValue: 0
maximumValue: 250 maximumValue: 250
} }
@@ -250,7 +250,7 @@ Section {
CheckBox { CheckBox {
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: root.effectNodeWrapper.properties.backgroundBlurVisible backendValue: root.effectNodeWrapper?.properties.backgroundBlurVisible
} }
ExpandingSpacer {} ExpandingSpacer {}
@@ -267,7 +267,7 @@ Section {
SpinBox { SpinBox {
implicitWidth: StudioTheme.Values.twoControlColumnWidth implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
backendValue: root.effectNodeWrapper.properties.backgroundBlurRadius backendValue: root.effectNodeWrapper?.properties.backgroundBlurRadius
minimumValue: 0 minimumValue: 0
maximumValue: 250 maximumValue: 250
} }
@@ -288,7 +288,7 @@ Section {
+ StudioTheme.Values.actionIndicatorWidth + StudioTheme.Values.actionIndicatorWidth
width: implicitWidth width: implicitWidth
typeFilter: "QtQuick.Item" typeFilter: "QtQuick.Item"
backendValue: root.effectNodeWrapper.properties.backgroundLayer backendValue: root.effectNodeWrapper?.properties.backgroundLayer
} }
ExpandingSpacer {} ExpandingSpacer {}