python 2.7 - pyqtgprah: disable response to keypress events -


i have embedded pyqtgraph imageview qt qgraphisview widget. default, imageview changes displayed index value, if "left" or "right" keyboard button pressed. in application, press events should used somee other tasks, why need disable keypress events pyqtgraph.

simply hiding roiplot image.ui.roiplot.hide() doesn't help. buttons pressed, index changed.

is there way disable keypress events?

thanks lot!


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

Qt QGraphicsScene is not accessable from QGraphicsView (on Qt 5.6.1) -

What is happening when Matlab is starting a "parallel pool"? -