aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Gruendl <henning.gruendl@qt.io>2024-04-22 17:09:16 +0200
committerHenning Gründl <henning.gruendl@qt.io>2024-04-22 15:22:46 +0000
commitd83e7d3d3d6c4f436a774e217d42d5a0c275517b (patch)
treea20437d1f8d928e576ea976fd8d2b1f53cb7c4ca
parentbb6110082a51db2a0c9bea8ca9390840b6c4c431 (diff)
QmlDesigner: Add proper ranges in EffectsSection
Change-Id: If3f8b395c9a63c535f43be84d7a855196c67769e Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml12
1 files changed, 10 insertions, 2 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml
index b640d82d0b..056bd5fd60 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/EffectsSection.qml
@@ -213,6 +213,8 @@ Section {
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: root.effectNodeWrapper.properties.layerBlurRadius
+ minimumValue: 0
+ maximumValue: 250
}
ExpandingSpacer {}
@@ -252,6 +254,8 @@ Section {
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: root.effectNodeWrapper.properties.backgroundBlurRadius
+ minimumValue: 0
+ maximumValue: 250
}
ExpandingSpacer {}
@@ -376,6 +380,8 @@ Section {
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: delegate.wrapper.properties.blur
+ minimumValue: 0
+ maximumValue: 250
}
ExpandingSpacer {}
@@ -392,6 +398,8 @@ Section {
+ StudioTheme.Values.actionIndicatorWidth
backendValue: delegate.wrapper.properties.spread
enabled: modelNodeBackend.isInstanceOf("Rectangle")
+ minimumValue: -2048
+ maximumValue: 2048
}
ExpandingSpacer {}
@@ -414,8 +422,8 @@ Section {
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: delegate.wrapper.properties.offsetX
- maximumValue: 0xffff
minimumValue: -0xffff
+ maximumValue: 0xffff
}
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }
@@ -431,8 +439,8 @@ Section {
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: delegate.wrapper.properties.offsetY
- maximumValue: 0xffff
minimumValue: -0xffff
+ maximumValue: 0xffff
}
Spacer { implicitWidth: StudioTheme.Values.controlLabelGap }