Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.2.1
-
None
Description
When implementing the sizeHint method of a derived QStyledItemDelegate
that is used for a QTreeView, I found that the passed option of type
StyleOptionViewItem is not completely initialized to reflect the state
of the widget.
No matter whether the item is expanded or not in the tree view, the
QStyle::State_Open flag in the state member of the passed option is never set.