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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -