Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.2, 5.4.0 Beta
-
None
-
3f7e3b1c2450a0c241cbd3a5331484bfeea219f1
Description
For a QGraphicsItem, having opacity close to 0 has the same effect as having isVisible == false. Mouse events will go straight through it, QGraphicsScene::items(...) won't return it, etc.
This important behavior is not documented in QGraphicsItem::setOpacity() (or other opacity methods), unlike QGraphicsItem::setVisible().