1685 Commits

Author SHA1 Message Date
Yoann Quenach de Quivillic
b35d5fd15d Composite setting key for QAction & QShortcuts keyboad shortcuts 2023-03-30 08:22:36 +10:00
Alessandro Pasotti
b148ff1051
Merge pull request #52420 from YoannQDQ/map-tip-preview
Map tip preview
2023-03-29 16:06:09 +02:00
Yoann Quenach de Quivillic
0e61eb8e58 Add map tip preview in raster layers properties 2023-03-28 15:49:20 +02:00
Yoann Quenach de Quivillic
7d1cc053d0 Add map tip preview in vector layers properties 2023-03-28 15:49:03 +02:00
Yoann Quenach de Quivillic
66b64bc623 Add static methods to get a html preview for a given layer 2023-03-28 14:58:27 +02:00
Mathieu Pellerin
346abae549
Merge pull request #52329 from nirvn/sensors_framework_2
Sensor options panel within the project properties dialog
2023-03-28 15:34:21 +07:00
Nyall Dawson
fe3818d37e Expose QgsMapRendererCache for map canvases to PyQGIS 2023-03-28 15:05:41 +10:00
Nyall Dawson
03e1d90b39 Immediately write out the console history file BEFORE running commands
This prevents loss of history when a user enters a Python command
which results in a QGIS crash
2023-03-28 15:04:39 +10:00
Nyall Dawson
b9b06b057a Don't add 'exec(Path(...))' entries to console history when running scripts
These just clutter the history
2023-03-28 15:04:39 +10:00
Mathieu Pellerin
00b53e7c30 [ui][sensors] Add a sensors panel in the project properties dialog 2023-03-28 11:00:10 +07:00
Yoann Quenach de Quivillic
a4469591a7 Add reformat capability to the HTML editor 2023-03-28 05:53:33 +10:00
Alex
5a0fba972e
[processing] Multilayer selection drop support
Adds drop support for layers in the multiple layer selection widgets to more efficiently select the desired elements. Especially useful in big project of with duplicated layer names.
2023-03-24 06:47:11 +10:00
Yoann Quenach de Quivillic
70bf31adbd Add non translatable option page identifier - Fixes #50657 2023-03-24 06:30:13 +10:00
signedav
74baacc456
Merge pull request #52246 from signedav/fetchlimit_relationreference
Relation Reference: Limit number of entries (resp. unlimit it) per widget
2023-03-21 13:24:51 +01:00
signedav
4eaeb3ec2b add since note 2023-03-20 13:04:33 +01:00
Nyall Dawson
a6b4742e97 Use settings registry for new settings 2023-03-20 16:06:24 +10:00
Nyall Dawson
8e526353f9 Move toggle comment handling to base QgsCodeEditor class 2023-03-20 16:06:24 +10:00
Nyall Dawson
3312bf1ad2 Move syntax checking capability to QgsCodeEditorPython 2023-03-20 16:06:24 +10:00
Nyall Dawson
ac5f8da74e Support reformatting in base QgsCodeEditorPython class 2023-03-20 16:06:24 +10:00
Nyall Dawson
7b61080557 Port generic portions of reformat code action to base class 2023-03-20 16:06:24 +10:00
Nyall Dawson
7cd6b616b1 Allow processing dialog to override default processing context settings 2023-03-17 05:59:15 +10:00
Yoann Quenach de Quivillic
2ab74cb22f Fix #52098 Capture tool technique button disabled 2023-03-16 14:40:07 +01:00
signedav
bf718bc482 tooltip
and fix version number
2023-03-15 17:53:00 +01:00
signedav
c035c2f8a3 Possiblity to set the limit (fetchLimit) of values in the comboBox of the Relation Reference Widget in the widget configuration. 2023-03-15 17:52:53 +01:00
signedav
1667a15527 set fetch limit functions in the QgsFeatureListCombobox to set it indivdually per widget 2023-03-15 17:52:03 +01:00
signedav
5bd1785e3d
Merge pull request #52249 from signedav/removeorderbyvalue
Relation Reference: Remove broken (unused) setting for "Order by value"
2023-03-15 17:21:39 +01:00
signedav
99430cda7e Remove broken (unused) setting for order by value. Resolves #26468 2023-03-15 13:34:23 +01:00
Nyall Dawson
b1419e6009 Spelling 2023-03-15 14:55:44 +10:00
Nyall Dawson
aba620a311 Add a "contextMenuAboutToShow" signal to QgsLayerTreeView
Allows plugins to hook into this menu and add custom entries
and customise the standard entries
2023-03-15 14:55:44 +10:00
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
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