Details
-
Suggestion
-
Resolution: Done
-
P2: Important
-
4.4.3
-
None
-
ae1a4a918137e99417e70a4f2c2c43f14406f993
Description
Right now the only way to remove items is removeAt(int index). If you are keeping up with items pointers, there is no easy way to just removeLayoutItem(QGraphicsLayoutItem *item) and there should be.
The current solution to this is to itemAt() to find your item, and then pass that index on to removeAt() so that it can again use itemAt internally to find the pointer to your QGraphicsLayoutItem to remove it.