-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Add option to include 'layer' and 'path' attributes in Merge Vector Layers tool (#55397) #59704
Conversation
… attribute tableThis commit modifies QgsFieldExpressionWidget to ensure that expression fields in the attribute table are displayed using a regular monospaced font instead of the default italics. This improves readability and ensures consistency between different parts of the interface.- Updated QgsFieldExpressionWidget::updateLineEditStyle() to set font to non-italic and apply monospaced family.- Addressed issue reported in qgis#44638 regarding the readability challenges caused by italicized font in expression fields.Related issue: qgis#44638
…ol.The option is enabled by default to maintain backward compatibility.This modification addresses issue qgis#55397 by providing users with greatercontrol over the attributes included in the merged output, enhancing the flexibility and usability of the tool.Fixes qgis#55397
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
This pull request has been tagged for the changelog.
You can edit the description. Format available for credits
Thank you! |
@lanckmann 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! |
@lanckmann |
Description
This pull request addresses Issue #55397 by adding a new option (checkbox) to the Merge Vector Layers processing tool. This option allows users to choose whether to include the
layer
andpath
attributes from the individual input vector layers in the resulting merged layer. By default, this option is enabled (true
) to maintain backward compatibility.Changes Made
initAlgorithm()
qgsalgorithmmergevector.cpp
ADD_SOURCE_FIELDS
that provides the option to include source layer information (layer
andpath
) in the merged output.