forked from qt-creator/qt-creator
QmlDesigner: Minor Fixes for QDS MCU compatibility
Change-Id: I401ecf9ce12d7020e78a5449b321fb7927caffed Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
bdbb0baa0f
commit
7d21caabdb
@@ -64,18 +64,19 @@ Column {
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
caption: "Rectangle"
|
||||
visible: backendValues.border_color.isAvailable
|
||||
|
||||
SectionLayout {
|
||||
rows: 2
|
||||
Label {
|
||||
text: qsTr("Border")
|
||||
disabledState: !backendValues.border_width.isAvailable
|
||||
}
|
||||
SecondColumnLayout {
|
||||
SpinBox {
|
||||
backendValue: backendValues.border_width
|
||||
hasSlider: true
|
||||
Layout.preferredWidth: 120
|
||||
enabled: backendValue.isAvailable
|
||||
}
|
||||
ExpandingSpacer {
|
||||
|
||||
|
@@ -303,7 +303,7 @@ void ConnectionModel::addConnection()
|
||||
ModelNode newNode = connectionView()->createModelNode("QtQuick.Connections",
|
||||
nodeMetaInfo.majorVersion(),
|
||||
nodeMetaInfo.minorVersion());
|
||||
QString source = "print(\"clicked\")";
|
||||
QString source = "console.log(\"clicked\")";
|
||||
|
||||
if (connectionView()->selectedModelNodes().count() == 1) {
|
||||
ModelNode selectedNode = connectionView()->selectedModelNodes().constFirst();
|
||||
|
Reference in New Issue
Block a user