Nyall Dawson
c3fa3af175
[processing] Use safer provider://source syntax in more places
...
Use the safer method of explicitly including the provider type
when storing layer sources to string in more places, which eg
fixes running the copied qgis_process string when a non gdal
layer source is used for a raster layer. Also fixes the same
situation when restoring an algorithm from the history log.
Fixes #54264
2024-02-05 17:39:46 +10:00
Nyall Dawson
503a95a1a1
Move enums to Qgis namespace for consistency
2024-02-02 04:59:04 +10:00
Nyall Dawson
078fd4f2ea
Make IntFlag enum type opt-in, rather than opt-out
...
And make sipify handle this nicely. This means that all our non-flag
style enums correctly map across to IntFlag python enums on Qt 6,
fixing issues with negative enum values for these and providing
a better match for the original c++ enum.
2024-01-31 17:16:18 +10:00
Alessandro Pasotti
27824078ad
Introduce QgsProcessingProvider::Flag::FlagCompatibleWithVirtualRaster
2024-01-31 10:37:52 +10:00
Nyall Dawson
6116319806
Move a processing enum to enum class in Qgis
2024-01-30 19:10:43 +10:00
Nyall Dawson
a36b203f30
Promote some processing enums to enum class, cleanups
2024-01-30 19:10:43 +10:00
Nyall Dawson
26798b84f4
Promote QgsFeatureRequest enums to enum class, move to Qgis
2024-01-30 19:10:43 +10:00
Nyall Dawson
4654ad3db5
Sipify
2024-01-23 08:32:38 +01:00
Nyall Dawson
3c179214fc
Use nicely formatted results in processing logs
2024-01-09 17:02:21 +10:00
Nyall Dawson
3e10cf9338
Add method to get HTML formatted versions of output values for
...
processing outputs
2024-01-09 17:02:21 +10:00
Nyall Dawson
b674a7c35d
Add method to format processing output values as strings
2024-01-09 17:02:21 +10:00
Nyall Dawson
3e7d376953
Add method to push formatted text to Processing feedback
...
Provides a method for algorithms to push HTML contents to the log
(the other feedback methods all escape HTML strings to strip
formatting characters)
2024-01-09 17:02:21 +10:00
Julien Cabieces
e8093a8ce5
Only mock non class enums
2023-12-13 05:36:44 +10:00
Julien Cabieces
7f586d8742
PyQt6 sip files
2023-12-13 05:36:44 +10:00
Julien Cabieces
bb3c36a69b
Initialize sip bindings for PyQt6
...
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10:00