'Iterate over the dendrogram leaf anchor points (:class:`QPointF`).
The points are in the widget local coordinates.'

def leaf_anchors(self):

    for item in self.leaf_items():
        anchor = QPointF(item.element.anchor)
        (yield self.mapFromItem(item, anchor))
