3270 Commits

Author SHA1 Message Date
uclaros
5e142c8933 offset maptips and clear them after a delay 2022-05-08 07:05:09 +10:00
Nyall Dawson
612164305b Ensure measure line stays in the correct location when plot is
panned/zoomed
2022-05-07 21:42:54 +10:00
Nyall Dawson
b9e10e754b Make private method public 2022-05-07 21:42:54 +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
bf046be5ad [feature] Add a measure tool to elevation profile widget
Allows measuring distances on the plot
2022-05-07 21:42:54 +10:00
Alessandro Pasotti
0d871029be
Merge pull request #48353 from elpaso/form-font-label2
Allow drag and drop forms label font and color customization
2022-05-06 09:44:27 +02:00
Nyall Dawson
4140faa178 Implement (ugly) means of converting elevation identifaction results to QgsMapToolIdentify results 2022-05-06 08:58:41 +10:00
Nyall Dawson
3c086ead05 Add framework for identifying results from profile generators 2022-05-06 08:58:41 +10:00
Samweli
998c58dff1 made canvas methods in source provider widget virtual 2022-05-03 15:58:19 +10:00
Samweli
e38f3996f7 made canvas set and get function non pure virtual functions, include tests for encode/decode uri functions in wcs
and minor cleans and code tweaks as suggested in the recent review.
2022-05-03 15:58:19 +10:00
Samweli
8846a1a265 refomartted updated provider files 2022-05-03 15:58:19 +10:00
Samweli
9fc2f58e71 updated the owssourcewidget to only update ows layers bbox 2022-05-03 15:58:19 +10:00
Samweli
d05e628ea8 set source uri when source widget is available 2022-05-03 15:58:19 +10:00
Samweli
b6f19aaffb updated prepareExtent call 2022-05-03 15:58:19 +10:00
Samweli
66503f31be removed qgsowssourcewidget from sip, updated pointer variables in qgsowssourceselect 2022-05-03 15:58:19 +10:00
Samweli
06f9f71dc8 moved prepareExtent() to private 2022-05-03 15:58:19 +10:00
Samweli
a59e4680f6 removed mapCanvasChanged() signal and made setMapCanvas virtual in the QgsAbstractDataSourceWidget 2022-05-03 15:58:19 +10:00
Samweli
5e7e0ae3d3 updated the raster layer properties dialog and wcs provider to accommodate adding an ows provider source widget 2022-05-03 15:58:19 +10:00
Samweli
4a1f27428d enabled passing a map canvas to a provider source widget 2022-05-03 15:58:19 +10:00
Samweli
b44a62863e added ows source widget 2022-05-03 15:58:19 +10:00
Samweli
445ac09cb0 updated wcs provider to use user specified bounding box when it is available 2022-05-03 15:58:19 +10:00
Samweli
4104a62f85 change state of the map canvas to non-const so it can be used in provider dialogs spatial extent input widgets 2022-05-03 15:58:19 +10:00
Nyall Dawson
4907eb2652 Don't reset plot extent so often
Be more picky about when we force a zoom full in the elevation plot,
so that we aren't zooming out when a user makes a change like
increasing the distance tolerance or nudging the curve.
2022-05-02 12:33:19 +10:00
Alessandro Pasotti
1cb3c613d4 Add test for attribute editor element
LabelStyle
2022-04-29 14:56:19 +02:00
Julien Cabieces
012b6a46db constify methods 2022-04-29 08:21:47 +10:00
Denis Rouzaud
82da43371d avoid API break by renaming arg 2022-04-29 07:57:25 +10:00
Denis Rouzaud
6dd66759cd sipify 2022-04-29 07:57:25 +10:00
Alessandro Pasotti
78fc3cae7e Individual options for font and color 2022-04-28 10:51:37 +02:00
Alessandro Pasotti
e1384446d2 Remove qgsformlabelformatwidget from sip 2022-04-27 11:19:10 +02:00
Alessandro Pasotti
a32f8b4ecb Address PR comments 2022-04-27 10:25:15 +02:00
Nyall Dawson
5a6524f3aa Use "regenerate" instead of "update" for re-building the profile for
a layer, as "update" is ambiguous and is associated with "repainting"
a Qt widget
2022-04-27 10:24:12 +10:00
Nyall Dawson
28f02c4890 Fix clazy warning 2022-04-27 10:24:12 +10:00
Alessandro Pasotti
9bffc1cfa5 Remove unrelated widget include 2022-04-26 14:03:21 +02:00
Alessandro Pasotti
78a8e07d58 Add sip file for label format widget 2022-04-26 14:03:21 +02:00
Alessandro Pasotti
3a05eb5c2e run sip_include 2022-04-26 14:03:21 +02:00
Alessandro Pasotti
5c6fd9638b Typo 2022-04-26 14:03:21 +02:00
Alessandro Pasotti
593780c1ea Rename setTabStyle 2022-04-26 14:03:21 +02:00
Alessandro Pasotti
2c45a3fa0f Tab color & font 2022-04-26 14:03:21 +02:00
Nyall Dawson
7861830ea9 Expose tolerance setting for elevation plots in UI 2022-04-22 07:21:26 +10:00
Nyall Dawson
cf448236a4 Hide number of decimal places widget when showing coordinate format
settings in project properties

This is controlled elsewhere, so the duplicate setting was
confusing/misleading
2022-04-21 19:05:38 +10:00
Nyall Dawson
ee5cbe93a9 Add a numeric format for geographic coordinates 2022-04-21 19:05:38 +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
Martin Dobias
74687cdabd
Merge pull request #48179 from nyalldawson/profile_feature
Add a tool to profile dock to generate an elevation profile for an existing line feature
2022-04-12 04:22:40 -07:00
Nyall Dawson
9001d8eccb Show a marker on the canvas corresponding to the hovered profile plot point 2022-04-12 02:29:11 -07:00
Nyall Dawson
4c31c81f13 Show a crosshairs over the profile plot as the mouse is moved around 2022-04-12 02:29:11 -07:00
Nyall Dawson
a4585e355e Move duplicated code for finding features from all layers on canvas to a common static function 2022-04-12 11:07:34 +10:00
Nyall Dawson
4eede35d55 Allow any symbol to be an animated symbol
Users can now indicate that a symbol should be treated as a animated
symbol, through the new "Animation Settings" option in the symbol
widget's Advanced menu.

This settings panel allows users to enable animation for the symbol
and set a specific frame rate at which the symbol should be redrawn.
When enabled, the @symbol_frame variable can be used in any
symbol data defined property in order to animate that property.

For instance, setting the symbol's rotation to the data defined
expression

    @symbol_frame % 360

will cause the symbol to rotate over time. (with rotation speed
dictated by the symbol's refresh rate)
2022-04-09 18:14:44 +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