168 Commits

Author SHA1 Message Date
Nyall Dawson
4a6fef278e Cleanup docs, don't mention QString in python docs 2025-04-19 18:17:34 +10:00
Julien Cabieces
68dd8200c1
Merge pull request #61195 from troopa81/feat_groupwmsdata
[Server] Add server properties on layer tree group
2025-04-07 14:01:35 +02:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
4a10066b69 Fix grammar errors in class docstrings 2025-04-01 09:44:00 +10:00
Nyall Dawson
afd2e4f42d Fix doxygen class briefs which aren't full sentences 2025-04-01 09:44:00 +10:00
Nyall Dawson
602ef6c691 Don't start class briefs with "This class contains settings..."
It's unncessarily verbose, use just "Contains settings..." instead.
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
Julien Cabieces
6bf973b53a feat(GroupWMSData): Use server properties widget to edit WMS data
As a consequence, it's now possible to edit all server properties for
group (metadata urls, keyword list, attribution...)
2025-03-24 15:28:09 +01:00
Jean Felder
bd4eb2f2cf qgslayertreeregistrybridge: Add a layerInsertionPoint getter 2025-02-07 10:22:53 +10:00
Nyall Dawson
d26104f31f Fix potential crashes when layer tree insertion target group is deleted 2025-02-05 14:18:25 +10:00
Julien Cabieces
ed64834106 api(deprecated): add message to deprecated SIP annotation 2024-12-17 09:06:42 +01:00
Jean Felder
cfc2418675
qgslayertreemodel: Fix layerFlagsChanged docstring 2024-12-11 11:02:35 +01:00
Nick Bowsher
9a08f1097a
[feature] Add extra mesh layer legend node for currently displayed vector datasets 2024-10-02 11:13:40 +10:00
Alessandro Pasotti
1f86ad11b7 Add a blocking variant 2024-09-20 16:03:14 +02:00
Alessandro Pasotti
90622beb53 [server] WMS GetLegendGr.. cascading size
Fix #57422 by adjusting the legend size considering the
cascaded legend imag size.
2024-09-18 18:13:31 +02: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
71c7b63cf6 Allow filtering private layers from QgsLayerTreeFilterProxyModel 2024-08-31 06:19:26 +10:00
Nyall Dawson
d55b4ea066 Expose proxy model for QgsLegendRenderer to allow filtering rendered content 2024-08-31 06:19:26 +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
uclaros
15ebae07df add userData property to 2024-06-22 10:23:34 +10:00
Even Rouault
a68422b982 Various typo fixes
Including 3 public methods, which are deprecated by this commit and replaced by a typo-fixed version
2024-02-29 06:03:03 +10:00
Jacky Volpes
8983852288 Note precision about method becoming public 2024-02-28 12:34:26 +10:00
Jacky Volpes
a137a459a8 Remove expression evaluation in layout legend widget 2024-02-28 12:34:26 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-18 20:57:23 +01:00
Even Rouault
02caeb9db7
Header files: remove all mentions of '\since QGIS 2.' 2024-02-18 20:46:01 +01:00
Alessandro Pasotti
9a9f94bf9a SERVER: fix getlegendgraphic with colorramp & JSON
Fix #55651
2024-02-08 14:52:49 +10:00
Nyall Dawson
feecb4017c Make some custom model roles enum class for Qt6 compatibility 2024-02-06 21:04:43 +10:00
Denis Rouzaud
c76b86e26b
move enum QgsMapLayerProxyModel::Filter to Qgis (#54891) 2023-10-11 13:57:01 +02:00
Nyall Dawson
c2352af95b Add mechanism to make screen properties available for icon
generation in layer tree model
2023-06-23 15:05:15 +10:00
Nyall Dawson
deb12464b5 Add repr for layer tree legend nodes 2023-03-31 14:22:44 +10:00
Nyall Dawson
856f626722 [layouts] When legend filtering is enabled for multiple maps,
ensure that the visible layers for each map is correctly considered
when determining what symbols are overall visible

AKA make multiple map filtering work nicely alongside map themes
2023-03-26 20:21:56 +10:00
Nyall Dawson
030c4f9208 Deprecate confusing old legend filtering API 2023-03-26 20:21:56 +10:00
Nyall Dawson
1742934be5 Add more flexible/understandable api for setting layer tree legend filters
And update existing broken tests which are incorrectly showing
symbols which should not be visible in the legend
2023-03-26 20:21:56 +10:00
Nyall Dawson
b39c389cd9 Fix version numbers 2023-03-14 04:24:19 +10:00
Nyall Dawson
bf11dc1777 Add layer tree signals for hit test started/completed, and methods
to determine whether a background hit test is in progress and
block while it completes
2023-03-14 04:24:19 +10:00
Nyall Dawson
1938f6e255 Add flag to QgsLayerTreeModel to execute legend hit tests in
a background task
2023-03-08 19:28:18 +10:00
Nyall Dawson
2d403b0fef Add method to reorder layer tree group children according to a list of map layers 2023-01-16 19:07:30 +10:00
Harrissou Sant-anna
f1f7b7ab12 Fix see also blocks misformatting 2022-12-31 06:56:48 +10:00
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
Mathieu Pellerin
41211b8a1a Add missing dox 2022-10-24 14:41:42 +07:00
Mathieu Pellerin
a17ab8f03b Add UI to select which insertion method should be used when adding new layers 2022-10-24 14:41:40 +07:00
Mathieu Pellerin
9b0dda7733 Add a new 'optimal' layer tree insertion method for newly added layers 2022-10-24 14:39:50 +07:00
vcloarec
1ce710a0c3 Sipify 2022-08-31 22:40:45 -04:00
Nyall Dawson
c52b2d3ce4 Show a layer tree next to elevation profile plots
This:

- Allows users to turn on or off the visibility of layers from
the profile plot on a plot-by-plot basis (previously the layer
visibility was taken straight from the main canvas layer visibility)
- Allows users to rearrange the drawing order of layers in the plot
- Allows a shortcut to the layer elevation properties settings by
double clicking layers
- Provides a "legend" for the features visible on the plot
2022-04-22 13:07:16 +10:00
Nyall Dawson
82274e89f5 Pass list by reference 2021-11-25 14:23:57 +11:00
Nyall Dawson
9749706c16 Ensure QgsLayerTree::layerOrder correctly respects any layer tree groups
with QgsGroupLayers associated to them
2021-11-24 07:29:31 +11:00
Nyall Dawson
921541d047 Allow association of a QgsGroupLayer with a QgsLayerTreeGroup
and ensure group layer state correctly reflects the state of the
layer tree group
2021-11-24 07:29:31 +11: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