Nyall Dawson
9435a84ff7
sipify
2025-04-03 01:05:31 +10:00
Nyall Dawson
3f6b490218
Sipify
2025-04-02 11:11:10 +10:00
Nyall Dawson
ac71664a83
Fix multiparagraphs in initial class docstrings
2025-03-30 20:48:07 +10:00
Nyall Dawson
b81e0d83f6
Fix non-compliant class brief documentation
2025-03-30 20:48:07 +10:00
Alexander Bruy
2fd017500b
restore default scalebar style only if fill symbol is invisible
2025-02-06 08:37:09 +10:00
Alexander Bruy
1f7d1ad3d0
restore fill brush when switching back to single and double box scalebar
...
(fix #37413 )
2025-02-06 08:37:09 +10:00
Julien Cabieces
ed64834106
api(deprecated): add message to deprecated SIP annotation
2024-12-17 09:06:42 +01:00
Julien Cabieces
398f00bc26
doc(Deprecated): Fix missing \deprecated instruction
2024-12-17 09:05:46 +01:00
Nyall Dawson
4eb6ce1053
Add isValid() method for QgsScaleBarRenderer::RendererContext
2024-10-16 12:00:32 +10:00
Nyall Dawson
ef0289f3ec
Fix formatting of Python ..deprecated annotations in docstrings
...
Fixes https://github.com/qgis/pyqgis-api-docs-builder/issues/174
2024-09-02 11:42:12 +10:00
Nyall Dawson
3a578d6712
Header update
2024-08-13 20:28:55 +10:00
Nyall Dawson
6f652d251b
Drop no-value copy constructor dox
2024-07-25 04:02:55 +10:00
Nyall Dawson
28943f9c1b
Remove a bunch of useless default constructor doxygen
2024-07-23 02:08:28 +10:00
Nyall Dawson
711c75d873
Promote scalebar enums to enum class, move to Qgis
2024-07-12 05:36:22 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0'
2024-02-18 20:57:23 +01:00
Nyall Dawson
f9c3da1e06
Move unit enums to Qgis, promote to enum class
2023-02-19 13:29:06 +10:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09
Run sipify_all.sh
2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306
run sipify
2021-10-12 16:34:05 +10:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
Nyall Dawson
50b9beaad6
[sipify] Catch more class references and insert :py:class: annotations
2021-01-31 05:41:22 +10:00
Nyall Dawson
81a9db9f57
[sipify] Fix creation of cross references
2020-06-15 13:43:58 +10:00
Andrea Giudiceandrea
27f345f0bf
Fix tick-style scalebar when subdivisions ticks height > segments ticks height
...
Take the subivisions ticks height into accout, for ticksscalebar box size calculation and horizontal line and labels position, only if the number of subdivisions to draw is greater than 1
2020-05-11 09:14:24 +10:00
Nyall Dawson
8699f83d98
[FEATURE][layouts] Allow customisation of division and subdivision symbol
...
as distinct symbols vs the scalebar line symbol
Allows for styling division and subdivision symbols in a different
way compared with the horizontal line symbol in a tick scalebar
Sponsored by SLYR
2020-05-07 10:56:50 +10:00
Nyall Dawson
6e9b7ae594
Add clarification re meaning of number of subdivisions
2020-05-07 10:56:50 +10:00
Andrea Giudiceandrea
a3397a8a2e
[feature][layouts] Add subdivisions in ticks scalebar right segments
...
Adds the ability to create subdivisions for segments included in the right part of the ticksscalebar
Fixes #20341
2020-05-06 09:12:37 +10:00
Nyall Dawson
b63018520e
Cleanup scalebar widget enabling code by adding flags to QgsScaleBarRenderer
...
subclasses, so that the subclass itself can indicate what settings
it respects and we can avoid all the hardcoded logic in the configuration
widget
2020-03-23 03:08:50 +10:00
Nyall Dawson
4079878dfb
Rename API methods as requested
2020-03-23 03:08:50 +10:00
Nyall Dawson
1887846a5c
[FEATURE][layouts] Add "hollow" scalebar style
...
This matches the "hollow" scalebar style from ArcMap, and is a style
used in South African mapping standards
Fixes #20390
Sponsored by SLYR
2020-03-23 03:08:50 +10:00
Nyall Dawson
e7cc8307e4
[FEATURE][layouts] Add "Stepped Line" scalebar style
...
Designed to match the appearance and behavior of the ArcMap equivalent,
this was a scalebar format which was previously impossible to replicate
in QGIS.
Also fixes #26589
Sponsored by SLYR
2020-03-23 03:08:50 +10:00
Nyall Dawson
2c01373d1a
Fix build
2020-03-22 16:41:31 +10:00
Nyall Dawson
1e3e205a98
Fix deprecation warning
2020-03-22 16:41:31 +10:00
Nyall Dawson
e82a2e4df1
[FEATURE][layouts] Also allow full fill symbols to be used for single box
...
and double box fill styles
Sponsored by SLYR
2020-03-22 16:41:31 +10:00
Nyall Dawson
9378dcd73f
[FEATURE][layouts] Allow scalebar line style to be set using
...
standard QGIS line symbols
Instead of the previous settings of scalebar line color/width/cap styles,
we now expose the option as a full line symbol for more advanced styling
Also some code cleanups
Sponsored by SLYR
2020-03-22 16:41:31 +10:00
Nyall Dawson
b45203a6c4
Make a proper registry for scalebar renderers
2020-03-21 03:45:24 +10:00
Nyall Dawson
16c2254141
[FEATURE][layouts] Add user control over scalebar numeric formats
...
Gives users control over all the formatting properties for the numbers
in scalebars, including whether they want thousand separators, decimal
places, scientific notation, etc
Fixes #21341
2020-01-09 19:51:50 +13:00
Denis Rouzaud
758d7cff4a
run sipify to update deprecation annotations
2019-10-15 13:17:38 +02:00
nirvn
3a37c83da7
[FEATURE][layout] Add horizontal placement option for scale bar labels
2019-07-29 15:14:34 +07:00
nirvn
e5deb5517b
[FEATURE][layout] Add above/below segments placement option for scale bar labels
2019-07-29 15:14:34 +07:00
Nyall Dawson
2cb8a33884
Fix broken see also links
2018-05-25 11:16:18 +10:00
Denis Rouzaud
7df2593caf
move auto generated sip file in dedicated folder
2018-05-14 10:23:37 -04:00