Hi,
there are two QGraphicsScene's in my application. Is it ok to use QGraphicsItem's from one scene as parents for QGraphicsItem's from another scene? I am not sure if that is correct.
Thanks in advance!
Printable View
Hi,
there are two QGraphicsScene's in my application. Is it ok to use QGraphicsItem's from one scene as parents for QGraphicsItem's from another scene? I am not sure if that is correct.
Thanks in advance!
No, you can't do that.
Thank you very much! Could you please point out corresponding notes in the Qt documentation?
No, I can't. You know where to look, you can try to find it yourself. For instance there is a statement that a child item is always painted on top of its parent. There is another statement somewhere stating that an event ignored by the item is forwarded not to its parent as it is with widgets but rather to an item "under" the original item. There is also a set of statements describing that transforming an item has effect on all its children.