Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.3, 5.13.0
-
-
d8688d44840dd3f2324769d10b927c442b42e2c0 (qt/qtbase/5.12)
Description
As mentioned in QTBUG-38077 and in the documentation of QGraphicsItem::setEnabled(), that for disabled items, mouse events will be discarded. But with QGraphicsItem, when the cursor is set using setCursor() for a disable item, the set cursor is shown for that item. Like:
graphicItem->setEnabled(false);
graphicItem->setCursor(Qt::WaitCursor);
The cursor shouldn't change to Wait-cursor for a disabled item.