20792 Commits

Author SHA1 Message Date
Nyall Dawson
f2e338259a [feature][labeling] Expose control of what part of text (start,
middle or end) of line labels corresponds to the anchor position

Previously labels would always be centered over the anchor position
of lines (unless it was a curved label, in which case it was the
start of the lable!) This is limiting (and inconsistent) for some
placements, where it is preferable to e.g. line up the end
of the label text with a specific point on the line
2022-03-15 16:31:45 +10:00
Nyall Dawson
d660d6f861 Spelling 2022-03-15 13:16:25 +10:00
Nyall Dawson
b24ee8788b [feature] Support shift+wheel scrolling in attribute table to switch
to a horizontal scrolling action instead of vertical

This matches the same behaviour exposed by LibreOffice, and provides
a convenient way to quickly horizontally scroll tables when a mouse
doesn't have a dedicated horizontal scroll wheel.

Sponsored by the City of Canning
2022-03-15 13:16:25 +10:00
Nyall Dawson
b50232a5af Add QgsTableView subclass of QTableView for adding QGIS specific
tweaks on top of the base class
2022-03-15 13:16:25 +10:00
Nyall Dawson
1e445e3c6f Use flags, not boolean 2022-03-15 11:44:08 +10:00
Nyall Dawson
d9cd3e2d97 Allow tasks to be hidden from the GUI 2022-03-15 11:44:08 +10:00
Nyall Dawson
092279e90d [feature] Run batch processing steps in tasks
Instead of forcing all steps in the batch processing dialog to execute
in the main thread, we now run each step as a separate task whenever
possible. This keeps the UI nice and responsive, and permits
responsive cancelation and progress reporting.

Individual steps are still run sequentially, not in parallel (yet!)
2022-03-15 11:44:08 +10:00
Nyall Dawson
5dd473d682 Move batch feedback subclass to c++ 2022-03-15 11:44:08 +10:00
Alessandro Pasotti
312a3a2bb0
Merge pull request #47671 from elpaso/form-group-collapsed
Drag and drop forms group collapsed
2022-03-14 12:27:27 +01:00
Alessandro Pasotti
9ec6355d91 Address PR reviews 2022-03-14 10:21:07 +01:00
Nyall Dawson
71e450be03 Apply more flexible approach to match zoom levels expected for ESRI
tiles
2022-03-14 13:39:36 +10:00
Nyall Dawson
9b427c665f Remove constraint disabling threading for all models 2022-03-14 08:28:24 +10:00
Juergen E. Fischer
102bc431d7 fix windows build 2022-03-12 17:36:34 +01:00
Martin Dobias
9edf55ae41
Merge pull request #47257 from uclaros/filtering-pointclouds
Add support for pointcloud filtering
2022-03-11 13:13:48 -08:00
uclaros
74030fdc1c skipping sipping 2022-03-11 15:34:35 +02:00
Denis Rouzaud
1fa991f26e call non-deprecated method 2022-03-11 12:01:39 +01:00
webmaster
b420a23acd [processing] Fix erroneous call to secsTo when it should be msecsTo
(fixes #47727)
2022-03-11 10:27:11 +01:00
Denis Rouzaud
761a20cac6 manual monkeypatching core->gui 2022-03-11 07:47:46 +01:00
Denis Rouzaud
a923b339d2 qHash implementation for scoped enum type 2022-03-11 07:47:46 +01:00
Denis Rouzaud
f32ecd4730 move QgsMapToolCapture::CaptureTechnique enum to Qgis 2022-03-11 07:47:46 +01:00
Nyall Dawson
222ce1b5ab Don't apply tile scale doubling hack to esri generated vector tiles
We shouldn't apply this hack if we want to match ESRI's zoom to scale
level handling
2022-03-11 12:09:32 +10:00
Nyall Dawson
2faa91a327 Remove redunant z0 extent members 2022-03-11 12:09:32 +10:00
Nyall Dawson
59059a9a72 Switch to using QgsMatrixTileSet as common tile set class 2022-03-11 12:09:32 +10:00
Nyall Dawson
549398dec1 Spelling 2022-03-11 12:09:32 +10:00
Nyall Dawson
508a87dd4f Correctly load arcgis vector tiles in non-EPSG:3857 crs 2022-03-11 12:09:32 +10:00
Nyall Dawson
b39761f8f0 Ensure that non-EPSG:3857 vector tiles layers can be rendered in the
correct place

This fixes the rendering of vector tiles layers which are constructed
in any non web mercator CRS.

(Unfortunately the required information is not recorded in mbtiles
packages, so it's necessary to set the correct parameters via
API calls when trying to load non-3857 mbtiles.)
2022-03-11 12:09:32 +10:00
uclaros
749d7937f4 remove non-implemented enums 2022-03-10 21:52:15 +02:00
Denis Rouzaud
1879f51781 [sipify] fix do not export template classes 2022-03-10 19:32:09 +01:00
Denis Rouzaud
9b459d5de4
Merge pull request #46750 from domi4484/bufferedTransactionCore
Buffered Transactional Editing
2022-03-10 14:10:55 +01:00
Nyall Dawson
13949f932d Show a user-facing message bar warning when opening a project created in a
newer version of qgis, warning that the project may not be
completely loaded
2022-03-10 12:27:51 +10:00
uclaros
6ba6338305 operator conversion handling 2022-03-09 16:42:54 +02:00
uclaros
14fe9b85b3 added QgsPointCloudAttribute::convertValueToDouble() 2022-03-09 14:10:22 +02:00
uclaros
d9c524fce7 refactor extending attribute collections 2022-03-09 13:26:37 +02:00
uclaros
1088c9fa4a remove methods using QgsExpression as parameter 2022-03-09 12:14:40 +02:00
uclaros
4b4c8634f7 rename parameter 2022-03-09 11:42:53 +02:00
Germán Carrillo
ec23963359 Add tests for join attributes table with name conflicts (fix for #47650) 2022-03-09 11:07:01 +10:00
Denis Rouzaud
ede7f35a86
Merge pull request #47633 from 3nids/settings-sections
Explicit declaration of sections/prefixes for settings
2022-03-08 21:03:37 +01:00
vcloarec
bfbc62d613 add direction in shader for classification 2022-03-08 07:53:50 -08:00
vcloarec
c8ff57b8d0 sipify 2022-03-08 07:53:50 -08:00
vcloarec
475b82bcef fix spelling and doc 2022-03-08 07:53:50 -08:00
vcloarec
fe64784e93 filter by height 2022-03-08 07:53:50 -08:00
vcloarec
bbd2f579ee fix point cloud triangulation with classification
sipify
2022-03-08 07:53:50 -08:00
vcloarec
434e7028dc filter before triangulation
no vertical filter before and remove exterior triangles


finalize


leftover


typo, const and other leftovers


fix big triangles filter


Stefanos review
2022-03-08 07:53:50 -08:00
Denis Rouzaud
9aeb041562 fix doc + sipify 2022-03-08 14:38:00 +01:00
Denis Rouzaud
91f631171c be sure that PyQGIS constructors always create a key as a plugin 2022-03-08 14:38:00 +01:00
Denis Rouzaud
19ca6636d1 sipify 2022-03-08 14:37:59 +01:00
Denis Rouzaud
378c7f594a apply same changes to PyQgsSettingsEntryEnumFlag 2022-03-08 14:37:59 +01:00
Denis Rouzaud
9a9366630b add prefixes information to QgsSettings 2022-03-08 14:37:59 +01:00
Alessandro Pasotti
d2c84b2ed9 Add QgsRelation c++ test and workaround
The python test test_qgsrelation.py was failing for misterious reasons
(the very same test was passing if run from QGIS application), I tracked
the issue down to the addition of QgsOptionalExpression mCollapsedExpression;
in QgsAttributeEditorContainer.

The new c++ test replicates the python test and make sure there are no
problems with the change style operation.
2022-03-08 11:23:00 +01:00
uclaros
17dd63633a remove duplicate code 2022-03-08 11:55:24 +02:00