forked from qt-creator/qt-creator
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:
committed by
Henning Gründl
parent
8e0e097f55
commit
3612039365
@@ -33,7 +33,7 @@ Section {
|
||||
|
||||
PropertyLabel {
|
||||
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
|
||||
}
|
||||
|
||||
|
@@ -216,24 +216,6 @@ Column {
|
||||
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 {
|
||||
text: qsTr("Cache")
|
||||
tooltip: qsTr("Toggles if the image is saved to the cache memory.")
|
||||
|
@@ -224,23 +224,5 @@ Section {
|
||||
|
||||
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 {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user