PDA

View Full Version : How to forward cut/copy/paste/delete signals to the right QGraphicsScene



wayfaerer
11th April 2012, 04:16
I have multiple QGraphicsScenes (and respective QGraphicsViews) that each have cut, copy, paste, and delete virtual methods (I could also make them slots). I also have QActions for cut, copy, paste, and delete. I'm having trouble figuring out how to forward these actions to whichever scene was clicked on last, i.e., whichever one has focus. What is the best way to go about this?