[Qt-interest] Fixe text on a graphics view
Vincent PREVOST
vincent.prevost.vp at gmail.com
Wed Sep 16 17:13:23 CEST 2009
Hello,
I need to display a fixe text which I need to update each time the mousse
move on the view. I need this text to be on a corner of the view, being all
the time visible whenever I resize the view or scroll in the view. and
finaly I need this text to be unchange when I change the scale of my view.
I've create a QGraphicsItem with the flag
QGraphicsItem.ItemIgnoresTransformations set to True.
On my view, I update this item in the mousseMoveEvent but how can I manage
to have this item in a corner whenever I change my view?
Thanks for your Help.
Vincent
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090916/d0e9402d/attachment.html
More information about the Qt-interest-old
mailing list