I would like to have a special QGraphicsLineItem with an small gif image in one end. I would like to draw it with a cosmetic pen, so when zooming the scene by applying a transformation the line will enlarge but not become thick and the gif will mantain the same size.
How can I achieve this?