Treeform.indexFromItem

Treeform.indexFromItem(self, item: PySide6.QtWidgets.QTreeWidgetItem, /, column: int | None = None) PySide6.QtCore.QModelIndex