89106 Commits

Author SHA1 Message Date
Denis Rouzaud
d5b8c7e003 allow combination of SIP_SKIP and Q_DECLARE_FLAGS 2024-12-07 05:16:00 +10:00
Denis Rouzaud
5996b316bc comment to fix win build 2024-12-07 05:16:00 +10:00
Denis Rouzaud
8c4b08dc07 fix windows build take 2 2024-12-07 05:16:00 +10:00
Denis Rouzaud
a0d1152d99 fix windows build 2024-12-07 05:16:00 +10:00
pre-commit-ci[bot]
600c619541 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-12-07 05:16:00 +10:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +10:00
Denis Rouzaud
a6fab83cd9 run pre-commit 2024-12-07 05:16:00 +10:00
Denis Rouzaud
fbc9e70738 place SIP_DEPRECATED before definition 2024-12-07 05:16:00 +10:00
Denis Rouzaud
72cbfe5124 add gui to clang-format 2024-12-07 05:16:00 +10:00
Denis Rouzaud
59c62c2a01 comment sip directives 2024-12-07 05:16:00 +10:00
qgis-bot
00ed70ba91 auto sipify 🍺 2024-12-06 09:23:37 +00:00
Nyall Dawson
e2e99b6854 Update src/core/callouts/qgscallout.cpp
Co-authored-by: Harrissou Sant-anna <delazj@gmail.com>
2024-12-06 19:20:26 +10: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
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