Vladimir
8th June 2007, 15:16
I'm trying to use QGraphicsItem with ItemIgnoresTransformations flag and I have a problem with rubberband selection (selection by single click works fine): it seems that transformations are not ignored in by setSelectionArea function which is used during rubberband selection. Simple example:
1. Create a scene, a view and scale the view by 10.
2. Create Ellipse item with width 5 and ItemIgnoresTransformations flag
It will appear in the view unscaled (5 pixel width, not 50)
3. Try to select it using rubberband - it will act as if ellipse is 50 px width !
Looks like a bug in QT. Are there anyone you can confirm ? Should I submit bugreport ?
1. Create a scene, a view and scale the view by 10.
2. Create Ellipse item with width 5 and ItemIgnoresTransformations flag
It will appear in the view unscaled (5 pixel width, not 50)
3. Try to select it using rubberband - it will act as if ellipse is 50 px width !
Looks like a bug in QT. Are there anyone you can confirm ? Should I submit bugreport ?