[QGIS-Developer] Apply style to all selected layers and groups
C Hamilton
adenaculture at gmail.com
Thu Jan 19 06:17:22 PST 2023
The other aspect of this that I didn't mention is that my users create
their own styles which they save ("Save Symbol") under their own tags. This
is all available under the "Layer Styling" panel. When they click on one of
their styles they would like it applied to all selected layers, but because
this is under "Layer Styling" it is only applied to one layer.
Calvin
On Thu, Jan 19, 2023 at 9:03 AM Richard Duivenvoorde <rdmailings at duif.net>
wrote:
> Ah, sorry now I understand.
>
> Yes that would be cool, so instead of the dropdown in the Layer Styling
> panel, you would have an option to select more layers... and apply to all
> of those the changed you do in the layer styling panel.
>
> One thing I'm thinking of, is what to show as 'current' styling after
> selecting 5 (different styled) layers...
>
> Something like: the one in the dropdown is the 'master'? So as soon as you
> add other layers to the selection they get styled (after confirmation?) to
> the same style as the Styling panel is showing for the 'master'?
>
> Anyway: nice idea! Needs some UI thinking though, to not make things
> overly complex for 'normal' use :-)
>
> Richard
>
>
> On 1/19/23 14:54, C Hamilton wrote:
> > Richard,
> >
> > We tend to operate on older versions of software so I see that the
> latest has this, but what 3.28 does not do is when you are using the Layer
> Styling panel, it only works with one layer. Once that layer is set then
> you can copy and paste it to the rest, but it would be really nice if you
> didn't need the additional copy and paste step.
> >
> > Thanks,
> >
> > Calvin
> >
> > On Thu, Jan 19, 2023 at 8:37 AM Richard Duivenvoorde <
> rdmailings at duif.net <mailto:rdmailings at duif.net>> wrote:
> >
> > Hi Calvin,
> >
> > If I load a layer, duplicate it twice more.
> > Restyle the first layer,
> > Copy Style (of that first one)
> > Then select both other layers in the layer list (select click)
> > Then Paste Style
> > Then both other layers get that style?
> >
> > That is not what you mean?
> > Or do you want to have some ui for that?
> >
> > One this I personally miss, is the copy pasting (mostly of colors or
> categories) from one kind of geometry type to another...
> > I know do that (if I have pretty complex styles), by hand by editing
> the qml files...
> >
> > Regards,
> >
> > Richard Duivenvoorde
> >
> >
> > On 1/19/23 14:20, C Hamilton via QGIS-Developer wrote:
> > > I keep having users come to me and ask why QGIS does not allow
> the ability to apply a style to all selected layers and groups of layers.
> As far as I know this does not exist. I added a routine to do this in the
> Density Analysis plugin, but this capability really should be a part of the
> core Layer Styling - perhaps with a checkbox that says to apply to all
> selected layers. This would need to understand that it is only applied to
> layers that match the layer type or either the first or last selected layer.
> > >
> > > Are there any development efforts to apply styles to all selected
> layers?
> > >
> > > Thanks,
> > >
> > > Calvin
> > >
> > > _______________________________________________
> > > QGIS-Developer mailing list
> > > QGIS-Developer at lists.osgeo.org <mailto:
> QGIS-Developer at lists.osgeo.org>
> > > List info:
> https://lists.osgeo.org/mailman/listinfo/qgis-developer <
> https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> > > Unsubscribe:
> https://lists.osgeo.org/mailman/listinfo/qgis-developer <
> https://lists.osgeo.org/mailman/listinfo/qgis-developer>
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20230119/4ffa0475/attachment-0001.htm>
More information about the QGIS-Developer
mailing list