3414 Commits

Author SHA1 Message Date
Nyall Dawson
c6a1a57230 Add some missing documentation 2023-02-22 12:39:21 +10:00
Nyall Dawson
046883fa9c Promote QgsWkbTypes enums to enum class, move to Qgis 2023-02-22 12:39:21 +10:00
Nyall Dawson
18fd0bbbbf Create QgsGeometryWidget
A new widget which stores a referenced geometry value, and provides
handy methods for copying the value as WKT or GeoJSON, pasting
a WKT/GeoJSON value from the clipboard, or clearing the geometry
2023-02-21 06:01:44 +10:00
Nyall Dawson
8d5cdc85fc Workaround sip inability to convert enum class variants to python objects 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
ff74c9c9ce Ensure correct crs is available for QgsMapCanvas for slots connected
to extentsChanged when canvas CRS is changed

Fixes #51833
2023-02-15 14:46:01 +10:00
Nyall Dawson
15e0c6abe4 Add direct iface methods to add/remove project import/export actions 2023-02-15 14:26:26 +10:00
Nyall Dawson
aa5644d1d5 Add interface method to retrieve Project - Import/Export submenu
Allows a stable way for plugins to insert actions into this menu
2023-02-15 14:26:26 +10:00
Nyall Dawson
d4c69f44d8 Add interface method to open Data Source Manager at a specific page 2023-02-15 04:40:20 +10:00
Nyall Dawson
04851d5b75 Sip updates 2023-02-06 09:45:26 +01:00
Nyall Dawson
6f71e3393e Fix map tips do not show for vector layers where the HTML map tip
option isn't used

In this case the layer's display expression should be used for
the map tip content

Followup https://github.com/qgis/QGIS/pull/50854
2023-02-06 08:41:45 +10:00
Mathieu Pellerin
56e0729e6b [attribute form] Add audio and video support to attachments editor widget 2023-01-27 17:06:03 +10:00
Nyall Dawson
94cf996893 Add changed signal to QgsXyzSourceWidget 2023-01-27 14:25:52 +10:00
Mathieu Pellerin
7b102b9703 [gui] Brand new QgsMediaWidget to for playing audio or video files 2023-01-27 08:40:16 +10: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
0523c661c6
Merge pull request #51502 from elpaso/spacer-widget
Spacer widget for drag & drop attribute forms
2023-01-18 09:12:34 +01:00
Alessandro Pasotti
e3c4db9e20 Spacer widget line option 2023-01-17 15:08:53 +01:00
Nyall Dawson
d6b61470ca Add an option to set default symbols for QgsSymbolButton 2023-01-17 15:36:03 +10:00
Mathieu Pellerin
8e12541dfd
Merge pull request #51309 from nirvn/validity_table
[attributes table] Add constraint-based conditional styling and failing constraints feature filter
2023-01-17 09:24:42 +07:00
Nyall Dawson
4c992c4077
Apply suggestions from code review 2023-01-17 09:52:58 +10:00
Harrissou Sant-anna
33467dde16 Mention Elevation page in layer properties as reachable programmatically 2023-01-17 05:06:45 +10:00
Nyall Dawson
923abcb2e9 New dialog for creating relationships on a database connection 2023-01-17 05:06:09 +10:00
Alessandro Pasotti
6cd867eb19 Spacer widget for Drag&Drop attribute forms 2023-01-16 15:59:04 +01:00
Denis Rouzaud
80e3f35e88 migrate plugin manager settings and replace settings in app 2023-01-16 09:00:52 +01:00
Denis Rouzaud
715f760d26 fix headers reading in widget + deprecate method with settings 2023-01-16 09:00:50 +01:00
Denis Rouzaud
cffd3630b4 fix dox + unused vars 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
Alessandro Pasotti
bed001f9f3
Merge pull request #51323 from elpaso/text-widget
Text widget
2023-01-15 09:46:34 +01:00
Mathieu Pellerin
77df5b8d8a Only show failing constraint visual feedback when the attribute table is set to filter for invalid features 2023-01-14 11:37:11 +07:00
Mathieu Pellerin
cd5eddfb59 [attributes table] Brand new feature with failing constraints view 2023-01-13 10:11:42 +07:00
Nyall Dawson
0b31551a08 Fix some warnings 2023-01-13 06:40:01 +10:00
Denis Rouzaud
236ccce7e9 [doxygen] remove \returns for returning void methods 2023-01-12 15:00:51 +01:00
Yoann Quenach de Quivillic
74c60488f2 Fix sip 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
59332e0984 Fix sip 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
88a683fec3 Fix style 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
eade013151 Document versioon added 2023-01-11 07:33:27 +10:00
Yoann Quenach de Quivillic
da260a7a46 add helper functions to get cursor context info 2023-01-11 07:33:27 +10:00
Even Rouault
bac117e4f1
Merge pull request #51144 from rouault/wfs_sublayers
[WFS] Improve support of layers with unknown geometry type with Deegree servers
2023-01-09 06:14:09 +01:00
Yoann Quenach de Quivillic
1c79b4927d
[feature][console] Add toggle comment action in the python console (#50341)
Adds a toggle comment action in the Python Console and script editors
2023-01-07 09:27:08 +10:00
Yoann Quenach de Quivillic
f6c0bda4c5 Add userProfileManager in QgisInterface (iface)
Fixes #48337
2023-01-06 10:46:50 +01:00
Even Rouault
541da34602
Add a QgsProviderMetadata:suggestGroupNameForUri() method and implement it for WFS to have WFS sublayers put in a group 2023-01-04 00:15:27 +01:00
Julien Cabieces
f4d2f27fbd
Merge pull request #51215 from uclaros/fix-relation-multi-completer
Allow filtering in value relation widget when allowing multiple selections
2023-01-03 15:59:52 +01:00
Sandro Mani
caadcb42e8 Move QgsProviderSublayersDialog to GUI 2023-01-03 11:34:52 +01:00
Harrissou Sant-anna
f1f7b7ab12 Fix see also blocks misformatting 2022-12-31 06:56:48 +10:00
Alessandro Pasotti
e9b5c3a358 Sipify 2022-12-29 10:34:14 +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
uclaros
111753a13b remove hack when stopping editing 2022-12-14 12:35:55 +02:00