14 Commits

Author SHA1 Message Date
Nyall Dawson
34df6d129a [feature] Use text renderer in layout legends
This change allows use of the full text renderer capabilities
for legend titles, subtitles, and item text. It allows buffers,
shadows, font spacing control, and all over options (including
mixed HTML formatting!) which is permitted for use in text
formats.
2022-11-29 14:31:36 +10:00
Julien Cabieces
012b6a46db constify methods 2022-04-29 08:21:47 +10:00
nicogodet
ff388dc733 Correct since indent legend (follow #39211) 2021-06-25 11:47:50 +02:00
Matthias Kuhn
9cc407053b
Merge branch 'master' into indent_legend_groups 2021-05-05 09:30:33 +01:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Juernjakob Dugge
7de030aa0b Handle indentation of right-aligned legends 2021-01-16 20:11:29 +01:00
Juernjakob Dugge
09956c83b5 Add docstrings 2020-12-24 13:14:45 +01:00
Juernjakob Dugge
c04369ebe9 [FEATURE] Indentation of legend groups and subgroups
Fixes #29606
2020-12-23 20:56:24 +01:00
Nyall Dawson
38dfcdfc46 Deprecate QgsLegendRenderer methods which use raw QPainter and force use of QgsRenderContext 2020-04-28 18:19:59 +10:00
Nyall Dawson
99d6524407 Dox++ 2019-06-28 09:45:48 +10:00
Nyall Dawson
6aeedfe20b [FEATURE][layouts] Expose choice of arrangement of legends (i.e.
symbols to the left OR symbols to the right of legend text), and
alignment for group/subgroup/item text

Allows creation of right-to-left locale friendly legends. Additionally,
we default to this right-to-left style alignment when creating new
legends under a RTL based locale.
2019-06-28 09:45:48 +10:00
Nyall Dawson
c864d22d1f Add "get ..." to doxygen compliance blacklist
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
1c615c15cc More documentation compliance
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00