[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] exposing QGraphicsSceneMouseEvent.setScenePos in PyQt5
From:       Phil Thompson <phil () riverbankcomputing ! com>
Date:       2015-03-16 17:09:05
Message-ID: efadf61237e8b817046e51c79eace4d4 () riverbankcomputing ! com
[Download RAW message or body]

On 13/03/2015 1:30 am, Erik Hvatum wrote:
> Hi Phil,
> 
> In sip/QtWidgets/qgraphicssceneevent.sip, the interface for
> QGraphicsSceneEvent can be seen to expose a private API function
> (QGraphicsSceneEvent.setWidget).  The similar private member functions 
> for
> setting the scenePos and related attributes of QGraphicsScene*Event 
> objects
> are not exposed, however.  These would be very useful for allowing
> interaction with QGraphicsItems from another scene that are painted 
> into a
> QGraphicsView derivative's viewport by calling 
> QGraphicsScene.render(..) in
> the QGraphicsView derivative's drawForeground function.

I will not support anything that is not part of the public API. I've 
removed setWidget().

Phil
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic