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
Post a Comment