Where should I be catching touch events for painting on a QGraphicsScene?
-
13-11-2019 - |
Question
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 events at the view and pass them down to the scene or something else. What is the advice here?
Solution
How about the the pinch zoom example? It uses a QGraphicsView as the touch area.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow