11564 Commits

Author SHA1 Message Date
Nyall Dawson
fdcda15365 [api] Create elevation profile manager, attached to QgsProject
This mimics QgsLayoutManager, but for storage of elevation profiles
attached to a project
2025-08-17 04:26:36 +10:00
Nyall Dawson
4ec64ba4db Silence dllimport attribute ignored warnings
Silence noisy and harmless 'inline function declared as
dllimport: attribute ignored' warnings.

These can be safely ignored, but cause thousands of lines of
warnings during windows builds (eg mingw builds)

(Unfortunately a macro based approach CANNOT be used here -- that
breaks the mingw build, as it seems to have issues with nesting
_Pragma along with __declspec)
2025-08-17 04:26:19 +10:00
Jean Felder
6bf5a1b90b
qgsrectangle: Add isvalid method 2025-08-11 12:34:58 +02:00
Valentin Buira
f6e38c7627
qgsrectangle: Improve isNull documentation 2025-08-11 11:02:38 +02:00
qgis-bot
c4047b9b45 auto sipify 🍺 2025-08-07 01:58:42 +00:00
Nyall Dawson
53d20879de Make math utils Q_GADGET 2025-08-07 11:56:06 +10:00
Nyall Dawson
d7edbfe723 Introduce QgsMathUtils class
Currently contains a method for converting doubles to approximate
rational fractions
2025-08-07 11:56:06 +10:00
Loïc Bartoletti
42f90dfc74 refactor(QgsGeometryUtils): remove useless parameter distanceFromStart in interpolatePointOnSegment function 2025-08-05 14:33:49 +02:00
Loïc Bartoletti
12bf031796 docs(QgsGeometryUtils): Explicit mention CircularArc about the three fillet arc points 2025-08-05 13:45:54 +02:00
Loïc Bartoletti
1d246cdb27 refactor(QgsGeometryUtils): replace raw pointers by smart pointers 2025-08-05 11:53:27 +02:00
Loïc Bartoletti
bd5eb76ba7 style: replace seg* by segment* 2025-08-05 11:00:53 +02:00
Loïc Bartoletti
b76cbadde8 refactor(chamfer/fillet): move logic to qgsgeometryutils 2025-08-05 07:24:23 +02:00
Loïc Bartoletti
98d9c612aa refactor(chamfer/fillet): const'em all 2025-08-05 07:24:23 +02:00
Loïc Bartoletti
ccad35a431 fix(version): replace 3.40 by 4.0 for QgsGeometry chamfer/fillet 2025-08-05 07:24:22 +02:00
Loïc Bartoletti
391a07bb12 fix(version): replace 3.40 by 4.0 for QgsGeometryUtilsBase chamfer/fillet 2025-08-05 07:24:22 +02:00
Loïc Bartoletti
fe1a52b070 feat(tests): add Python tests for QgsGeometry chamfer and fillet methods 2025-08-05 07:24:22 +02:00
Loïc Bartoletti
922964da6f feat(geometry): add chamfer and fillet methods to QgsGeometry
Add vertex-based and segment-based chamfer() and fillet() methods with
Z/M coordinate interpolation support. Handles both LineString modification
and standalone segment operations for CAD-style corner editing.
2025-08-05 07:24:22 +02:00
Loïc Bartoletti
351ae63ab1 feat(geometry): add chamfer and fillet core functions to QgsGeometryUtilsBase
Add createChamfer() and createFillet() methods for 2D geometric operations.
These low-level functions handle segment intersection, angle calculation,
and tangent point computation for CAD-style corner modifications.
2025-08-05 07:24:22 +02:00
qgis-bot
8362f6b4df auto sipify 🍺 2025-08-02 22:58:59 +00:00
Nyall Dawson
f7022ab92e Add missing docs 2025-08-03 08:56:23 +10:00
Nyall Dawson
c61aa54ea3 Documentation fixes 2025-08-03 08:56:23 +10:00
Nyall Dawson
c686bb1f88 Generalise proxy model to support generic attached objects 2025-08-03 08:56:23 +10:00
Nyall Dawson
231b95bc45 Generalise QgsLayoutManagerModel to template class for project stored objects
Allows us to re-use the model for other attached object types
2025-08-03 08:56:23 +10:00
Nyall Dawson
24adfe7619 Move layout manager model to separate files 2025-08-03 08:56:23 +10:00
Nyall Dawson
cacdea42fd Create abstract base class for managers for objects attached to QgsProject
This generalizes the logic from QgsLayoutManager, so that additional
manager classes handling other object types can be added without
incurring a lot of near-duplicate code.

This is a step toward allowing storage of elevation profiles
within projects.
2025-08-03 08:56:23 +10:00
qgis-bot
337fa319f9 auto sipify 🍺 2025-07-30 22:34:25 +00:00
Martin Dobias
d3e7411417 QgsOrientedBox3D: new constructor using rotation + longestSide() 2025-07-30 22:57:27 +02:00
qgis-bot
c6000f1ea3 auto sipify 🍺 2025-07-24 15:55:20 +00:00
Juergen E. Fischer
4abd7ca3b1 generate pyproject.toml for bindings with cmake 2025-07-23 07:11:51 +10:00
qgis-bot
cbf5b75a24 auto sipify 🍺 2025-07-22 07:41:08 +00:00
Alessandro Pasotti
ae2f54a5ad
Merge pull request #62180 from pathmapper/only_maptip_project_setting
[server] Add project setting to enable HTML GetFeatureInfo maptip-only mode
2025-07-22 09:38:34 +02:00
qgis-bot
595906208d auto sipify 🍺 2025-07-22 04:59:35 +00:00
Mathieu Pellerin
c3116bfbcc [ui][map layers] Introduce grouped style categories copy/pasting UX 2025-07-22 14:56:46 +10:00
qgis-bot
48fa7da841 auto sipify 🍺 2025-07-22 03:09:25 +00:00
Nyall Dawson
741b9260fe Add processing documentation flag for algorithms which respect ellipsoid 2025-07-22 13:06:50 +10:00
qgis-bot
4907f4ffe9 auto sipify 🍺 2025-07-22 00:23:09 +00:00
Nyall Dawson
b5164a1b18 Fix malformed python docs 2025-07-22 10:20:29 +10:00
Harrissou Sant-anna
f831914584 Fix qgsfunction docs formatting 2025-07-22 10:20:29 +10:00
qgis-bot
5ac1e4f61b auto sipify 🍺 2025-07-18 10:21:25 +00:00
signedav
bcddeb2605
Merge pull request #62343 from signedav/ordered
Relation Reference Order By Option
2025-07-18 12:18:45 +02:00
signedav
5603f44005 Use Qt::sortOrder to define if the order direction should be ascending or descending 2025-07-17 15:32:08 +02:00
Even Rouault
a9ddf6983a
Typo fixes 2025-07-12 20:21:10 +02:00
qgis-bot
51df526a40 auto sipify 🍺 2025-07-09 09:16:35 +00:00
Nyall Dawson
b04a908892
Clarify docs 2025-07-08 16:34:28 +10:00
qgis-bot
a0ba625868 auto sipify 🍺 2025-07-07 06:53:49 +00:00
Julien Cabieces
f9e73eabc6
Merge pull request #62488 from nyalldawson/mask_switch
Add (hidden) setting to force raster clip masks for layout exports
2025-07-07 08:50:52 +02:00
qgis-bot
71697c478a auto sipify 🍺 2025-07-06 23:11:19 +00:00
Yoann Quenach de Quivillic
91e25e8051 Apply suggestions from review 2025-07-07 11:08:27 +12:00
Yoann Quenach de Quivillic
4c3aaa09ca Add methods to remove plugin-defined layout items when unloading plugin 2025-07-07 11:08:27 +12:00
qgis-bot
37ec164377 auto sipify 🍺 2025-07-03 12:57:28 +00:00