diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml index 7b1c502e9e53e2db3b2da9889133437116d2240e..4a0ee2ce824b0e8ff0340365d528a61a19fe2263 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/ImageSpecifics.qml @@ -17,5 +17,42 @@ GroupBox { backendValues.source.value = fileName; } } + + QWidget { + layout: HorizontalLayout { + Label { + text: "Fill Mode" + } + + ComboBox { + items : { ["Stretch", "PreserveAspectFit", "PreserveAspectCrop", "Tile", "TileVertically", "TileHorizontally"] } + currentText: backendValues.fillMode.value; + onItemsChanged: { + currentText = backendValues.fillMode.value; + } + onCurrentTextChanged: { + if (count == 6) + backendValues.fillMode.value = currentText; + } + } + } + } + + QWidget { + layout: HorizontalLayout { + Label { + text: "Antialiasing:" + } + + CheckBox { + text: "Smooth"; + backendValue: backendValues.smooth + baseStateFlag: isBaseState; + checkable: true; + x: 28; // indent a bit + } + } + } + } }