22355 Commits

Author SHA1 Message Date
Nyall Dawson
28747c9b4d Use proper enum for return value 2023-05-15 16:38:52 +10:00
Nyall Dawson
b0d67ecddf Move QgsVectorFileWriter::SymbologyExport to Qgis, promote to enum class 2023-05-15 16:38:52 +10:00
Nyall Dawson
5efa6c06f8 Improve documentation, function names 2023-05-15 16:38:52 +10:00
Nyall Dawson
83d1e6cf55 Better name 2023-05-15 16:38:52 +10:00
Nyall Dawson
ecff6b9e3b Remove unused deprecated method which wasn't exposed to python 2023-05-15 16:38:52 +10:00
Nyall Dawson
b0be3d4816 Use enum class 2023-05-15 16:38:52 +10:00
Alessandro Pasotti
c2594774b3
Merge pull request #53061 from elpaso/advanced-digitizing-floater-options
Advanced digitizing: floater settings and bearing
2023-05-15 07:43:09 +02:00
Matthias Kuhn
7b284fee19
Merge pull request #53053 from m-kuhn/intsall_qgslayoutchecker 2023-05-13 13:42:06 +02:00
Matthias Kuhn
c8dd71e4d3 Set size for layout check 2023-05-13 08:47:22 +02:00
Alessandro Pasotti
4fab764af0 Advanced digitizing: floater settings and bearing
- visibility settings for floater
- option for bearing/azimuth
2023-05-12 07:30:23 +02:00
jakimowb
367b8ba332 added SIP_SKIP 2023-05-12 13:09:14 +10:00
Benjamin Jakimow
64c0f4aacd sipifyed qgsvectorlayersaveasdialog.h 2023-05-12 13:09:14 +10:00
jakimowb
4e49c9f17c added sip files 2023-05-12 13:09:14 +10:00
jakimowb
d3b91ca721 added QgsVectorLayerSaveAsDialog to public API 2023-05-12 13:09:14 +10:00
Alessandro Pasotti
f63dd2c360 Move CadConstraintType to Qgis, translate degree symbol 2023-05-12 06:32:11 +10:00
Alessandro Pasotti
49d1b61f30 Advanced digitizing: respect units for distance
- respect project settings for distance units
- format angle
- format geographic coordintates
2023-05-12 06:32:11 +10:00
CodeBardian
cce4d2ff45
Fix for accessing the strength of field constraints (#52976) 2023-05-11 10:12:46 +10:00
Julien Cabieces
09eac909fa register flags with Q_FLAG not Q_ENUM 2023-05-11 05:50:14 +10:00
Nyall Dawson
c32bc17973 Defer calling postProcessors until layers have been added to layer tree
It's possible that an algorithm's postProcessor may contain logic
relating to the layer tree, so make sure that all layers have
already been added to the tree before calling postProcessors
2023-05-10 13:17:55 +10:00
Nyall Dawson
f27195c165 [processing] Allow configuration of order of outputs created by a model
This adds a new "Reorder Model Outputs" action to the model designer
menu (to accompany the existing "Reorder Model Inputs" action).
Selecting this option allows model creators to set a specific order
which the outputs from their model must use when loading the results
into a project. This gives the model creator a means of ensuring
that layers are logically ordered, eg placing a vector layer over
a raster layer and a point layer over a polygon layer.

Optionally, the model creator can also set a "Group name" for the
outputs. If this is specified then all outputs from the model will
be placed into a (newly created if necessary) layer tree group
with that name.

Sponsored by the QGIS Germany User Group
2023-05-10 13:17:55 +10:00
Nyall Dawson
f1c0923fc1 Fix QgsLayoutChecker::testLayout python bindings 2023-05-10 12:33:48 +10:00
Nyall Dawson
5d9ea9845a Move determination of tiles in ranges to QgsTileMatrixSet
This gives more flexibility in future to handle known missing tiles or
other special circumstances (eg falling back to lower
zoom level tiles from the matrix set in certain circumstances)
2023-05-10 12:10:13 +10:00
Matthias Kuhn
da075fa259 Use QgsLayoutChecker from core 2023-05-09 14:41:31 +02:00
Nyall Dawson
171baf0013 Add equality operators for QgsTileXYZ 2023-05-09 19:41:53 +10:00
Nyall Dawson
35e3d49738 Add repr for QgsTileXYZ 2023-05-09 19:41:53 +10:00
Nyall Dawson
0d90cbcf1b sipify (followup cb1bfa1a) 2023-05-05 06:27:32 +10:00
Alessandro Pasotti
34933d0072 SIP_SKIP and tidy 2023-05-04 13:19:59 +02:00
Alessandro Pasotti
5f86a4011f Advanced Digitizing: more common angle options
- add 0.1, 0.5, 1.0 common angles
- add an option to show current common angle in the floater
- add 'N' 'SHIFT+N' keyboard shortcuts to cycle through the
  common angle options
2023-05-04 13:19:59 +02:00
Nyall Dawson
a52e0bdd22 Respect layer output ordering when adding processing results layers 2023-05-03 18:29:28 +10:00
Nyall Dawson
70c91eb96b Always expand processing results groups by default 2023-05-03 18:29:28 +10:00
Nyall Dawson
f8ff71031d Minor lint fixes 2023-05-03 18:29:28 +10:00
Nyall Dawson
42e9b916c5 Respect output group name when loading layers 2023-05-03 18:29:28 +10:00
Nyall Dawson
8682a20150 Add layer tree group name and sort key to QgsProcessingContext::LayerDetails 2023-05-03 18:29:28 +10:00
Nyall Dawson
26ce45d6d5 Remove unused argument 2023-05-03 18:29:28 +10:00
Nyall Dawson
2e83566aef More minor cleanups 2023-05-03 18:29:28 +10:00
Nyall Dawson
3651c8dd73 Refactor out some more postprocessing logic 2023-05-03 18:29:28 +10:00
Nyall Dawson
3d166989cb [processing] Cleanup some post-processing code 2023-05-03 18:29:28 +10:00
Denis Rouzaud
30a641111d
Merge pull request #52847 from 3nids/settings-treewidget
Settings editors
2023-05-02 21:31:35 +02:00
Alexander Bruy
10b02e02ed move expression type enum to qgis.h 2023-05-02 14:00:43 +02:00
Alexander Bruy
d93111ccec [processing] add enum to expression parameter to make it possible
distinguish between native QGIS expressions and point cloud filter
expressions
2023-05-02 14:00:43 +02:00
Alexander Bruy
3ab7530fff
Merge pull request #52959 from alexbruy/pdal-provider-ux
UX improvements for PDAL provider
2023-05-02 13:12:10 +03:00
Germap
7fac476c6f Adjust help for CheckValidity algorithm
Make it clear that GEOS method won't be able to log all errors found per geometry, but only the first one. Followup #49936.
2023-05-02 19:05:21 +10:00
Alexander Bruy
cbc6922fab try to assign 3d renderer to output point cloud layers 2023-05-02 09:42:43 +03:00
Nyall Dawson
d4faecefb9 Prevent attribute form editor widgets from inherting too large
horizontal minimum size

This bug causes editor widgets to inherit a very large minimum width
from the search widget wrapper, regardless of what mode the attribute
form is shown in. The outcome is that when adding/editing features
all widgets have a large minimum width, causing very wide forms
in multi-column setups with a lot of unnecessary edit widget width.

Fix sponsored by NIWA
2023-05-02 14:26:52 +10:00
Nyall Dawson
ab19e8ed32 Add new attribute form container type "Row"
This container always lays out child widgets in a horizontal
row, where the number of columns is automatically determined
by the number of child widgets.

It's useful for creation of compact forms, where no space will
be wasted by assigning extraneous horizontal width to widgets
where the expected values will always be short.

Eg: creating 3 rows with 3, 2, 1 child widgets respectively
results in the layout:

    Attr 1: [...] Attr 2: [...] Attr 3: [...]
    Attr 4: [..........] Attr 5: [..........]
    Attr 6: [...............................]

Without the option of row containers then the all horizontal
rows will have the same number of columns, eg:

    Attr 1: [...] Attr 2: [...] Attr 3: [...]
    Attr 4: [...] Attr 5: [...] Attr 6: [...]

(leaving insufficient horizontal length for attributes 4-6), or

    Attr 1: [..........] Attr 2: [..........]
    Attr 2: [..........] Attr 3: [..........]
    Attr 4: [..........] Attr 5: [..........]
    Attr 6: [..........]

(resulting in wasted horizontal space next to attribute 6, and
an extra row taking up vertical space)

Sponsored by NIWA
2023-05-01 18:39:23 +10:00
Denis Rouzaud
d888ee2a70
use public method 2023-05-01 09:57:09 +02:00
Yoann Quenach de Quivillic
3dcfbe8cc3 Fix QgsSettingsTreeNode constness 2023-05-01 01:47:24 +02:00
Matthias Kuhn
0b898e0f8d
Merge pull request #52841 from YoannQDQ/qgisfunction 2023-04-30 16:48:07 +02:00
Denis Rouzaud
de02e8899c remove useless method 2023-04-30 15:34:32 +02:00
nicogodet
bf93dc6f17 Re-arange code 2023-04-30 09:32:11 +10:00