summaryrefslogtreecommitdiff
path: root/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml
diff options
context:
space:
mode:
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml')
-rw-r--r--share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml34
1 files changed, 17 insertions, 17 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml
index b73e71ffc1..7ac6bdbbf9 100644
--- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml
+++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/RectangleSpecifics.qml
@@ -39,30 +39,30 @@ Column {
Section {
anchors.left: parent.left
anchors.right: parent.right
- caption: "Color"
+ caption: qsTr("Color")
ColorEditor {
- id: colorEditor
- color: backendValues.color.value
- onColorChanged: {
- //backendValues.color.value = color
- //Delay setting the color to keep ui responsive
- colorEditorTimer.restart()
- }
+ caption: qsTr("Color")
+ backendendValue: backendValues.color
+ supportGradient: true
+ }
- Timer {
- id: colorEditorTimer
- repeat: false
- interval: 100
- onTriggered: {
- backendValues.color.value = colorEditor.color
- }
- }
- }
+ }
+ Section {
+ anchors.left: parent.left
+ anchors.right: parent.right
+ caption: qsTr("Border Color")
+
+ ColorEditor {
+ caption: qsTr("Border Color")
+ backendendValue: backendValues.border_color
+ supportGradient: false
+ }
}
+
Section {
anchors.left: parent.left
anchors.right: parent.right