Getting mouse and button states (from a picker?)
When a mouse click occurs on the canvas of a plot, how is the mouse button state, key state, and position of that click queried?
I have plot with a canvas, that has a single point Picker. I've connect the Pickers selected signal to a slot in my class. The problem is, the slot is only called in response to unmodified left clicks. What I want is to be able to respond to any mouse click, with any modifier -- and my slot code with query the mouse button state and key state to determine what to do.
Is this possible? If so, how?
I've scoured the examples that come with Qwt, but none of them seems to have logic that does what I want.
Re: Getting mouse and button states (from a picker?)
have a look at the event_filter example, you might find what you are looking for.
Re: Getting mouse and button states (from a picker?)
Quote:
Originally Posted by
jesse_mark
have a look at the event_filter example, you might find what you are looking for.
I will take a look at that. Thank you.