I would like to post artifitial mouse events in QGraphicsScene.
I have an application that parses some data and should be able to generate mouse clicks and moves based on it. Sometimes there may be several events at the same time.
I tried createing a new QGraphicsSceneMouseEvent and then set the data fields (setButton(), setPos(), setButtonDownPos(), etc) and then post the event to the Scene, but nothing happens.
Should I set absolutley everything (setPos, setScenePos, setLastPos, setLastScenePos) or setting just the scene positions is enaugh?
Bookmarks