Treeform.selectionCommand Treeform.selectionCommand(self, index: PySide6.QtCore.QModelIndex | PySide6.QtCore.QPersistentModelIndex, event: PySide6.QtCore.QEvent | None = None) → PySide6.QtCore.QItemSelectionModel.SelectionFlag