11 Commits

Author SHA1 Message Date
Nyall Dawson
7f7edd2be3 Add signal when plot area is changed 2022-05-07 21:42:54 +10:00
Nyall Dawson
28f02c4890 Fix clazy warning 2022-04-27 10:24:12 +10:00
Nyall Dawson
27dc6e7a7d Snap plot cursor to sampled heights
And add a "snapping" toggle to disable this behavior
2022-04-15 12:15:54 +10:00
Nyall Dawson
60e8f87f93 Identation and sip 2022-04-07 19:22:19 +10:00
Nyall Dawson
6480b974d7 Implement plot panning and zoom
With all the usual interaction, e.g.

- middle mouse button + drag = pan
- hold space + drag = pan
- wheel = zoom
- ctrl + wheel = smooth zoom
2022-04-07 19:22:19 +10:00
Nyall Dawson
2653f5146f Implement plot panning by drag 2022-04-07 19:22:19 +10:00
Nyall Dawson
52509be814 Condense excessive class heirarchy, fix unit test 2022-04-07 19:22:19 +10:00
Nyall Dawson
3efdad00ff Cleanup canvas destruction and job handling 2022-04-07 19:22:19 +10:00
Nyall Dawson
f886a4b947 Try to fix sip build 2022-04-07 19:22:19 +10:00
Nyall Dawson
e98a52a017 Reintroduce sip casting 2022-04-07 19:22:19 +10:00
Nyall Dawson
141f7bf9f2 Plot wip 2022-04-07 19:22:19 +10:00