Sandro Mani
9b095c5605
Revert "Revert "Allowing storing GPGK raster layer styles to DB""
...
This reverts commit 9d8a72256893bd31a51d85927e9abd9cdb5eed29.
2023-10-23 13:47:40 +10:00
Sandro Santilli
f42699979c
Drop the temporary QgsRectangle::createNull static, not more needed
2023-10-23 10:07:42 +10:00
Sandro Santilli
1df4c52321
Add a QgsRectangle::createNull() temporary static method
2023-10-21 16:07:32 +13:00
Sandro Santilli
94ef53286b
Rename QgsBox3d::setMinimal() to setNull()
...
The method was introduced in this version so it should be ok to
rename with no formal deprecation notice
2023-10-20 07:03:55 +13:00
Sandro Santilli
0ec5f0debb
Add QgsRectangle::setNull(), deprecating setMinimal()
2023-10-20 07:03:55 +13:00
Nyall Dawson
7e73b9bad0
Ensure we correctly set qt item caching only when appropriate
2023-10-19 17:30:10 +13:00
Nyall Dawson
cb187267ce
Deprecate QgsLayoutEffect
...
QGraphicsEffects should NOT be used on QGraphicsItems. Despite
being part of stable Qt API, it is broken and results in crashes.
See https://bugreports.qt.io/browse/QTBUG-58501 for details.
2023-10-19 17:30:10 +13:00
Alessandro Pasotti
bd6c36ae40
sipify
2023-10-17 14:27:21 +02:00
Alessandro Pasotti
21145c9daa
Rule support in server GetLegendGraphics JSON response
2023-10-17 09:29:02 +02:00
Mathieu Pellerin
0e6b4fb118
[layouts] Fix line height setting not respected for HTML-enabled label items
2023-10-17 15:55:13 +13:00
Sandro Santilli
c99a33d224
Add QgsArcGisRestUtils::convertRectangle
...
See
https://github.com/qgis/QGIS/pull/54944#pullrequestreview-1680737873
2023-10-17 00:18:30 +02:00
Sandro Santilli
99d0f8a015
Make QgsBookmark string output more explicit about it being EMPTY
2023-10-16 10:52:59 +02:00
Nyall Dawson
82918f9063
Generate a markdown summary of test failures along with existing
...
HTML report
2023-10-12 08:31:53 +10:00
Denis Rouzaud
c76b86e26b
move enum QgsMapLayerProxyModel::Filter to Qgis ( #54891 )
2023-10-11 13:57:01 +02:00
Nyall Dawson
df1dc0dba2
Fix elevation profile item transparency forces rasterisation of
...
whole layout, expand unit test coverage
2023-10-11 11:36:40 +10:00
Nyall Dawson
3588d41786
Fix legend item with opacity forces whole layout to rasterize
...
and expand test coverage of blend modes and opacity with
legend items
2023-10-11 11:36:40 +10:00
Nyall Dawson
58c13215c4
Spelling
2023-10-09 14:14:03 +10:00
Nyall Dawson
7d33d327ad
Use a dedicated thread pool for task manager
...
This avoids conflicts with Qt3D framework. As noted in
https://github.com/qgis/QGIS/issues/50067#issuecomment-1318081784
"The constructor and destructor of QChangeArbiter require the use of
**every** thread in the Qt thread pool."
This causes hangs when exporting layouts containing 3d maps. We
have threads from task manager in use from elsewhere, so the
application deadlocks waiting for every thread to be freed so
that QChangeArbiter can do its thing.
So, use a new dedicated thread pool for task manager's exclusive
use. This avoids the hang when exporting 3d maps as it avoids
the deadlock between task manager and Qt3D's requirements.
(A side benefit is that we don't get delayed map rendering when
the number of queued/running tasks hits the max thread count
from the global thread pool.)
Fixes #50067
2023-10-09 14:14:03 +10:00
Nyall Dawson
9d8a722568
Revert "Allowing storing GPGK raster layer styles to DB"
2023-10-06 12:15:46 +10:00
Sandro Mani
4bc4f48f50
Merge pull request #54558 from manisandro/rasterstyles
...
Allowing storing GPGK raster layer styles to DB
2023-10-05 16:16:44 +02:00
Nyall Dawson
2bd25071f7
Ensure that we always call prepareGeometryChange BEFORE changing
...
properties which effect the boundingRect of a layout item
Refs #52079
Refs https://bugreports.qt.io/browse/QTBUG-18021
2023-10-05 13:24:47 +10:00
Nyall Dawson
17a34a1bab
Avoid calling overridden virtual method in base class destructor
...
Fixes some undefined behavior when deleting layout items
2023-10-04 05:29:03 +10:00
Nyall Dawson
15f04bb10f
QgsVectorLayer field configuration flag methods should also be exposed
2023-10-03 19:51:38 +10:00
Nyall Dawson
7147f013ff
Fix QgsField::ConfigurationFlag::None causes syntax error when
...
starting PyQGIS
We can't use `None` as a keyword exposed to python, it's reserved.
Also move the enum to Qgis before making it part of public stable
API.
2023-10-03 19:51:38 +10:00
Nyall Dawson
52df64779c
Add a workaround for setting QFont objects to font families with
...
odd characters in their names
This can result in the font falling back to a default system
font. It's notably an issue for the "ESRI Oil, Gas, & Water"
symbol font.
2023-10-03 10:14:41 +10:00
Alessandro Pasotti
49340299d2
Merge pull request #54734 from elpaso/bugfix-gh54662-spatialite-multisurface
...
SPATIALITE: fix insert incompatible geometry types
2023-09-30 14:05:16 +02:00
Alessandro Pasotti
7bd457b2bd
doxy
2023-09-30 10:02:02 +02:00
Alessandro Pasotti
3cac4c0b0b
Make convertToProviderType static to bypass thread check
2023-09-30 09:34:34 +02:00
Alexander Bruy
373d5f8654
Merge pull request #54035 from alexbruy/processing-port-raster-calculator
...
Port Raster Calculator algorithm to C++
2023-09-30 10:12:55 +03:00
rldhont
dece451aa1
Merge pull request #54706 from Gustry/hide-password
...
Hide password instead of removing it
2023-09-29 14:22:38 +02:00
Harrissou Sant-anna
f53b318692
Update docs and description for layout map item grid elements
2023-09-29 19:55:37 +10:00
Etienne Trimaille
29b08c79b7
Hide password instead of removing it
2023-09-29 09:29:49 +02:00
Julien Cabieces
4676af859f
Merge pull request #54726 from troopa81/make_avoidintersection_return_enum
...
Make avoidIntersections return an enum
2023-09-28 09:09:48 +02:00
Julien Cabieces
29f19dafc6
fix sip
2023-09-27 18:39:19 +02:00
Denis Rouzaud
68f025b2e5
expose QgsField configuration flags in python bindings ( #54753 )
2023-09-27 14:00:25 +02:00
Alexander Bruy
0f93479e1c
support for raster calculator expressions in expression parameter
2023-09-25 14:14:41 +03:00
Julien Cabieces
7ef5717c7a
add deprecated instructions
2023-09-25 11:12:15 +02:00
Julien Cabieces
5315ae6cc5
make avoidIntersections return an enum
2023-09-25 08:42:03 +02:00
Alexander Bruy
f22efde645
add binary and boolean types to QgsFieldProxyModel to allow filtering
...
corresponding field types. Also expose these field types to Processing
field parameter (fix #53940 )
2023-09-22 09:40:28 +10:00
Blottiere Paul
c448e633ae
Update doc
2023-09-20 21:16:47 +02:00
Blottiere Paul
a95e6b23ca
sip
2023-09-19 17:17:47 +02:00
Sandro Mani
b308bceb83
Revert moving storageType to QgsDataProvider, reword style location labels in QgsMapLayerLoad/SaveStyleDialog
2023-09-18 14:16:02 +02:00
Sandro Mani
e2169be02f
Introduce Qgis::ProviderStyleStorageCapabilities
2023-09-18 14:16:02 +02:00
Sandro Mani
ee357346bb
Move isSaveAndLoadStyleToDatabaseSupported and isDeleteStyleFromDatabaseSupported to QgsDataProvider
2023-09-18 14:16:02 +02:00
Sandro Mani
0a1dd0a643
Move saveStyleToDatabase, listStylesInDatabase, getStyleFromDatabase, deleteStyleFromDatabase, loadNamedStyle to QgsMapLayer
2023-09-18 14:16:02 +02:00
Sandro Mani
1fb7e142c3
Rename QgsVectorLayerSaveStyleDialog to QgsMapLayerSaveStyleDialog and allow using it for non-vector layers
2023-09-18 14:16:01 +02:00
Alexander Bruy
81dbdd8bae
Merge pull request #53874 from alexbruy/processing-port-align-raster-tool
...
Port Align rasters tool to Processing
2023-09-14 16:29:49 +03:00
Alexander Bruy
623e459867
fix patching
2023-09-14 10:46:54 +03:00
Alexander Bruy
79ea6d9936
address review
2023-09-13 13:01:59 +03:00
Mathieu Pellerin
be91ea1909
[api][profiler] Add a function to export the current runtime profiler model content as text
2023-09-13 12:41:00 +07:00