Skip to content
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

[dxf] Allow users to override the layer name to be exported to DXF #36

Merged
merged 14 commits into from
Apr 19, 2024

Conversation

gacarrillor
Copy link
Owner

@gacarrillor gacarrillor commented Mar 19, 2024

This PR makes it possible to override the output name of individual layers exported in the DXF Export dialog.

The corresponding processing algorithm's GUI and parameter were also updated accordingly.

Tests were added for:

  • Output layer name precedence for the exported DXF: 1) attribute, 2) layer title, 3) overridden layer name, 4) layer name.
  • Processing qgsprocessingparameterdxflayers parameter and DXF layer's widget wrapper.

Screencast App dialog

2024-03-19.18-11-48.mp4

Screencast Processing dialog

2024-03-25.10-54-11.mp4

UX hints for the users:

DXFExport_algs_help
DXFExport_tooltip

Copy link

github-actions bot commented Mar 19, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 82fb6cc)

…(by using the QgsFilterLineEdit with default value)
…the former can be changed in the export dialog, whereas the latter must be done in the layer properties, therefore, overridden layer name is closer to the export intention and should take the precedence)
@gacarrillor gacarrillor merged commit d9677bc into master Apr 19, 2024
29 checks passed
@gacarrillor gacarrillor deleted the dxf_overridden_name branch April 19, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant