QmlDesigner: Remove smooth from image specifics

Remove the smooth property from image specifics as it is also available
in the advanced section.

Task-number: QDS-8726
Change-Id: I842a7978e65d4578434b158340484649abe4956f
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
Henning Gruendl
2023-09-22 17:09:04 +02:00
committed by Henning Gründl
parent 8e0e097f55
commit 3612039365
3 changed files with 1 additions and 37 deletions

View File

@@ -33,7 +33,7 @@ Section {
PropertyLabel { PropertyLabel {
text: qsTr("Smooth") text: qsTr("Smooth")
tooltip: qsTr("Uses smooth filtering when the image is scaled or transformed.") tooltip: qsTr("Toggles if the smoothing is performed using linear interpolation method. Keeping it unchecked would follow non-smooth method using nearest neighbor. It is mostly applicable on image based items. ")
blockedByTemplate: !backendValues.smooth.isAvailable blockedByTemplate: !backendValues.smooth.isAvailable
} }

View File

@@ -216,24 +216,6 @@ Column {
ExpandingSpacer {} ExpandingSpacer {}
} }
PropertyLabel {
text: qsTr("Smooth")
tooltip: qsTr("Toggles if the image should be filtered smoothly when transformed.")
blockedByTemplate: !backendValues.smooth.isAvailable
}
SecondColumnLayout {
CheckBox {
text: backendValues.smooth.valueToString
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.smooth
enabled: backendValue.isAvailable
}
ExpandingSpacer {}
}
PropertyLabel { PropertyLabel {
text: qsTr("Cache") text: qsTr("Cache")
tooltip: qsTr("Toggles if the image is saved to the cache memory.") tooltip: qsTr("Toggles if the image is saved to the cache memory.")

View File

@@ -224,23 +224,5 @@ Section {
ExpandingSpacer {} ExpandingSpacer {}
} }
PropertyLabel {
text: qsTr("Smooth")
tooltip: qsTr("Uses smooth filtering when the image is scaled or transformed.")
blockedByTemplate: !backendValues.smooth.isAvailable
}
SecondColumnLayout {
CheckBox {
text: backendValues.smooth.valueToString
implicitWidth: StudioTheme.Values.twoControlColumnWidth
+ StudioTheme.Values.actionIndicatorWidth
backendValue: backendValues.smooth
enabled: backendValue.isAvailable
}
ExpandingSpacer {}
}
} }
} }