[Qt-interest] QGraphicsItem and setZValue..how it works?

Riccardo Roasio riccardo.roasio at gmail.com
Mon Oct 19 11:03:30 CEST 2009


Hi,

i have two QGraphicsItem with setZValue(32)
Those items are represented as rectangle on the screen

both items have childs (smallest rectangle) with setZValue(40)

The problem is this:

If i drag a child of the first item on the second one it is drawed under the
item while i espect it to be over the item due to the bigger Z value....

Whi this appens?


Thanks so much,
Riccardo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091019/b0d09ec3/attachment.html 


More information about the Qt-interest-old mailing list