Show interfaces in thing classs details
This commit is contained in:
parent
5da4fd1399
commit
5cbe0023fd
@ -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 {
|
SettingsPageSectionHeader {
|
||||||
text: qsTr("Parameters")
|
text: qsTr("Parameters")
|
||||||
visible: root.thingClass.paramTypes.count > 0
|
visible: root.thingClass.paramTypes.count > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user