what does topLevelItem in QTreeWidget means?
-
Top level items in a QTreeWidget do not have parent items.
Take a look on the pictures in QTreeWidget description
The most left items on each image are the top level items.
Not sure if forum will show my drawing correctlyinvisible_root top_level_1 not_top_level_1 not_top_level_2 top_level_2 not_top_level_1 not_top_level_2
Invisible_root is not visible in QTreeWidget and is accessible by QTreeWidget::invisibleRootItem()