Nyall Dawson
ff56801b8f
Create QgsWebEnginePage wrapper class around QWebEnginePage
...
Like QgsWebPage this provides additional functional over the
base Qt class to simplify tasks required in QGIS.
2024-02-12 12:48:27 +10:00
Nyall Dawson
eccf1198e8
Cleanup API
2024-02-12 12:48:27 +10:00
Nyall Dawson
fdfd7713c5
Lots of shortcuts to get a PDF -> QPainter renderer working
2024-02-12 12:48:27 +10:00
Nyall Dawson
0e00b5fcb0
Shell for QgsPdfRenderer class
2024-02-12 12:48:27 +10:00
Nyall Dawson
ad91789f9e
Fix pyqt5_to_pyqt6 double unnesting some enums
2024-02-12 12:19:10 +10:00
Nyall Dawson
814e6db3b4
Don't map non-list of QVariantMaps to QMap<QString,QVariant>
...
The original workaround was only supposed to apply to QList/
QVector of QVariantMaps. By replacing them all in sip we
break mapping of signals defined in c++ which are emitted
by Python code.
Fixes exceptions after running processing algorithms in Qt6
builds.
2024-02-12 12:16:14 +10:00
Nyall Dawson
87f117f47b
[sipify] Avoid leading and trailing newlines in enum value docstrings
2024-02-11 13:37:29 +10:00
Nyall Dawson
2b710b2617
[sipify] Don't write invalid escaped \d character to docstring
...
Instead correctly translate to ..deprecated python docstrings
2024-02-11 13:37:29 +10:00
Nyall Dawson
09dc6838a7
Upgrade another enum to get filtering working in processing toolbox
2024-02-10 17:25:22 +10:00
Nyall Dawson
e5f7accc6a
use another enum
2024-02-10 17:25:22 +10:00
Nyall Dawson
aeacb8fe07
Use enums, not raw ints
2024-02-10 17:25:22 +10:00
Nyall Dawson
ee53b9ae48
Port processing enums to enum class
...
A step towards a Qt6 compatible Processing framework
2024-02-10 17:25:22 +10:00
Andrea Giudiceandrea
247cadce38
[processing] Don't show hidden parameters in algorithmHelp
2024-02-10 09:24:07 +10:00
Nyall Dawson
45e51c2a55
Expose GEOS constrainedDelaunayTriangulation to QgsGeometry
...
Allows calling this method when QGIS is built against supported
GEOS versions (>= 3.11)
2024-02-10 08:04:51 +10:00
Nyall Dawson
fa6c41fd74
Add QgsGeometryCollection::extractPartsByType
...
Allows extraction of matching parts from a collection, returning
the corresponding collection subclass.
mixed_collection = QgsGeometryCollection()
mixed_collection.addGeometry(... mix of geometry types ...)
multi_line_string = mixed_collection.extractPartsByType(Qgis.WkbType.LineString)
In this case multi_line_string will be a QgsMultiLineString object,
containing just the line string parts from mixed_collection
2024-02-10 08:04:51 +10:00
signedav
28706256be
Merge pull request #56189 from signedav/fix-apply-on
...
Fix double apply on update default values on volatile functions
2024-02-09 12:32:35 +01:00
Alessandro Pasotti
b32d4540fe
QgsField fix equality with editorWidgetSetup
...
Fix #55873
2024-02-09 08:13:08 +10:00
Alessandro Pasotti
11f083b6c0
sipify qt6
2024-02-08 14:52:49 +10:00
Alessandro Pasotti
9a9f94bf9a
SERVER: fix getlegendgraphic with colorramp & JSON
...
Fix #55651
2024-02-08 14:52:49 +10:00
Nyall Dawson
a5cfd70f59
Update python/plugins/grassprovider/grass.txt
2024-02-08 12:54:46 +10:00
Alister Hood
e6184f122f
Fix Python warning
...
ResourceWarning: unclosed file
2024-02-08 12:54:46 +10:00
AlisterH
e71f0c793e
Fix flake errors from last commit
2024-02-08 12:54:46 +10:00
AlisterH
c322c0fcf4
g.extension.list.txt - use QgsProcessingParameterEnum
2024-02-08 12:54:46 +10:00
AlisterH
71dbfc6de8
fix flake error this time?
2024-02-08 12:54:46 +10:00
AlisterH
3adff5e943
Give output variables specific names
2024-02-08 12:54:46 +10:00
AlisterH
9e5aed44d1
fix flake error
2024-02-08 12:54:46 +10:00
AlisterH
e25d905970
fix lint error
2024-02-08 12:54:46 +10:00
AlisterH
31958e0d48
Save output of g.version and g.extension.list algorithms to an output variable as well as html
2024-02-08 12:54:46 +10:00
AlisterH
0fa4ca8180
refine new information in grass7.txt
2024-02-08 12:54:46 +10:00
AlisterH
2b9e2b77be
Tweak new info in grass7.txt
2024-02-08 12:54:46 +10:00
AlisterH
830dc772b6
Minor fix to g.extension.list
2024-02-08 12:54:46 +10:00
AlisterH
ddcd8f004b
Tell the user that they can run without any of the options to get just the GRASS version
2024-02-08 12:54:46 +10:00
AlisterH
4b5fb54dd1
Add g.version algorithm
2024-02-08 12:54:46 +10:00
Even Rouault
8cd3363137
Merge pull request #56226 from nyalldawson/null_value
...
Don't use QVariant(QVariant.Type) for NULL values in Python
2024-02-07 18:42:15 +01:00
Nyall Dawson
eb81a07732
Correctly tag Qgis.WkbType as IntEnum
2024-02-07 19:46:16 +10:00
Nyall Dawson
8f3944dabd
Don't use QVariant(QVariant.Type) for NULL values in Python
...
Instead use qgis.core.NULL, so that the correct logic applies
for Qt6.
2024-02-07 19:35:28 +10:00
Even Rouault
9631b3d3cc
Merge pull request #56212 from rouault/QgsCsException
...
Catch potential QgsCsException at various places; improve qgscoordinatetransform.h doc
2024-02-07 06:01:35 +01:00
Even Rouault
d43ceb45b6
qgscoordinatetransform.h: add a couple missing SIP_THROW( QgsCsException ), and add Doxygen \throw hint to make it obvious exceptions might be thrown
2024-02-07 03:16:44 +01:00
jmkerloch
8e9267f584
feat(QgsLocatorWidget): define anchors for result container
2024-02-07 11:49:35 +10:00
Mathieu Pellerin
b6c7889f35
[attribute form] Insure that a field features multiple times in a feature form has its constraint properly reflected ( #56163 )
2024-02-06 20:27:38 +07:00
Alessandro Pasotti
f2f2840173
Merge pull request #55588 from elpaso/mssql-log-query-when-update-geometry-value
...
MSSQL: fix add/fill ring
2024-02-06 13:47:01 +01:00
Stefanos Natsis
4dc4bff923
Don't open layer properties when toggling visibility ( #56190 )
2024-02-06 21:23:24 +10:00
Nyall Dawson
de532a62aa
Fix doxygen warning
2024-02-06 21:04:43 +10:00
Nyall Dawson
ac2f1179c8
More item data role enum to enum class conversions
2024-02-06 21:04:43 +10:00
Nyall Dawson
feecb4017c
Make some custom model roles enum class for Qt6 compatibility
2024-02-06 21:04:43 +10:00
Loïc Bartoletti
67ea128ee0
DOX: better wording for createGeometryEngine
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-02-06 10:28:53 +01:00
Loïc Bartoletti
f5db8a765f
QgsGeos: Add precision when createGeometryEngine
2024-02-06 10:28:53 +01:00
Nyall Dawson
bf4bd47419
Use standard render test reporting mechanism in server tests
2024-02-06 18:59:03 +10:00
Nyall Dawson
4f6846ea56
Location of generated signature files is different on GRASS 8
2024-02-06 18:31:48 +10:00
Nyall Dawson
2fae8655a4
Ensure config file is written to correct location for grass > 7
2024-02-06 18:31:48 +10:00