25291 Commits

Author SHA1 Message Date
Nyall Dawson
88c261259c Use more flexible approach for layout legend filtering 2025-08-25 12:17:32 +10:00
Nyall Dawson
2a434da498 Always write/read legend attributes, add flags API 2025-08-25 12:17:32 +10:00
Nyall Dawson
3e8c2cdf14 Add layer legend flags 2025-08-25 12:17:32 +10:00
qgis-bot
8d42d7c6e0 auto sipify 🍺 2025-08-22 07:57:39 +00:00
Loïc Bartoletti
064eb69ecc
Merge pull request #62572 from lbartoletti/feature/add_chamfer_fillet
Feature/add chamfer fillet
2025-08-22 09:55:02 +02:00
qgis-bot
9e4c5c35a9 auto sipify 🍺 2025-08-22 00:43:54 +00:00
Mathieu Pellerin
366fdfc307 Address second round of reviews 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
6d2c2adadc Draft conversions methods 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
63ed8cb23a Add plot render context object and arguments 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
c6c099cbd2 Address review 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
c233382cd6 Break down qgschartplot.cpp/h into distinct files for each chart plot type 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
bb04984d95 QgsChartPlotRegistry -> QgsPlotRegistry 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
903b5e0a5a Fix cppcheck and documentation check 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
75ec5e4962 Address comments provided during the QEP review phase 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
abcb1785c9 Add missing files 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
9a130a8181 Add missing documentation 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
3e152914cb Allow for a series to offer all three symbol types to improve line chart rendering 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
d837af123f Implement a chart registry, to be used in GUI when offering a combobox of available charts 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
c89b4961c8 Implement {bar,line}chart writeXml and readXml function, add a plot type() virtual function 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
b0a73b65e3 Rework categories handling, move it into the QgsPlotData to increase logic robustness and simplicity 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
a0c45d9380 [plots] Add QgsBarChart and QgsLineChart classes, implement category typed axis rendering 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
a2caa8ea75 [plots] Add plot data classes 2025-08-22 10:41:20 +10:00
Mathieu Pellerin
a453dd65b6 [plots] Break Qgs2DPlot into a axis-less Qgs2DPlot and a X/Y axes Qgs2DXyPlot 2025-08-22 10:41:20 +10:00
qgis-bot
8059f9b23d auto sipify 🍺 2025-08-16 18:29:14 +00:00
Nyall Dawson
0b630faa9c Add properties to QgsElevationProfile 2025-08-17 04:26:36 +10:00
Nyall Dawson
d6d8e307c0 Implement elevation profile manager model 2025-08-17 04:26:36 +10:00
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
qgis-bot
b24906550b auto sipify 🍺 2025-08-16 10:22:00 +00:00
Nyall Dawson
3def1fbdf6
Use nicer signal for scale ratio widget updates 2025-08-14 12:59:15 +10:00
Nyall Dawson
d919d8f776
[api] Set specific distance:elevation ratio for elevation profile canvas 2025-08-14 11:58:58 +10:00
qgis-bot
b01d7a5d71 auto sipify 🍺 2025-08-07 03:57:29 +00:00
Valentin Buira
c508926c67 Adress review : add a recursion blocker 2025-08-07 13:54:54 +10:00
Valentin Buira
b7e655f0ba Address review comments
* spelling
* doxygen tag
2025-08-07 13:54:54 +10:00
Valentin Buira
9c227a08da Adress comments
superfluous centerOn
2025-08-07 13:54:54 +10:00
Valentin Buira
959a2c904f Fix view jumping around 2025-08-07 13:54:54 +10:00
Valentin Buira
0101fd43c3 Apply suggestions from code review
Co-authored-by: Stefanos Natsis <uclaros@gmail.com>
2025-08-07 13:54:54 +10:00
Valentin Buira
53adb99721 Avoid needless extra method 2025-08-07 13:54:54 +10:00
Valentin Buira
052d48e558 Simplify restaure the previous viewed rect 2025-08-07 13:54:54 +10:00
Valentin Buira
23dca6322b Remove the good superfluous method this time 2025-08-07 13:54:54 +10:00
Valentin Buira
f24fb9daf4 Adress more comments 2025-08-07 13:54:54 +10:00
Valentin Buira
10897ff3a9 Adress comments 2025-08-07 13:54:54 +10:00
Valentin Buira
1f2e30947c Tidy up PR 2025-08-07 13:54:54 +10:00
Valentin Buira
b1b7bef4a5 Fix scrollback to (0,0) on each repaintModel / rebuild of the model 2025-08-07 13:54:54 +10:00
Valentin Buira
3fe0bf5586 Unlimited modeler canvas size 2025-08-07 13:54:54 +10: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
2827628e9d Add mode to QgsScaleComboBox for non-unit ratios
This allows the widget to be used for other scales (or ratios),
not just map scales.

Eg. it allows it to be used for entry of scale ratios like "2:3",
"16:9" etc.
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