silx icon indicating copy to clipboard operation
silx copied to clipboard

[plot] Is there a way to know the user is dragging the mouse to zoom

Open vallsv opened this issue 5 years ago • 2 comments

I would like to avoid to pick and display tooltips in this case.

vallsv avatar Jan 07 '20 09:01 vallsv

This looks to be already nice. Maybe enough.

mouseButton = qt.QApplication.mouseButtons()
if mouseButton == qt.Qt.NoButton:
    foo

vallsv avatar Jan 07 '20 09:01 vallsv

Nothing is exposed to get this information.

t20100 avatar Jan 08 '20 13:01 t20100