[Qt-interest] Immovable QGraphicsItems when the QGraphicsView moves. How?

Gordon Schumacher whiplash at pobox.com
Tue Apr 20 16:55:05 CEST 2010


On Sat, 17 Apr 2010 18:24:40 +0300, Salvatore Iovene
<salvatore at iovene.com> wrote:
> I'd like to have so OSD (On Screen Display) objects, such as Score, a
> Radar Map, and other overlay elements that are not supposed to move.
>
> The problem is that they get world coordinates, and since the
> QGraphicsView is moving around, they get out of the scene.
>
> Could you please recommend a way to have these object static in my
> scene?
>   

Just shouting out to the Trolls - I think this is the fourth request
I've seen for this sort of usage in the past few weeks; this suggests
that it might be a good case to go into the examples/ directory -
especially seeing as how I've seen several different suggestions on how
to go about it, ranging over a pretty wide degree of ugliness... :)



More information about the Qt-interest-old mailing list