import QtQuick 2.2 import QtQuick.Controls 1.1 import QtQuick.Controls.Styles 1.1 import QtQuick.Layouts 1.1 import "." DebugInfoList { id: storage collapsible: true title : qsTr("Storage") componentDelegate: structComp Component { id: structComp ScrollView { property alias members: typeLoader.members; property alias value: typeLoader.value; anchors.fill: parent StructView { id: typeLoader members: [] value: {} Layout.preferredWidth: parent.width } } } function setData(members, values) { storage.item.value = {}; storage.item.members = []; storage.item.value = values; //TODO: use a signal for this? storage.item.members = members; } }