Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.2, 5.11.0
-
None
Description
QTreeView and QTreeWidget do not set the state QStyle::State_Editing for items that are being edited. You can query QStyle::State_MouseOver and other states in the state parameter in the QItemDelegate's paint method but QStyle::State_Editing does not work.
See the attached example. Run it and hover over the QTreeWidgetItem's. Notice that the editing state message is never printed out to the console but the hover message does get printed.
I have a patch ready that I'll submit shortly.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-68947 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
232574,3 | Set QStyle::State_Editing in QTreeView for QStyledItemDelegate | dev | qt/qtbase | Status: NEW | -1 | 0 |