Merge PR #622: Show interfaces in thing classs details

This commit is contained in:
Jenkins nymea 2021-08-04 14:28:36 +02:00
commit 9406f59270

View File

@ -60,6 +60,20 @@ SettingsPageBase {
}
}
SettingsPageSectionHeader {
text: qsTr("Interfaces")
}
Repeater {
model: root.thingClass.interfaces
delegate: Label {
Layout.fillWidth: true
Layout.leftMargin: Style.margins
Layout.rightMargin: Style.margins
text: modelData
}
}
SettingsPageSectionHeader {
text: qsTr("Parameters")
visible: root.thingClass.paramTypes.count > 0