    properties: {
            "hasChildren": styleData.hasChildren,
            "hasSibling": styleData.hasSibling && !styleData.isExpanded
        }
        on: styleData.isExpanded
        selected: styleData.selected
        hasFocus: __styleitem.active

        Component.onCompleted: {
            root.__indentation = si.pixelMetric("treeviewindentation")
            implicitWidth = root.__indentation
            implicitHeight = implicitWidth
            var rect = si.subControlRect("dummy");
            width = rect.width
            height = rect.height
        }
    }
}
