[PyQt] QGrahicsView and event issue

Oguz Yarimtepe comp.ogz at gmail.com
Thu Nov 13 15:41:02 GMT 2008


On Tue, 2008-11-11 at 17:32 +0100, dboddie at trolltech.com wrote:
> 
> You need to promote the QGraphicsView widget in your form to
> GraphicsView.
> To do this, open the context menu over the widget and select "Promote
> to ..."
> then add a new class to the list of promoted classes.
> 

I applied what you said and now i am able to get the keyPressEvents. But
this time i lost the scrolling when i press the arrow up and down.
Anyway to enable it? I am just able to scroll via mouse scroll now. 



More information about the PyQt mailing list