1433 Commits

Author SHA1 Message Date
Denis Rouzaud
124bfd3f84
fix includes before guard (#46744) 2022-01-07 14:42:01 +00:00
Benjamin Jakimow
01b61dc1eb fixed style 2022-01-07 11:30:49 +10:00
Benjamin Jakimow
dc1866f0af sipified files 2022-01-07 11:30:49 +10:00
Benjamin Jakimow
9b3e437ae3 addresses #46673 (QgsProcessingMapLayerComboBox shows layers out of
QgsProcessingParameterWidgetContext)

added a `setProject(QgsProject *project)` to QgsMapLayerModel,
QgsMapLayerProxyModel and QgsMapLayerComboBox

QgsProcessingMapLayerComboBox::setWidgetContext(...) now uses the
context project
2022-01-07 11:30:49 +10:00
Denis Rouzaud
795bb6a245 move QgsMapToolCaptureRubberband class to its own file 2022-01-03 10:55:40 +01:00
Nyall Dawson
af03701ab8 Add method to allow an existing history entry to be updated
Intended for use in storing the results of a long running operation.
E.g. a processing task would store the initial operation history
when the operation starts, and when it finishes it should update
that entry with the full log and output results.
2021-12-21 15:32:57 +10:00
Nyall Dawson
5e5540c890 [processing] Port algorithm log to new history provider API
No user visible changes, but we gain the flexibility for better
history storage, including the ability to store the outputs
calculated by the algorithm execution...!
2021-12-21 15:32:57 +10:00
Nyall Dawson
dd5cbb746e Add bulk addEntries method for efficiently adding many entries at once to history 2021-12-21 15:32:57 +10:00
Nyall Dawson
09389ca763 Add method to clear the history log 2021-12-21 15:32:57 +10:00
Nyall Dawson
6783347896 Implement framework for history providers
As per https://github.com/qgis/QGIS-Enhancement-Proposals/issues/130
2021-12-21 15:32:57 +10:00
Nyall Dawson
86e94aed42 [feature] Add action to processing algorithm advanced menu to copy the
current settings as JSON and paste json settings from clipboard

The utility of this is two fold:

1. It provides a way for users to copy the settings defined in the
dialog in a text format, so they can store these easily and then
restore later by pasting the value

2. It provides an easy way for users to copy the settings into
the json format consumed by qgis_process (following
https://github.com/qgis/QGIS/pull/46497), so that it is easy
for users to see the expected format even for complex parameters
(like tin interpolation parameters)
2021-12-17 08:29:31 +10:00
Julien Cabieces
93399e33a3
Merge pull request #46037 from Koyaani/doc_generation
[Doc] Add folders for documentation generation
2021-12-16 15:09:01 +01:00
Antoine
bb15678134 update the doc in the sipfile 2021-12-16 09:34:50 +01:00
Nyall Dawson
132294b3c9 Spelling 2021-12-16 11:15:34 +10:00
Nyall Dawson
eea2ba3d93 QgsProcessingAlgorithmDialogBase subclasses should also implement
the QgsProcessingContextGenerator interface
2021-12-16 11:15:34 +10:00
Nyall Dawson
03d0c573c4 Add mode enum for processing algorithm dialogs so that code can
determine if the single execution or batch execution dialog is shown
2021-12-16 11:15:34 +10:00
Nyall Dawson
86794dabdc Fix interface for QgsProcessingParametersGenerator was modified for
the python subclasses only and no longer correctly overrides the
base class method
2021-12-16 11:15:34 +10:00
Alessandro Pasotti
9a0c54c5c4 Expose layers field names to expression widget
Fixes #37544
2021-12-15 12:22:19 +01:00
Loïc Bartoletti
8150822fe2
Merge pull request #46189 from Koyaani/angle-snap-line-displaying
[Fix] Minor display issues on the advanced digitizing
2021-12-13 15:21:29 +01:00
Antoine
ce12b3c2df modify comments for documentation generation 2021-12-13 12:39:44 +01:00
Antoine
0a28c5a763 fix doc warnings 2021-12-13 10:19:56 +01:00
Matthias Kuhn
e62206815f
Merge pull request #46167 from domi4484/fixNoAttributeFormUpdateForRelatedLayer 2021-12-09 08:25:28 +01:00
Alessandro Pasotti
1b9e80422f New button to open attribute table on filtered features
Adds a new button to the attribute form in search mode
to open the attribute table in attribute editor mode
from the filtered features.

Funded by: ARPA Piemonte
2021-12-04 06:24:31 +10:00
bdm-oslandia
61519ec834 remove dead code, fix comment, fixes from review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-12-02 11:16:53 +10:00
bdm-oslandia
c1582ce1c3 fix: indent, doc, typo 2021-12-02 11:16:53 +10:00
bdm-oslandia
345dd4dd87 fix: replace referer http header by dedicated class QgsHttpHeader 2021-12-02 11:16:53 +10:00
Nyall Dawson
dcf0cfe5a3 Fix API issues causing malformed python stub files
Fixes #46240
2021-11-29 11:54:06 +10:00
Nyall Dawson
027928a7f7 Add support for widgets in layer styling dock which operate on
QgsLayerTreeGroups instead of map layers
2021-11-25 14:23:57 +11:00
Antoine
15c9726a0a update the rect position even when teleportation 2021-11-24 11:58:15 +01:00
Matthias Kuhn
b0f85e0c65
Merge branch 'master' into fixNoAttributeFormUpdateForRelatedLayer 2021-11-24 09:00:16 +01:00
Damiano Lombardi
e244076051 Fix docstring 2021-11-24 06:16:46 +01:00
Nyall Dawson
bb17d1cc7e Add api to allow QgsBlendModeComboBox to show clipping style blend modes 2021-11-24 14:30:36 +11:00
Nyall Dawson
b063d477b6 Also add API to determine if group layers should be expanded when calling QgsMapCanvas::layers() 2021-11-24 07:29:31 +11:00
Damiano Lombardi
f80008589d Update sip file 2021-11-23 14:00:26 +01:00
Damiano Lombardi
c179587091 Fix #43901 No update of virtual fields considering layer dependencies 2021-11-23 11:08:52 +01:00
Julien Cabieces
6eda6e40d2
Merge pull request #45703 from domi4484/multieditSupportForRelationEditor
Multiedit support for relation editor
2021-11-23 08:36:02 +01:00
Damiano Lombardi
976f076163 Added test 2021-11-19 17:05:30 +01:00
Denis Rouzaud
1b96632606 fix build + sip 2021-11-12 09:24:41 +01:00
Denis Rouzaud
e841f76251 rename QgsDbSourceSelectBase to QgsAbstractDbSourceSelect 2021-11-12 08:42:14 +01:00
Denis Rouzaud
efb89f893d add doc and remove useless method 2021-11-12 08:42:14 +01:00
Denis Rouzaud
9843038258 regroup onTreeView_doubleClicked 2021-11-11 10:14:05 +01:00
Denis Rouzaud
67bcb31226 regroup query button creation 2021-11-11 10:13:57 +01:00
Denis Rouzaud
de436c7346 rename setSourceModel -> init 2021-11-11 09:07:59 +01:00
Denis Rouzaud
f7fc805b2f a bit more of code duplication removal in provider GUIs 2021-11-11 09:03:29 +01:00
Denis Rouzaud
1bb212ee9a
Merge pull request #45962 from 3nids/ux-db-table-filter
improve filtering of layers in DB dialogs
2021-11-10 15:13:03 +01:00
Denis Rouzaud
54eb1584c5 sipify 2021-11-10 10:24:33 +01:00
Nyall Dawson
acabfb30f5 Add support for setting the color model to use when interpolating a
gradient ramp

Some gradients will pass through murky grey mid-tones when interpolating
using red/green/blue channels. Interpolating via
hue/saturation/lightness/value channels can avoid these desaturated
mid tones, resulting in more visually pleasing gradients.

The color spec can be set per stop in a multi-stop gradient, and there's
also an option to control the direction which interpolation should
follow for the Hue component of a HSL/HSV color spec interpolation.

Sponsored by North Road, thanks to SLYR
2021-11-10 18:42:42 +11:00
Denis Rouzaud
93bb188e2a add python bindings 2021-11-09 14:13:52 +01:00
Damiano Lombardi
bbb1756838 fix doc 2021-11-08 15:36:28 +01:00
Damiano Lombardi
d9498f3780 Since QGIS 3.24 2021-11-08 15:36:27 +01:00