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

[processing] improve rasterize dialog UI, add help #5008

Merged
merged 1 commit into from Aug 11, 2017

Conversation

nirvn
Copy link
Contributor

@nirvn nirvn commented Aug 11, 2017

Description

The rasterize algorithm's dialog suffered from "extreme wideness" due to long parameter strings. I've moved some of the content into the newly-added help section.

I've also moved the optional parameters below the non-optional ones, feels much more logical and intuitive that way.

Before (left) vs. after (right):
screenshot from 2017-08-11 12-56-02
Notice the dialog content being cropped due to wide string, ending up hiding parameters' right-most control buttons

@m-kuhn , @marioba , are you guys OK with this?

Checklist

Reviewing is a process done by project maintainers, mostly on a volunteer basis. We try to keep the overhead as small as possible and appreciate if you help us to do so by completing the following items. Feel free to ask in a comment if you have troubles with any of them.

  • Commit messages are descriptive and explain the rationale for changes
  • Commits which fix bugs include fixes #11111 in the commit message next to the description
  • Commits which add new features are tagged with [FEATURE] in the commit message
  • Commits which change the UI or existing user workflows are tagged with [needs-docs] in the commit message and containt sufficient information in the commit message to be documented
  • I have read the QGIS Coding Standards and this PR complies with them
  • This PR passes all existing unit tests (test results will be reported by travis-ci after opening this PR)
  • New unit tests have been added for core changes
  • I have run the scripts/prepare-commit.sh script before each commit

@m-kuhn
Copy link
Member

m-kuhn commented Aug 11, 2017

My finger's on the merge button already 👍


If both, map theme and layer are not set, the current map content will be rendered.

The minimum extent entered will internally be extended to be a multiple of the tile sizes.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/tile sizes/tile size/?


Alternatively, a single layer can be selected if not map theme is set.

If both, map theme and layer are not set, the current map content will be rendered.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this better? "If neither map theme nor the layer is set..."

qgis:rasterize: >
This algorithm rasterizes map canvas content.

A map theme can be selected to render a predetermined set of layers.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... with a defined style for each layer .

@nirvn
Copy link
Contributor Author

nirvn commented Aug 11, 2017

@m-kuhn , all of your comments were added to the updated commit. Cheers.

@nirvn nirvn merged commit 1053823 into qgis:master Aug 11, 2017
@nirvn nirvn deleted the rasterize_help branch February 26, 2018 12:39
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.

None yet

2 participants