Discussion:
How to swap the functions for middle mouse and right mouse?
. 康剑斌
2012-09-26 09:50:26 UTC
Permalink
Hello,
I want to use middle mouse for context menu and zooming, and right
mouse for pan.
How to?

thx
Pierre Raybaut
2012-10-29 13:07:40 UTC
Permalink
Hi,

Unfortunately for you, there is no way to do this without modifying
guiqwt source code.
You would have to replace Qt.MidButtton by Qt.RightButton and
vice-versa in here:
http://code.google.com/p/guiqwt/source/browse/guiqwt/events.py#642

Cheers,
-Pierre
Post by . 康剑斌
Hello,
I want to use middle mouse for context menu and zooming, and right
mouse for pan.
How to?
thx
Loading...