开发者

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

开发者 https://www.devze.com 2023-03-06 03:27 出处:网络
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

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

精彩评论

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

关注公众号