diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml
index 40c3040e9256bdf6480f98b51b98a981abb25f43..02535b446f5b5b2a489053694f508d613d5776fd 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/LineEdit.qml
@@ -8,6 +8,7 @@ QWidget {
     property alias enabled: lineEdit.enabled
     property var baseStateFlag
     property alias text: lineEditWidget.text
+    property alias readOnly: lineEditWidget.readOnly
 
     minimumHeight: 24;
 
diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml
index ca298ba57cddb142f4c9751a46876aaa0fe9c2cf..e5fbfd10e1a5943e18ad6f852d980d136e7b0944 100644
--- a/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml
+++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/Type.qml
@@ -22,6 +22,10 @@ GroupBox {
             }
         }
         QWidget {
+            property var isEnabled: isBaseState
+            onIsEnabledChanged: idLineEdit.setStyleSheet("color: "+(isEnabled?scheme.defaultColor:scheme.disabledColor));
+            ColorScheme{ id:scheme }
+
             layout: HorizontalLayout {
                 Label {
                     text: "Id";