Ok, so I've changed a lot with my program in the last little while and now I'm back at this stage....
I have stuff drawing in drawForeground of my QGraphicsView implementation, but everything seems to be in QGraphicsScene coordinates...all relative to the scene....which isn't very helpful to me....I was wondering if there was a way to set it to the coordinates of the viewport?....I'm sure it's a function I overlooked, but thought I'd ask while I look some more...
Thanks
Jonathan
edit://going to fool around with initFrom...looks promising
ok, I just tried, painter->initFrom(this->viewport()); in my QGraphicsView....still not working...
when I draw from 0 to viewport()->height() it still draws a line from 0 on the scene to the length of the viewports height
Bookmarks