This example illustrates how to select the items in WinUI TreeView (SfTreeView)? WinUI TreeView (SfTreeView) allows selecting the items either programmatically or mouse click/touch interactions by ...
PySide2 (Qt for Python) で複数アイテムを表示する際には、List / Tree / Table のそれぞれに対して Widget 系と View 系の二種類のクラスが用意されていますが、ごく簡単なプログラムでない限り、Model / View に基づいた QListView / QTreeView / QTableView を使うのが良いようです。
一部の結果でアクセス不可の可能性があるため、非表示になっています。
アクセス不可の結果を表示する