333 Commits

Author SHA1 Message Date
Nyall Dawson
3312bf1ad2 Move syntax checking capability to QgsCodeEditorPython 2023-03-20 16:06:24 +10:00
Nyall Dawson
069f1a647e Add language capabilities 2023-03-20 16:06:24 +10:00
Nyall Dawson
141b9efe44 Expand available values for Qgis::FieldDomainSplitPolicy 2023-03-01 19:30:39 +10:00
Denis Rouzaud
ea53aa3ce2 move settings tree enums to Qgis 2023-02-23 16:07:14 +01:00
Nyall Dawson
2aa484ca23 Move QgsCameraController enums to Qgis, promote to enum class 2023-02-23 13:53:34 +10:00
Nyall Dawson
046883fa9c Promote QgsWkbTypes enums to enum class, move to Qgis 2023-02-22 12:39:21 +10:00
Nyall Dawson
ad16817fba Fix enum compatibility with python full enum use of old values 2023-02-19 13:29:06 +10:00
Nyall Dawson
6975a49f9c Avoid sipify issue with " in enum dox 2023-02-19 13:29:06 +10:00
Nyall Dawson
f9c3da1e06 Move unit enums to Qgis, promote to enum class 2023-02-19 13:29:06 +10:00
Nyall Dawson
1142e8ffac
Move QgsMapLayerType enum to Qgis.LayerType (#51874)
For consistency with other enums
2023-02-16 13:02:57 +01:00
Nyall Dawson
49ba64268e Move QgsPainting::BlendMode enum to Qgis namespace 2023-02-06 08:41:25 +10:00
Denis Rouzaud
7d628998d5 follow-up rename QgsSettingsTreeElement to QgsSettingsTreeNode 2023-01-30 10:03:39 +10:00
Even Rouault
47182b5c0f
[Raster] Add a Qgis::DataType::Int8 signed data type 2023-01-27 13:09:48 +01:00
Vincent Cloarec
3ca858af66
Global map terrain shading (#51535)
* QgsShadingRendering and pipe to render global elevation map

* gdal utils with datatype and resampling method enum

* raster layer elevation map

* optimize raster elevation map with rotation

* handle  no data value in the map elevation raster pipe

* mesh layer and some little fixes

* fix nodata and hillshading z factor

* render shading on layout

* activate/deactivate the shading from ui

* shading only for layer that have elevation

* apply Z scale and offset of layer elevation properties

* ui settings

* allow elevation from point cloud even edl is deactivate for pointcloud

* fix ui

* sipify

* Shading renderer widget in styling panel

* icone for shading renderer settings widget

* two methods to combin elevation

* rewording

* remove check box at the bottom of canvas

* use band of elevation properties

* fix styling pannel

* render shading in layout

* keep EDL point cloud shading individually

* add shading rendering tests

* add missing code for local EDL for point cloud

* shading inactive by default

* rework raster layer resampling

* improve nodata in elevation map

* don't allow elevation map with != size to be combined

* remove EDL from point cloud

* renaming

* sipify

* colorize tests

* renaming

* RGB32

* renaming leftover

* some ui fixes

* fix border for EDL alg

* fix EDL closed next to nodata value

* fix first shading when activated

* renaming and typo

* fixes for doc, doxygen, indentation and spelling

* remove leftover member

* fix clang-tidy

* fix edl tests

* fix dll export

* minor fixes

* adapt images of tests

* fix narrowing

* fix indentation

* sipify

* WIP

* minor ui changes
2023-01-26 15:02:16 +01:00
Giovanni Allegri
863d6fd615
Geonode provider removal (#2)
* Removal of GeoNode provider
2023-01-25 15:51:21 +01:00
Denis Rouzaud
42f4e1c80e
Merge pull request #51295 from 3nids/settings-registry-migration-core-5-tree-element
Tree structures for settings
2023-01-23 08:53:33 +01:00
Alessandro Pasotti
694ebda27c
Merge pull request #51467 from elpaso/sld-export-options-png
SLD: export options png
2023-01-22 10:29:47 +01:00
Matthias Kuhn
0fcb11ccc1 Fix python warning
../usr/lib/python3/dist-packages/qgis/core/__init__.py:435
  /usr/lib/python3/dist-packages/qgis/core/__init__.py:435: DeprecationWarning: invalid escape sequence \d
    QgsDataItem.SetCrs.__doc__ = "Can set CRS on layer or group of layers. \deprecated since QGIS 3.6 -- no longer used by QGIS and will be removed in QGIS 4.0"
2023-01-18 16:58:14 +10:00
Denis Rouzaud
7fa484dbf6 sipify 2023-01-17 16:52:47 +01:00
Denis Rouzaud
2a5838433b rename QgsSettingsTreeElement to QgsSettingsTreeNode 2023-01-17 11:53:39 +01:00
Denis Rouzaud
87fd5e26ee rename SettingsLocation to SettingsOrigin 2023-01-16 09:00:51 +01:00
Denis Rouzaud
53f37456de fix some dox + remove extra includes 2023-01-16 09:00:50 +01:00
Denis Rouzaud
ac8170e076 address review comments (docstring, typo, …) 2023-01-16 09:00:50 +01:00
Denis Rouzaud
6a043edd08 migrate XYZ settings + fix some migration + fix dox + fix QgsSettingsTreeNamedList::items 2023-01-16 09:00:50 +01:00
Denis Rouzaud
b440604c27 method to return location (global vs local) of a setting key 2023-01-16 09:00:49 +01:00
Denis Rouzaud
919c4c83f2 add missing enum value 2023-01-16 09:00:49 +01:00
Denis Rouzaud
44039d164c sipify them all 2023-01-16 09:00:49 +01:00
Alessandro Pasotti
ef89f7005f Add PNG export options 2023-01-05 08:38:20 +01:00
Alessandro Pasotti
118c956cff Add SLD export context 2022-12-21 11:09:03 +01:00
Harrissou Sant-anna
7da101acbe Fix GeometryOperationResult enums documentation 2022-12-16 11:23:02 +01:00
Denis Rouzaud
da4865872c [settings] add new type for variant map: QgsSettingsEntryVariantMap 2022-12-16 09:09:57 +01:00
Nyall Dawson
c43b558901 Upgrade raster enums to enum class, and remove some completely unused
enums
2022-12-16 12:01:44 +10:00
Nyall Dawson
6b65b42493 [feature] Add key dates to layer/project metadata
This adds the following fields to the QGIS layer/project metadata
standard:

- Date created
- Date published
- Date revised
- Date superseded

(Previously the layer metadata had no date fields, and project
metadata had only the created date field)
2022-12-01 06:56:46 +10:00
Nyall Dawson
7a3a57a562 Add API to retrieve relationship capabilities for a provider connection 2022-12-01 06:56:03 +10:00
Mathieu Pellerin
ec689c52f1
[wms] Allow for WMTS layers to take DPI into account and scale up on high DPI screens (#51018) 2022-11-29 11:05:43 +00:00
Nyall Dawson
fe0ab98ee0 Manually monkey patch compatibility, since we can't auto patch to gui classes 2022-11-28 11:46:45 +10:00
Nyall Dawson
fa0adc03fe Typo 2022-11-28 11:46:45 +10:00
Nyall Dawson
3efb1e604a Move action enums to Qgis, promote to enum class, and considerably thin
includes as a result
2022-11-28 11:46:45 +10:00
Nyall Dawson
a10b971156 Add additional text renderer rect modes
Adds some text layout modes where the line heights are based
on cap heights or font ascent alone

These are required in order to port additional parts of QGIS
text rendering to the QgsTextRenderer class
2022-11-24 12:41:24 +10:00
Nyall Dawson
913c6ae68e Include ellipsoidal altitude in available GPS information values 2022-11-19 07:21:20 +10:00
Nyall Dawson
79b809a585 Prepare framework for text renderer vertical alignment 2022-11-14 20:46:15 +10:00
Nyall Dawson
281f1d0d0c Make QgsVectorLayerGpsLogger API easier to use, and add capacity
to store all GPS information components
2022-11-14 18:00:29 +10:00
Nyall Dawson
b572e54622 Add more GPS component flags 2022-11-14 18:00:29 +10:00
Nyall Dawson
5c6c63d0e7 Allow track length and distance from start to be shown in floating
GPS toolbar
2022-11-11 11:12:57 +10:00
Alessandro Pasotti
8e0a5e1cbe Address PR comments 2022-11-09 09:46:13 +10:00
Alessandro Pasotti
5a88611b38 Paletted RAT auto-loading 2022-11-09 09:46:13 +10:00
Nyall Dawson
b436282b59 Add GPS Component enum, useful for referring to specific pieces
of GPS information in a generic way
2022-11-08 18:43:39 +10:00
Nyall Dawson
f2a3db0b12 Move enum to hopefully fix windows build 2022-11-08 12:58:29 +10:00
Nyall Dawson
5fc94c3fe2 Add debugging setting to show label metrics when rendering labels
Shows the text bounds of the label in red and baselines in blue.
Designed for debugging purposes only.

Also move label engine enums to Qgis, promote to enum class
2022-11-07 09:24:02 +10:00
Nyall Dawson
a9a57a6fbe Start on dedicated GPS toolbar 2022-11-04 11:24:05 +10:00