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

New Export dialog #6885

Merged
merged 2 commits into from
Nov 22, 2020
Merged

New Export dialog #6885

merged 2 commits into from
Nov 22, 2020

Conversation

cbjeukendrup
Copy link
Contributor

In this PR, I created a new Export dialog.
ezgif-4-723ab2f05a16

Design is made in collaboration with @Tantacrul.

I made this dialog to make it easy for the user to select exactly which parts he/she wants to export. Formerly, it was rather unclear what the export options would do. Now, the behavior is more consistent and predictable.

Furthermore, I added the export preferences to the dialog, so that they are more discoverable and easily accessible right when you need them.

I also restructured the File menu a little; I put the options in a bit more sensible order.

(On the page with MusicXML settings, a workaround was needed to make the text for the radio buttons wrap. I had to put the text in a separate label. I wanted keep the functionality of clicking the text to select the radio button, so I created a clickable label.)

Feedback is appreciated!

  • Did I use the correct functions for translating?
  • Haven't I confused Score/MasterScore/Excerpt/Part?

  • I signed CLA
  • I made sure the code in the PR follows the coding rules
  • I made sure the code compiles on my machine
  • I made sure there are no unnecessary changes in the code
  • I made sure the title of the PR reflects the core meaning of the issue you are solving
  • I made sure the commit message(s) contain a description and answer the question "Why do those changes fix that particular issue?" or "Why are those changes really necessary as improvements?"
  • I made sure the commit message title starts with "fix #424242:" if there is a related issue
  • I created the test (mtest, vtest, script test) to verify the changes I made

cbjeukendrup and others added 2 commits November 16, 2020 16:07
Now, there is an Export dialog, where you can select exactly which
score/parts you want to export and where you can access the export
preferences.
Icons::fileSave_ICON,
Qt::WindowShortcut,
ShortcutFlags::A_SCORE
},
Copy link
Contributor

Choose a reason for hiding this comment

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

If you remove it from here, it means it won't be assignable to a shortcut anymore.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that is intended. The idea is that there will be a single action for export, which opens the Export dialog, where you can select whether you want the score and/or the parts.
(That is the action above the deleted one, so you don't see it directly in the GitHub diff.)

@vpereverzev vpereverzev merged commit 7b059f5 into musescore:3.x Nov 22, 2020
@cbjeukendrup cbjeukendrup deleted the exportdialog branch November 27, 2020 22:10
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

3 participants