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
Nyall Dawson
c33b4e67dc
Fix exception when loading processing plugin on Qt 6 builds on KDE
...
Something internal in KDE itself adds child QObjects to menus, so the
code which tries to find the last action in the menu fails and returns
a QObject instead of a QAction, leading to an exception in the
insertAction call.
This is all too fragile anyway, so avoid it by:
- Just creating the models menu directly in the ui
- Exposing this via interface for use in the processing plugin
Now there's no risk of this code breaking in future if the Project
menu is re-arranged.
2024-12-06 19:20:05 +10:00
Denis Rouzaud
806ea8b9cf
disable pre-commit workflow
...
this workflow doesn't seem to work on PRs from forks
so we use pre-commit.ci instead
2024-12-06 07:08:38 +10:00
Nyall Dawson
341b7e5af7
Fix cppcheck
2024-12-06 06:24:08 +10:00
Denis Rouzaud
ffaaacf02d
Update .git-blame-ignore-revs ( #59758 )
2024-12-05 13:38:32 +01: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
Denis Rouzaud
3c0eda36a3
src code layout
2024-12-05 13:19:50 +01:00
Denis Rouzaud
6b6bdcc3bf
re-run pre-commit after rebase
2024-12-05 13:19:50 +01:00
Denis Rouzaud
8ce3636d53
fix typo
2024-12-05 13:19:50 +01:00
Denis Rouzaud
244a7c1bd1
[sipify] exit type header code
2024-12-05 13:19:50 +01:00
Denis Rouzaud
69fa93556a
fix SIP_SKIP
2024-12-05 13:19:50 +01:00
Denis Rouzaud
25ad1b8e38
[sipify] do not exit header code if commentting
2024-12-05 13:19:50 +01:00
Denis Rouzaud
2f2c54095c
Revert "[sipify] close type header code earlier"
...
This reverts commit 0fe88cf945fd2da710453e2a55a4cdc4e2f82802.
2024-12-05 13:19:50 +01:00
Denis Rouzaud
48ab44ef11
fix SIP_SKIP
2024-12-05 13:19:50 +01:00
Denis Rouzaud
6454ac4909
modify core includes
2024-12-05 13:19:50 +01:00
Denis Rouzaud
7f4ae01b8c
[sipify] better handling of type header includes (multiple)
2024-12-05 13:19:50 +01:00
Denis Rouzaud
37444f29eb
modify includes
2024-12-05 13:19:50 +01:00
Denis Rouzaud
05062c386f
[sipify] better handling of type header includes
2024-12-05 13:19:50 +01:00
Denis Rouzaud
3a08533103
[sipify] close type header code earlier
2024-12-05 13:19:50 +01:00
Denis Rouzaud
00fecc29bb
run pre-commit
2024-12-05 13:19:50 +01:00
Denis Rouzaud
ee8cc2c2ad
comment methodcode
2024-12-05 13:19:50 +01:00
Denis Rouzaud
c12f94c316
[sipify] supports code in comment
2024-12-05 13:19:50 +01:00
Denis Rouzaud
e0c145386b
remove auto-generated files from spell check
2024-12-05 13:19:50 +01:00
Denis Rouzaud
b91caf7ede
handle sip macros
2024-12-05 13:19:50 +01:00
Denis Rouzaud
c2d98700a3
add analysis to clang-format
2024-12-05 13:19:50 +01:00
signedav
9f6f941b44
Merge pull request #59605 from signedav/fixcategories
...
Fix unavailable style-categories listed in qml-file
2024-12-05 12:34:47 +01:00
signedav
e73eeccb0a
Update src/gui/qgsmaplayerstylecategoriesmodel.cpp
...
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2024-12-05 09:38:50 +01:00
qgis-bot
6ac62032fb
auto sipify 🍺
2024-12-04 19:17:09 +00:00
Nyall Dawson
77ee4cbef8
Indentation
2024-12-05 05:13:53 +10:00
Nyall Dawson
cbcab26c89
Don't try to resize to fit HTML content
2024-12-05 05:13:53 +10:00
Nyall Dawson
6590af78fe
Test mask updates
2024-12-05 05:13:53 +10: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
Nyall Dawson
546a6cae24
Slightly increase calculated size of label item for text
...
This accounts for eg antialiasing based rounding, and avoids us
returning a size which is only just exactly enough to fit
the text
2024-12-05 05:13:53 +10:00
Nyall Dawson
a506feace6
Don't handle mouse release event after a double click operation on a layout item
...
Doing so can cause unintentional moves of the item
2024-12-05 05:13:53 +10:00
Nyall Dawson
390ac14013
Remove useless test
...
This is just testing a very low level Qt method which has changed behavior in Qt 6
2024-12-04 19:48:25 +10:00
Nyall Dawson
c0bea90dda
Fix clang-tidy warning
2024-12-04 19:48:25 +10:00
Nyall Dawson
ecada7f47a
Harden enum access
2024-12-04 19:48:25 +10:00
Nyall Dawson
487a27e0b3
Only set properties when present in json
2024-12-04 19:48:25 +10:00
Nyall Dawson
c72d7dbca4
Drop unused qjsonwrapper external library
2024-12-04 19:48:25 +10:00
Nyall Dawson
3424438b41
Directly set serialization values for oauth2 config
...
Don't use QMetaObject introspection for this, it's too fragile
and subject to warning-less breakage.
2024-12-04 19:48:25 +10:00
Nyall Dawson
2af2350998
Avoid some unnecessary use of qjsonwrapper
2024-12-04 19:48:25 +10:00
Nyall Dawson
adc8bcea33
Fix clazy warning
2024-12-04 19:48:25 +10:00
Nyall Dawson
57cecdb261
Fix build
2024-12-04 19:48:25 +10:00
Nyall Dawson
ccf50da973
Macro should be HAVE_GUI, not WITH_GUI
2024-12-04 19:48:25 +10:00
Denis Rouzaud
c034d1b50a
place SIP_SKIP before definition ( #59734 )
2024-12-04 09:49:12 +01:00
Even Rouault
d42bb6101e
Fix OAuth2 configuration <--> JSON serialization/deserialization on QT6
2024-12-04 06:51:03 +10:00
Even Rouault
5665665712
Fix CMake 3.31 warnings
2024-12-04 06:50:16 +10:00
qgis-bot
3fca3fc3cc
auto sipify 🍺
2024-12-03 17:01:09 +00:00
Nyall Dawson
2f35db30b0
Fix test
...
The test was using a non-real-world situation where we were
setting the flag to render label rects only, but then trying
to also retrieve the label results.
2024-12-04 02:57:51 +10:00