Unsolved how to setChildIndicatorPolicy(QTreeWidgetItem::ChildIndicatorPolicy policy) when use QTreeView & QAbstractItemModel?
-
how to setChildIndicatorPolicy(QTreeWidgetItem::ChildIndicatorPolicy policy) when use QTreeView & QAbstractItemModel?
when i use QTreeWidget and QTreeWidgetItem, i can use setChildIndicatorPolicy to control the visible of the triangle.
but i want to know is there any way to do this when i use QTreeView & QAbstractItemModel, the MVC way?
thank you!