1019 Commits

Author SHA1 Message Date
Jan Caha
254614b393
Mesh layer remove datasetgroup (#59382)
* add removeDatasetGroup() function for mesh data provider and mesh layer

* make dataset group names unique

* fix typo

* add mesh removing to the widget

* fix icon

* add check that added dataset group path is unique to avoid duplicate data and emit message if it is not

* sipify

* fix mistake

* check if uri is correct - just for case

* add tests

* add tests

* fix docstring

* add docstring

* add missing override

* explicitly convert number to string

* update tests to reflect that you cannot add same file as dataset group twice

* fix docstring

* pass by value

* fix docstrings

* const variables

* rename signal

* drop include

* simplify regex

* make test better

* sipify

* add docstring

* fix styling and typo

* fix tests

* fix precommit issues

* fix issue

* Update src/core/mesh/qgsmeshlayer.h

fix docstring

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* const stuff

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* sipify

---------

Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-12-11 16:06:17 +02:00
qgis-bot
21450c1223 auto sipify 🍺 2024-12-11 13:57:37 +00:00
Alexander Bruy
0baab445c0
Merge pull request #59813 from nyalldawson/coverity
Coverity scan fixes
2024-12-11 13:54:56 +00:00
Jean Felder
cfc2418675
qgslayertreemodel: Fix layerFlagsChanged docstring 2024-12-11 11:02:35 +01:00
qgis-bot
2fc40b845c auto sipify 🍺 2024-12-11 09:14:31 +00:00
Matej Bagar
22fe235648
Virtual point clouds - Tile Labels (#59726)
* Add label rendering into VPC tiles

* Move tile labels rendering into QgsPointCloudExtentRenderer

* Rework showLabels flag once more & connect it to widget

* Add widget for label TextFormat WIP

* Rework and fix text format widget issues

* Improve default text format used in VPC labels

* Fix banned keywords issue

* Fix QgsTextFormat review issue

* Fix labels drawing efficiency issue

* Fix formating issues

* Fix review issues
2024-12-11 10:11:44 +01:00
Matt Fisher
313873d58e Regenerate SIP files 2024-12-11 15:11:35 +10:00
Nyall Dawson
53ceb20893
Fix coverity unchecked return value warning, improve docs 2024-12-11 06:40:14 +10:00
qgis-bot
2ad19b4b48 auto sipify 🍺 2024-12-09 23:59:38 +00:00
JuhoErvasti
c130eb7c3d Add \since to new functions 2024-12-10 09:56:33 +10:00
JuhoErvasti
b373c8b3aa Address review 2024-12-10 09:56:33 +10:00
Juho Ervasti
6b6a4d5549 Add unit selection for extent buffer 2024-12-10 09:56:33 +10:00
Juho Ervasti
bb737f3cac Disallow negative buffer 2024-12-10 09:56:33 +10:00
Juho Ervasti
13ee0bf5cf Apply suggestions from review 2024-12-10 09:56:33 +10:00
Juho Ervasti
e7a27d05c7 Fix style 2024-12-10 09:56:33 +10:00
JuhoErvasti
5c49205bd2 Add maximumExtentBuffer() function to QgsFeatureRenderer 2024-12-10 09:56:33 +10:00
JuhoErvasti
ccc7df5966 Add extent buffer property to QgsSymbol 2024-12-10 09:56:33 +10:00
merydian
3d407300ef Align PyQt5 and PyQt6 files 2024-12-09 15:30:17 +10:00
Till Frankenbach
92c0a07557 Replace wbk with wkb_type
Co-authored-by: Even Rouault <even.rouault@spatialys.com>
2024-12-09 15:30:17 +10:00
merydian
ceff8fe727 Make Z and M values accessible in QgsGeometry.as_numpy() 2024-12-09 15:30:17 +10:00
qgis-bot
90fe3fb770 auto sipify 🍺 2024-12-09 05:01:35 +00:00
Even Rouault
0c5edad199 QgsProcessingAlgorithm::addOutput(): add a variant that accepts a unique_ptr for QgsProcessingOutputDefinition 2024-12-09 14:58:27 +10:00
Even Rouault
a389b1a568 QgsProcessingAlgorithm::addParameter(): add a variant that accepts a unique_ptr for QgsProcessingParameterDefinition 2024-12-09 14:58:27 +10:00
qgis-bot
d865df1e00 auto sipify 🍺 2024-12-09 03:39:15 +00:00
Nyall Dawson
47593ca156 Rename to 'snap to pixel factor' for clarity 2024-12-09 13:36:08 +10:00
Nyall Dawson
61bbd91c81 Add API to QgsRasterIterator to handle resampling factor
Allows raster iterator to calculate blocks which are exactly
multiples of the resampling factor, to aid in cases where the
iterator will be used to fetch resampled raster blocks
2024-12-09 13:36:08 +10:00
qgis-bot
00ed70ba91 auto sipify 🍺 2024-12-06 09:23:37 +00:00
Nyall Dawson
af8e4432a9 Consistently return QgsAbstractGeometry from QgsGeos methods
This is more flexible then always returning QgsGeometry
2024-12-06 19:20:26 +10:00
Nyall Dawson
dbb20bb5da Add sip cast code to QgsGeos
Ensures QgsGeometry.createGeometryEngine returns a QgsGeos object
for use in Python
2024-12-06 19:20:26 +10:00
Nyall Dawson
afac0312aa Expose QgsGeos class to PyQGIS
This class has lots of (very useful!) GEOS specific functionality which
is not exposed through the base QgsGeometryEngine class
2024-12-06 19:20:26 +10:00
qgis-bot
2c266b98f5 auto sipify 🍺 2024-12-05 12:23:03 +00:00
Denis Rouzaud
76f702e48a sipify 2024-12-05 13:19:50 +01:00
qgis-bot
6ac62032fb auto sipify 🍺 2024-12-04 19:17:09 +00:00
Nyall Dawson
2140c555fe Double-clicking a mouse handle for a layout label resizes to fit text
Double-clicking a handle will auto-size the label to exactly fit
the contained text (growing or shrinking as needed). The opposite
side of the label will remaining fixed in place, so eg double-click
the bottom-right handle causes the bottom-right corner of the label
to move.
2024-12-05 05:13:53 +10:00
qgis-bot
3fca3fc3cc auto sipify 🍺 2024-12-03 17:01:09 +00:00
Nyall Dawson
87efed6b0e Expose mode 2024-12-04 02:57:51 +10:00
qgis-bot
dd32d0e8f9 auto sipify 🍺 2024-12-03 08:30:06 +00:00
David Koňařík
d47ad7dfe0 Minor changes per review 2024-12-03 09:26:55 +01:00
David Koňařík
f2afd6a498 Expose point cloud class statistics to Python 2024-12-03 09:26:55 +01:00
David Koňařík
e5064f092a Refactor QgsPointCloudIndex statistics methods 2024-12-03 09:26:55 +01:00
qgis-bot
eb1ce83af1 auto sipify 🍺 2024-12-03 07:47:10 +00:00
qgis-bot
a6946c6909 auto sipify 🍺 2024-12-03 03:01:14 +00:00
hxbb00
33b22c6519 feat: Enhance the ability to customize icons for QgsPluginLayer 2024-12-03 12:58:00 +10:00
Nyall Dawson
37478db0c1 Fix more function links 2024-12-03 12:57:44 +10:00
Nyall Dawson
d50fe2a9e5 Fix function links, sipify 2024-12-03 12:57:44 +10:00
qgis-bot
b397c66689 auto sipify 🍺 2024-12-02 21:09:13 +00:00
Nyall Dawson
8d60d4f6d7 Make some factories return unique_ptr 2024-12-03 07:06:02 +10:00
Nyall Dawson
596ecbee9c [sip] Implement MappedType for unique_ptr to Python conversion 2024-12-03 07:06:02 +10:00
qgis-bot
f802e20284 auto sipify 🍺 2024-12-02 14:21:09 +00:00
Nyall Dawson
7670fbe362
Move class, method out of QgsPalLabeling to central location 2024-12-02 12:46:23 +10:00