Nyall Dawson
3786cd178d
Move python console history handling to base QgsCodeEditor class
...
So that other non-python-console code editors can utilise this too
2022-10-24 16:46:11 +10:00
Nyall Dawson
04dbee6eb7
Add a script language enum
2022-10-24 16:46:11 +10:00
Nyall Dawson
dd4984eb49
Move some common code to base class
2022-10-24 16:46:11 +10:00
Ondřej Holešovský
854598d3b9
TilesXYZ.py - setTransformContext before rendering
...
Set transform context in QgsMapSettings before rendering tiles in order to respect all the desired CRS transformations configured in QGIS project settings.
2022-10-23 10:41:38 +10:00
Nyall Dawson
1e18322722
Add QgsCodeEditorR code editor subclass for R scripts
2022-10-22 18:46:41 +10:00
Eric Daigle
af147706a5
[feature] allow cancelling the zoom function with ESC
...
As described in #49804 , there is currently no way to cancel a zoom operation once
the user has begun dragging. This commit makes the ESC key cancel an in-progress
zoom operation, leaving the canvas unchanged.
Closes #49804
2022-10-22 08:53:06 +10:00
Alessandro Pasotti
9642121cb3
Layout
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
4ff738f3d9
Layout and nonsense
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
f45cd59539
Layout and core export on structs
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
e4b09ba468
RAT editing API and tests
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
99f39f66c3
Remove loading flags (to be readded later)
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
d51d1365eb
Move enums
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
cd6c8e9a5c
Address PR comments
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
1954b76293
Code layout
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
7592f38620
More tests for import/export
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
b3bc13450c
Remove GUI leftover
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
06566c7a8c
DBF RAT
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
91f4e97365
Rename methods
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
52135d65c5
GDAL native RAT implementation
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
5e63b0422a
RAT implementation progress
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
465f627fae
RAT implementation progress
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
b75997e217
No renderer
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
0473d363a6
RAT save
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
d5559be0ba
Sipify
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
7debc91480
sipify
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
fe2c86d7ed
RAT implementation
2022-10-22 08:52:37 +10:00
Alessandro Pasotti
5a72e35c6d
Initial RAT implementation
2022-10-22 08:52:37 +10:00
Stefanos Natsis
ba97282dd0
Allow hiding empty layers in sublayers dialog ( #49870 )
...
* Sublayers dialog improvements
* added tests
* fix flake
* check against DisplayRole instead of EditRole
2022-10-21 10:53:49 +00:00
Brendan
2648667b59
updated parameters for r.sim.sediment
2022-10-21 19:06:29 +10:00
Vincent Cloarec
220806ef5a
suggest to fix topological mesh error when starting mesh editing
2022-10-21 01:09:01 +00:00
Nyall Dawson
98f14f954f
Add api to set a filtered list of crs to show in
...
QgsProjectionSelectionWIdget
2022-10-20 14:31:58 +10:00
Nyall Dawson
c9a2a5efa8
Fix some overlay algorithms output multipoint geometries but
...
output layer is single point, causing insertion errors
Fixes #49456
2022-10-20 13:59:49 +10:00
Harrissou Sant-anna
83a9715e1a
Connect every layer properties tabs to their respective documentation
...
when the section is available
and fix some links
2022-10-20 13:44:26 +10:00
Sandro Santilli
7588ce429f
Cleanup temporary python test config path when requested
...
References #48884
2022-10-20 04:49:56 +02:00
Loïc Bartoletti
e3bf816f55
rename addMultiRing to addRingV2
2022-10-18 12:28:22 +02:00
Loïc Bartoletti
6a1222f187
apply nyall's review: use unique_ptr and sip things
2022-10-18 10:31:02 +02:00
Loïc Bartoletti
5d7a025304
qgsvectorlayereditutils.h: add \since tag
2022-10-18 10:31:02 +02:00
Loïc Bartoletti
992e2bf1df
Remove addMultiRing method in QgsVectorLayer.
...
QgsMapToolAddRing can use the one from QgsVectorLayerEditUtils.
All checks are made inside QgsVectorLayerEditUtils.
2022-10-18 10:31:02 +02:00
Loïc Bartoletti
b09c2d1132
QgsVectorLayer: add addMultiRing and use it in QgsMapToolAddRing
...
The `QgsMapToolAddRing` adds a ring through the `addRing` method of
`QgsVectorLayerEditUtils` called by this of `QgsVectorLayer`.
The bug described in #23113 indicates that only one of the entities receives the
ring addition when using the map tool.
This is consistent with the documentation of the `addRing` methods.
So, it is by design that the tool works like this.
However, as stated in the ticket, it is best to add the ring to all entities.
In order to avoid an api break, I added a new addMultiRing method that adds the ring on all entities.
Fixes #23113
2022-10-18 10:31:01 +02:00
Nyall Dawson
4a3e0b5b4b
Add formal api for setting/retrieving project coordinate axis order
...
Instead of requiring informa fragile/slow project readEntry calls
2022-10-17 14:35:26 +10:00
Alessandro Pasotti
08591c63a1
Merge pull request #50497 from dmarteau/fix-FilterFeatures
...
Fix unwanted side effect with QgsAccessControl filter cache
2022-10-13 09:39:15 +02:00
Nyall Dawson
fb3c110d08
Arrange includes
2022-10-13 08:47:43 +10:00
David Marteau
22cbbf7239
Fix unwanted side effect with QgsAccessControl filter cache
...
Prevent leaking access control cache filter between
requests.
2022-10-12 16:42:16 +02:00
Nyall Dawson
34227bdf1c
Fix broken logic in clearing python console history
...
- clearing session was also clearing the file history
- clearing file history was doing nothing
2022-10-12 08:22:34 +10:00
Jacky Volpes
673f44811d
Fix #47525
2022-10-11 19:05:59 +02:00
Nyall Dawson
fcb83a7a30
Fix code folding not shown for non-python code editor classes
2022-10-10 14:01:24 +10:00
Nyall Dawson
39a4a63890
Promote to enum class
2022-10-10 14:01:24 +10:00
Nyall Dawson
ed54489a09
Move some useful python console methods to base class
2022-10-10 14:01:24 +10:00
Tomas Johansson
95e00c50d2
Resolves 'Delete holes' bug when 'area' argument is used
...
Fixes #49578
2022-10-03 07:58:31 +10:00
Nyall Dawson
3d168eddee
Fix raster contour renderer ignores opacity setting
...
Fixes #41663
2022-09-29 19:10:59 +10:00