How set opacity on QGraphicsItem
- by La Chamelle
Hello,
i have a inherited from QGraphicsScene and QGraphicsItem to create my own classes. I use Qt 4.6.
I want to set a specific opacity on each items of my scene. I use setOpacity : setOpacity method, but its not the result i hope.
I want to have for example one item opaque and an other transparent (to see the desktop, or the other application).
But if i dont set the opacity of the QGraphicsView to 0.5, i have not the transparancy.
And if the QGraphicsView is set to 0.5, the item is not real opaque.
What should i do ?
Thanks you.