25 Commits

Author SHA1 Message Date
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
6e02d953fd Fix interaction of locked scale ranges with zoom distance range tool
in elevation profile canvas

Fixes #53303
2023-06-28 17:16:39 +10:00
Nyall Dawson
3009999748 Remove duplicate code 2022-05-07 21:42:54 +10:00
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
19c2c3d3e2 Add a dedicated x-axis zoom tool for elevation profile widget 2022-04-07 19:22:19 +10:00
Nyall Dawson
06087eebee Fix casting 2022-04-07 19:22:19 +10:00
Nyall Dawson
2ee10c1327 Rename QgsPlotToolPan file 2022-04-07 19:22:19 +10:00
Nyall Dawson
62450ec373 Move files to elevation directory 2022-04-07 19:22:19 +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
882cf7e58d Avoid initially clipped plot render 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
4c4293d9e5 Fix progress bar 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
0d88a6f834 Documentation 2022-04-07 19:22:19 +10:00
Nyall Dawson
915f5d30fc Show rubber band for profile curve 2022-04-07 19:22:19 +10:00
Nyall Dawson
9970782045 Use actual ranges of plot when rendering, use correct raster/mesh profile symbols 2022-04-07 19:22:19 +10:00
Nyall Dawson
6d4c2803f6 Start on profile renderer class 2022-04-07 19:22:19 +10:00
Nyall Dawson
9a6aad8de5 Stupid solution to sip build errors 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