New interaction system
Hi, I worked some time ago on improving the interaction system of QCustomPlot. The following features were missing for me :
- Zoom to a rectangle
- Drag on speficied axis (horizontal and/or vertical)
- Change associated mouse buttons
- Add keyboard modifiers for some interactions
So I added them to your source code, and tried to match your syntax and coding rules so that it fits as best as possible.
Now I would like to merge them. You probably won't like it at first try, so just tell me what to improve and I'll be happy to work on it again.
Thanks
Edited by Emanuel Eichhammer