Nyall Dawson
84efb08ee6
Run more tests
2024-01-31 17:16:18 +10:00
Nyall Dawson
f2c74f377d
Sipify
2024-01-31 17:16:18 +10:00
Nyall Dawson
2dae72e388
Fix sipify test
2024-01-31 17:16:18 +10:00
Nyall Dawson
a54d9f1762
Dont use \deprecated doc string
...
This causes a failure in the documentation test because the
accompanying enum can't be tagged with SIP_DEPRECATED/Q_DECL_DEPRECATED
2024-01-31 17:16:18 +10:00
Nyall Dawson
078fd4f2ea
Make IntFlag enum type opt-in, rather than opt-out
...
And make sipify handle this nicely. This means that all our non-flag
style enums correctly map across to IntFlag python enums on Qt 6,
fixing issues with negative enum values for these and providing
a better match for the original c++ enum.
2024-01-31 17:16:18 +10:00
Nyall Dawson
12f4ce5978
Use correct enum type for enum with negative values
2024-01-31 17:16:18 +10:00
Juho Ervasti
ff822f8d01
Fix src/core/layertree/qgslayertreemodellegendnode.cpp style
2024-01-31 14:08:29 +10:00
Juho Ervasti
63594454f1
Update src/core/layertree/qgslayertreemodellegendnode.cpp
...
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2024-01-31 14:08:29 +10:00
Juho Ervasti
d820861322
Remove reference to QgsProject::instance()
2024-01-31 14:08:29 +10:00
Juho Ervasti
633b0da1fb
Set project dirty when setting symbol legend node data
2024-01-31 14:08:29 +10:00
Juho Ervasti
9c94d7b128
Set project dirty when editing symbol with double click
2024-01-31 14:08:29 +10:00
Nyall Dawson
f1e3ba9e2d
Use correct sip method
...
And use INDENT-OFF annotations to avoid astyle messing up
formatting of enum with inline macros
2024-01-31 13:48:49 +10:00
Nyall Dawson
a187ea9b58
Enable more tests
2024-01-31 13:48:49 +10:00
Nyall Dawson
c02a9ef789
Add missing files
2024-01-31 13:48:49 +10:00
Nyall Dawson
2d4c569b9c
Fix build
2024-01-31 13:48:49 +10:00
Nyall Dawson
b5aca7c0b5
Promote another enum to enum class
2024-01-31 13:48:49 +10:00
Nyall Dawson
64c556297d
Fix doxygen warning
2024-01-31 13:48:49 +10:00
Nyall Dawson
09578d6a8f
Use templates to avoid ugly static_cast
2024-01-31 13:48:49 +10:00
Nyall Dawson
23f3af4290
Use enum classes for QgsProperty property keys
...
Should fix usage on Qt 6 builds
2024-01-31 13:48:49 +10:00
Nyall Dawson
33899d13e3
test masks
2024-01-31 13:48:49 +10:00
Nyall Dawson
310b9172fb
pyqt5to6: raise warnings on fragile addAction calls
...
The object.addAction variants with multiple arguments have changed
signature in Qt 6. It's safer to explicitly create a QAction first
and then add to an object using:
my_action=QAction(...)
obj.addAction(my_action)
It's a considerably less fragile syntax to use in any case!
Fixes errors when trying to show context menu in Python console
on Qt 6 builds
2024-01-31 10:55:33 +10:00
Nyall Dawson
c95df01a90
Advertise qt6 compatibility for metasearch plugin
...
There may be some sneaky issues still, but it at least appears to
function ok!
2024-01-31 10:55:33 +10:00
Nyall Dawson
8459fe1468
Replace use of QRegExp in db manager
2024-01-31 10:55:33 +10:00
Nyall Dawson
8c3ac3f3a3
pyqt5to6: Catch QVariant.Type.XX and replace with QVariant.XX
...
QVariant.Type doesn't exist, the values should be referenced
directly
2024-01-31 10:55:33 +10:00
Alessandro Pasotti
27824078ad
Introduce QgsProcessingProvider::Flag::FlagCompatibleWithVirtualRaster
2024-01-31 10:37:52 +10:00
Alessandro Pasotti
ce100fe02b
Exclude virtualraster from processing raster input
...
Also add a tooltip.
Fixes #55890
2024-01-31 10:37:52 +10:00
Even Rouault
77fce4eb1e
[OAPIF] Improve a bit performance of /items response parsing
...
Helps improving #56059
2024-01-31 10:36:21 +10:00
Mathieu Pellerin
578b115f5d
Update src/app/qgsdxfexportdialog.cpp
2024-01-31 10:29:52 +10:00
Mathieu Pellerin
8003a866d9
[ui] Improve visibility of the output layer attribute in the DXF export dialog
2024-01-31 10:29:52 +10:00
Nyall Dawson
62b7427959
Install some extra utils required by tests
2024-01-31 10:06:33 +10:00
Alexander Bruy
d9a0e1d4f9
Merge pull request #56057 from alexbruy/assistant-color-ramp-name
...
pass color ramp name to the color ramp transformer to generate correct expression (fix #48889 )
2024-01-30 19:41:57 +02:00
Nyall Dawson
3445172896
Enable more tests
2024-01-31 03:08:47 +10:00
Nyall Dawson
703612f539
Fix generic exception is raised on PyQt6 builds instead of specific
...
exceptions
QgsException MUST be the last type defined, or it greedily prevents
the more specialized exceptions from being raised in PyQGIS
2024-01-31 03:08:47 +10:00
Alessandro Pasotti
1ed4113ef1
PG: faster information retrieval for table info
...
Information about single tables does not need to
scan for all tables anymore.
Fix #56069
2024-01-30 18:01:06 +01:00
Mathieu Pellerin
a056f4bb39
[ui] Fix overview panel rendering on high dpi screens
2024-01-30 20:52:59 +07:00
Mathieu Pellerin
960391d083
Update test masks, fix clang-tidy warnings
2024-01-30 20:51:40 +07:00
Mathieu Pellerin
dff89f04d2
[raster] Fix glitchy/pixelated rendering of rasters on high DPI screens
2024-01-30 20:51:40 +07:00
Alexander Bruy
0c338f1c09
address review
2024-01-30 14:55:58 +02:00
Alexander Bruy
81b1453b89
pass color ramp name to the color ramp transformer to generate correct
...
expression (fix #48889 )
2024-01-30 14:55:27 +02:00
Alexander Bruy
c7ffbcdb1c
Merge pull request #56054 from alexbruy/export-as-image-warning
...
show warning if width or height of exported image is larger than QPainter limit (refs #41045 )
2024-01-30 14:50:00 +02:00
Mathieu Pellerin
1ffce91f0c
[ui] Fix welcome screen's high dpi rendering of project previews and news images
2024-01-30 18:05:46 +07:00
Nyall Dawson
b85db241c7
Sipify
2024-01-30 19:10:43 +10:00
Nyall Dawson
0aafdbfb77
Handle flags compatibility with older code when porting enums to enum
...
class on PyQt5 builds
2024-01-30 19:10:43 +10:00
Nyall Dawson
1e67b81d5e
Don't write _force_int multiple times
2024-01-30 19:10:43 +10:00
Nyall Dawson
8e00d4befa
Don't use raw ints as enum values
2024-01-30 19:10:43 +10:00
Nyall Dawson
c5978830c5
Add missing monkey patching
2024-01-30 19:10:43 +10:00
Nyall Dawson
6116319806
Move a processing enum to enum class in Qgis
2024-01-30 19:10:43 +10:00
Nyall Dawson
a36b203f30
Promote some processing enums to enum class, cleanups
2024-01-30 19:10:43 +10:00
Nyall Dawson
26798b84f4
Promote QgsFeatureRequest enums to enum class, move to Qgis
2024-01-30 19:10:43 +10:00
Nyall Dawson
167e487629
Enable more tests
2024-01-30 14:49:54 +10:00