def indexXY(self, index):
        """Returns the top left coordinates of the item for the given index

        :param index: index for the item
        :type index: :qtdoc:`QModelIndex`
        :returns: (int, int) -- (x, y) view coordinates of item
        """
        rect = self.visualRect(index)
        return rect.x(), rect.y()
Returns the top left coordinates of the item for the given index

        :param index: index for the item
        :type index: :qtdoc:`QModelIndex`
        :returns: (int, int) -- (x, y) view coordinates of item