New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose settings for overriding selection color and selection symbol for vector layers #53977
Conversation
QgsMapLayerSelectionProperties exposes settings for controlling how an individual QgsMapLayer behaves with respect to feature selection.
a vector layer If set, then that symbol will be used for selected features. Allows eg selected lines to be rendered in a thicker line style vs non-selected lines for improved visibility.
@nyalldawson A documentation ticket will be opened at https://github.com/qgis/QGIS-Documentation when this PR is merged. Please update the description (not the comments) with helpful description and screenshot to help the work from documentors. Thank you! |
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson , thanks for going that extra mile :)
@nyalldawson |
Allows for users to control whether a specific color or symbol should be used in place of the defaults for a particular layer. This is useful to improve the visibility of selected features with certain symbology. E.g:
Fixes #14467
Fixes #19242
Fixes #21828
Fixes #24593
Fixes #22778