Commit 11de03d8 authored by Christiaan Janssen's avatar Christiaan Janssen
Browse files

QmlDesigner.PropertyEditor: added new properties to the image item

parent f8004713
......@@ -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
}
}
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment