Search code examples
qtmulti-touchqgraphicsviewqgraphicsscene

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 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.