79348 Commits

Author SHA1 Message Date
Nyall Dawson
721ca6c594 Tweak labels 2022-10-27 13:37:14 +10:00
Nyall Dawson
ec6611b24c Promote to collapsible group box 2022-10-27 13:37:14 +10:00
Nyall Dawson
2cc77f3d2c Fix clang warnings 2022-10-27 13:37:14 +10:00
Nyall Dawson
c888c8e576 Add settings to registry 2022-10-27 13:37:14 +10:00
Nyall Dawson
fed69eb76a Use QgsScrollArea 2022-10-27 13:37:14 +10:00
Nyall Dawson
8eced3f08c Minor alignment fix 2022-10-27 13:37:14 +10:00
Nyall Dawson
02b3d0e05d [gps] Move setting for automatic map recentering and rotation
thresholds to GPS panel in options
2022-10-27 13:37:14 +10:00
Nyall Dawson
5840af01dc [gps] Move 'calculate bearing from travel direction' setting to
options GPS pane
2022-10-27 13:37:14 +10:00
Nyall Dawson
aaa74227c5 [gps] Move bearing line symbol setting to GPS pane in options
This is an infrequently changed setting
2022-10-27 13:37:14 +10:00
Nyall Dawson
2223e19f63 [gps] Move GPS track point filtering settings to settings GPS pane
These are infrequently changed settings
2022-10-27 13:37:14 +10:00
Nyall Dawson
3897639507 [gps] Move track line width and color settings to settings GPS pane
These are infrequently changed settings, which don't need to be
in user's faces
2022-10-27 13:37:14 +10:00
Nyall Dawson
4c3ab10058 [gps] Move GPS connection settings from GPS information panel
to GPS options tab in QGIS settings

This is a more of a "set once and forget" setting, vs something
which needs to be frequently changed and always right in the user's
face.
2022-10-27 13:37:14 +10:00
Denis Rouzaud
341853f577 move digitizing mode button to simple digitize toolbar 2022-10-27 09:52:33 +10:00
Mathieu Pellerin
bec8dbbc45 [themes] Fix menu item color regression with Night Mapping
(fixes #50674)
2022-10-27 09:26:00 +10:00
Martin Dobias
f0df3e1f59 Add a unit test (would crash without the fix) 2022-10-26 06:36:55 -07:00
Martin Dobias
9e853bd415 Fix a crash when rendering a raster outside of its extent
If QgsRasterLayerRenderer constructor exists prematurely because there
is nothing to render, its internal pointers end up null, but forceRasterRender()
was expecting that mPipe was always allocated.

The crash was introduced recently in #50382
2022-10-26 06:36:55 -07:00
Matthias Kuhn
354e38df48
Merge pull request #50702 from domi4484/fastcgiIncludePublic
Make target include fastcgi public
2022-10-26 15:30:28 +02:00
Damiano Lombardi
93e7a2875d Make target include fastcgi public 2022-10-26 12:10:52 +02:00
Mathieu Pellerin
087e55d529
Merge pull request #50381 from nirvn/sort_sort_sort
New layer tree insertion methods (on top of tree, optimal) and sorting of drag and dropped layers
2022-10-26 07:29:16 +07:00
Nyall Dawson
5700f9e4d2 [gps] Respect project coordinate format when showing GPS location 2022-10-26 09:31:48 +10:00
Even Rouault
f31d89f08b
Merge pull request #50681 from nyalldawson/fix_is_geographic
Fix CRS returned by QgsCoordinateReferenceSystem::toGeographicCrs returns false to isGeographic() test
2022-10-25 20:47:29 +02:00
Even Rouault
52f382d7b1
Merge pull request #50676 from nyalldawson/fix_crash_exit2
Fix crash on exit
2022-10-25 20:43:29 +02:00
Mathieu Pellerin
69ee3bc0d3 [symbology] Fix group layer not rendering properly when magnifier != 100% or when effect is on 2022-10-25 14:16:17 +07:00
Nyall Dawson
2e40b245d3 Fix CRS returned by QgsCoordinateReferenceSystem::toGeographicCrs
returns false to isGeographic() test
2022-10-25 16:49:22 +10:00
Tudor Barascu
627f43b495
Add Icon for "Select within distance" + add it to Vector -> Research Tools menu under "Select by location" (#50446)
* add Select within distance icon

* add select within distance to Vector -> research Tools Menu

* rework image according to review

* align image to grid
2022-10-25 10:35:02 +07:00
Nyall Dawson
a57eecf8f6 Fix crash on exit 2022-10-25 11:50:10 +10:00
rldhont
93cdcb68b1
Merge pull request #49438 from rldhont/fix-server-wfs-datetime
[Fix] Server WFS: Date time with ISO Date time field format
2022-10-24 12:22:32 +02:00
Mathieu Pellerin
09d4b0a77e Rebase sip fixes 2022-10-24 14:44:40 +07:00
Mathieu Pellerin
151e48434f Fix spelling, make clang-tidy happy 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
1802eded17 When dropping datasets onto the layer tree, insert those at the drop location 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
4b104b4a0b Actually add layers _above_ as promised 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
41211b8a1a Add missing dox 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
82f00ab9c2 Assume non-gdal rasters and vector tiles are base maps 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
f90c35a108 Have newly added sublayer respect above insertion vs top of layer tree method 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
6981968977 Handle sublayer grouping by leaving those alone 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
a17ab8f03b Add UI to select which insertion method should be used when adding new layers 2022-10-24 14:41:40 +07:00
Mathieu Pellerin
9b0dda7733 Add a new 'optimal' layer tree insertion method for newly added layers 2022-10-24 14:39:50 +07:00
Mathieu Pellerin
43d9facca8 Sort multiple layers (via drag and drop) being added into a project
to insure maximum features visibility.

Because adding a pair of polygon and point layers should never
result in polygons covering the points.

The sorting logic is from top to bottom:
- vector: point
- vector: line
- vector: polygon
- point cloud
- mesh
- vector tile
- raster
2022-10-24 14:39:50 +07:00
Nyall Dawson
672e577623 Fix indentation 2022-10-24 16:46:11 +10:00
Nyall Dawson
f4280a77f2 Fix dox warning 2022-10-24 16:46:11 +10:00
Nyall Dawson
6e1f4d7003 Dox 2022-10-24 16:46:11 +10:00
Nyall Dawson
becbf979d2 Dox 2022-10-24 16:46:11 +10:00
Nyall Dawson
941adaa4a8 Some more code to base class 2022-10-24 16:46:11 +10:00
Nyall Dawson
7676789a49 Handle soft history scrolling in base class 2022-10-24 16:46:11 +10:00
Nyall Dawson
955c72388d Factor out interpreter 2022-10-24 16:46:11 +10:00
Nyall Dawson
73b75af8c3 Move prompt handling to QgsCodeEditor 2022-10-24 16:46:11 +10:00
Nyall Dawson
374dcbab53 Minor cleanups 2022-10-24 16:46:11 +10:00
Nyall Dawson
b7ffb0cb6f Move responsibility for storing history of run commands to base class 2022-10-24 16:46:11 +10:00
Nyall Dawson
3786cd178d Move python console history handling to base QgsCodeEditor class
So that other non-python-console code editors can utilise this too
2022-10-24 16:46:11 +10:00
Nyall Dawson
04dbee6eb7 Add a script language enum 2022-10-24 16:46:11 +10:00