21070 Commits

Author SHA1 Message Date
Mathieu Pellerin
21f99d1234 Fix doxygen check 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
9e0d077d6e Migrate randomize fill color and default opacity settings 2022-05-09 14:44:28 +10:00
Mathieu Pellerin
95b637520b Implement a QgsProjectStyleSettings class 2022-05-09 14:44:28 +10:00
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
f0946aa807 Make QgsClipper::clipLineSegment public 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
Jan Caha
061a96a9e7 fix missing bracket 2022-05-07 06:53:08 +10:00
Jan Caha
ab16477158 fix line break 2022-05-07 06:53:08 +10:00
Jan Caha
46dd681fd5 fix widget data reading - i.e. from History 2022-05-07 06:53:08 +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
2a51be0e7d Disable classes spin box for fixed range classification method 2022-05-06 13:44:31 +10:00
Nyall Dawson
e5c0a14ecd [feature] Add a new classification method for "Fixed interval"
Allows users to create graduated breaks using a specific interval
width for classes (instead of the total number of classes)

Sponsored by SLYR
2022-05-06 13:44:31 +10:00
Nyall Dawson
97bb5f6e95 Try to fix build 2022-05-06 08:58:41 +10: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
ca710d64e0 Implement identify support for point cloud 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
Andrea Giudiceandrea
1eda8b21ae
[MetaSearch] Fix error navigating the search results (#48298)
Fix the "Search error: list object has no attribute 'toXML'" that occurs navigating the search results after the second time the navigation buttons are pressed
2022-05-05 07:36:38 -04:00
Andrea Giudiceandrea
29b40e48da
[MetaSearch] fix CSW search when user/passwords are empty (Fix #48201) (#48288)
* [MetaSearch] fix CSW search when user/passwords are empty

* [MetaSearch] avoid to send username/passwords if empty
2022-05-05 06:37:21 -04: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
e163361da9 Add option to show markers over continuous surface plot 2022-05-03 12:15:02 +10:00
Nyall Dawson
826cbe37d6 [feature] Add an "interpretation" option for vector elevation profiles
Choices are "individual features" (the default behavior) or "continuous
surface". The new Continuous Surface option is designed for vector
layers which represent a continuous elevation surface, e.g contour
lines or surveyed elevation points. When selected, the elevation
chart will be rendered as a surface instead of separate features
by joining the sampled elevation results into a continuous line.

There's also the same option exposed as for raster and mesh layers
where the appearance can be toggled from a single line to a "fill
below" symbol.

Fixes #48341
2022-05-03 12:15:02 +10:00
Alexander Bruy
7743cf4641 fix tests 2022-05-02 15:55:01 +10:00
Alexander Bruy
34a20f8b2d add tests 2022-05-02 15:55:01 +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
Nyall Dawson
eeb444948f Add mechanism for python clients to setup custom QNetworkReply
preprocessors

Since it's not possible to overwrite
QgsNetworkAccessManager::createRequest, the normal Qt approach for
adding custom handling for replies is not possible. This new API
adds a QgsNetworkAccessManager.setReplyPreprocessor() method
which allows clients to add a custom reply preprocessor for implementing
their own logic for replies.

For example:

    def _on_ready_read(reply):
        print(reply.peek(reply.bytesAvailable()))

    def _my_preprocessor(request, reply):
        if reply.operation() == QNetworkAccessManager.PutOperation:
            reply.readyRead.connect(partial(_on_ready_read, reply))

    QgsNetworkAccessManager.setReplyPreprocessor(_my_preprocessor)

Fixes #48169
2022-05-02 12:31:42 +10:00
Nyall Dawson
c9678be608 Simplify api 2022-05-01 09:13:08 +10:00
Nyall Dawson
e415cad690 Avoid unnecessary layer redraw 2022-05-01 09:13:08 +10:00
Nyall Dawson
6ca9c4bdc1 Clearer name for signal 2022-05-01 09:13:08 +10:00
Nyall Dawson
2c9e37d4ba Add setting to respect point cloud coloring in profile plots 2022-05-01 09:13:08 +10:00
Nyall Dawson
51a178279c API for rendering point cloud profiles using renderer colors 2022-05-01 09:13:08 +10:00
Alessandro Pasotti
247d86a712 Fix mingw build 2022-04-29 19:32:57 +02:00
Alessandro Pasotti
d2fee63ca9 sip skip == 2022-04-29 15:17:46 +02:00
Alessandro Pasotti
1cb3c613d4 Add test for attribute editor element
LabelStyle
2022-04-29 14:56:19 +02:00