开发者

Where should I be catching touch events for painting on a QGraphicsScene?

I want to reimplement the Qt fingerpaint example using my QGraphicsScene rather than a QWidget. However I cannot find an example of this so am unsure if I should capture the e开发者_如何学JAVAvents at the view and pass them down to the scene or something else. What is the advice here?


How about the the pinch zoom example? It uses a QGraphicsView as the touch area.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜