24996 Commits

Author SHA1 Message Date
Michael Schmuki
1672330cdc Add invalidateCacheEntry() for QgsAbstractContentCache implementations 2025-05-02 11:59:09 +02:00
qgis-bot
9bcd9c3d77 auto sipify 🍺 2025-05-01 20:10:12 +00:00
Nyall Dawson
13624a3d4e Improve docs 2025-05-02 06:07:14 +10:00
Nyall Dawson
7e76c79224 Improve docs 2025-05-02 06:07:14 +10:00
Nyall Dawson
a1de92cc52 Add missing transfer 2025-05-02 06:07:14 +10:00
qgis-bot
6b9926cc67 auto sipify 🍺 2025-05-01 04:56:19 +00:00
Jan Caha
277c06fb29 fix sip 2025-05-01 14:53:23 +10:00
Jan Caha
85ee5671b0 spaces 2025-05-01 14:53:23 +10:00
Jan Caha
40437b6a3d line breaks 2025-05-01 14:53:23 +10:00
Jan Caha
58511b2c7d fix files 2025-05-01 14:53:23 +10:00
Jan Caha
7317b56329 Try removing files 2025-05-01 14:53:23 +10:00
Jan Caha
0fb463912b fix string and sipify 2025-05-01 14:53:23 +10:00
Jan Caha
4d81ceb4a2 fix documentatuion string 2025-05-01 14:53:23 +10:00
Jan Caha
ecd13a7de3 use raw pointer because of sip 2025-05-01 14:53:23 +10:00
Jan Caha
38f4996863 add 2025-05-01 14:53:23 +10:00
Jan Caha
bf437cc1af add missing file 2025-05-01 14:53:23 +10:00
Jan Caha
8850dd22bf add file 2025-05-01 14:53:23 +10:00
qgis-bot
0a34e1c788 auto sipify 🍺 2025-05-01 00:36:53 +00:00
Jean Felder
a00f47c773 qgsproject: Add a sip removeMapLayers code to fix qt6 version
With this new method code, it is now possible to use
`QgsProject::removeMapLayers` with a list of layers or a list of
layers IDs in qt5 and qt6.

Co-authored-by: bdm-oslandia <benoit.de.mezzo@oslandia.com>
2025-05-01 10:33:58 +10:00
qgis-bot
1030b0385e auto sipify 🍺 2025-04-30 03:59:08 +00:00
Nyall Dawson
9df6ea74fe Remove outdated files 2025-04-30 13:56:09 +10:00
Nyall Dawson
6bd91f8381 [processing][api] Add API for an algorithm to auto-set parameter values
Adds an API which an algorithm can implement to support auto-setting
parameter values. This is designed to handle the case
of eg an algorithm which does a file format translation, where
it's desirable to default the output parameter value to an input
parameter value with a different extension.

This can now be done by implementing autogenerateParameterValues
in the algorithm, eg:

    def autogenerateParameterValues(self, existingParameters, changedParameter, mode):
        if changedParameter == self.INPUT:
            input_file = existingParameters.get(self.INPUT)
            if input_file:
                input_path = Path(input_file)
                if input_path.exists():
                    # auto set output parameter to same as input but with 'qgs' extension
                    return {self.OUTPUT: input_path.with_suffix('.qgs').as_posix()}

        return {}

Works for both toolbox and batch modes for algorithms
2025-04-30 13:56:09 +10:00
Nyall Dawson
4220d9f227 Add flag to skip validation of processing parameters 2025-04-30 13:56:09 +10:00
Nyall Dawson
31ac029d0a Move processing dialog mode enum to Qgis and rename 2025-04-30 13:56:09 +10:00
qgis-bot
51f7bed95c auto sipify 🍺 2025-04-30 02:11:40 +00:00
Jean Felder
e318460718 qgsmeshlayer: Introduce closestElement
This is a generalization of `snapOnElement`, since it allows to also
get the element (face, vertex or edge) index.
2025-04-30 12:08:39 +10:00
qgis-bot
568c0998ac auto sipify 🍺 2025-04-29 23:50:47 +00:00
Valentin Buira
f56f85dc7c
Add basic drag and drop support in the model designer (#60664) 2025-04-30 09:47:48 +10:00
qgis-bot
2fd3c07909 auto sipify 🍺 2025-04-29 23:11:09 +00:00
Valentin Buira
2b51d04014
Add unified panel for input or algorithm in the modeler (#61187) 2025-04-30 09:08:02 +10:00
Alexander Bruy
f3a0016f8e update expected file 2025-04-30 06:57:21 +10:00
Alexander Bruy
ed6f09b871 remove old implementation 2025-04-30 06:57:21 +10:00
Alexander Bruy
a0bde0b7a8 port Climb algorithm to C++ 2025-04-30 06:57:21 +10:00
Andrea Giudiceandrea
c4a2e9c6d2 [gui][processing] Fix "Check validity" algorithm ID in menu 2025-04-27 09:53:27 +10:00
qgis-bot
bc5be932db auto sipify 🍺 2025-04-25 22:15:30 +00:00
Nyall Dawson
8f113d14e1 Improve QgsMapLayerComboBox docs 2025-04-26 08:11:57 +10:00
Viper MiniQ
7d090fd7b9
fix starting interpolation algs and heatmap, qt6 compatibility 2025-04-25 13:20:02 +10:00
Nyall Dawson
5b55ab98cb Fix doc typo 2025-04-25 08:17:13 +10:00
qgis-bot
a40fe45a45 auto sipify 🍺 2025-04-24 10:03:42 +00:00
Nyall Dawson
1efd5df8d6 Add method to return total number of tiles in a QgsTileRange 2025-04-24 12:00:42 +02:00
Nyall Dawson
67036b670f Add isMaximal method to QgsRectangle 2025-04-24 12:00:42 +02:00
Nyall Dawson
b114e0aef3 Fix duplicate parameter warning in gdal rasterize algorithm 2025-04-24 10:19:56 +10:00
qgis-bot
ea98b95b75 auto sipify 🍺 2025-04-23 02:22:06 +00:00
Nyall Dawson
f6d740e9db Fix docs 2025-04-23 12:19:10 +10:00
Nyall Dawson
2dd042cd93 Show history panel in execute sql dialog 2025-04-23 12:19:10 +10:00
Nyall Dawson
8c1cdcfad0 Rework QgsQueryResultWidget so that it uses a QgsPanelWidgetStack 2025-04-23 12:19:10 +10:00
Alexander Bruy
2d1f318bf9 update Processing algorithms to use new enum values 2025-04-23 07:39:24 +10:00
Alexander Bruy
85d191038e better names for enum values 2025-04-23 07:39:24 +10:00
Alexander Bruy
f186288b41 fix TIN and IDW interpolation algorithms and tests 2025-04-23 07:39:24 +10:00
Alexander Bruy
cb89558792 convert interpolation enums to enum classes 2025-04-23 07:39:24 +10:00