-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Harp pedalling diagrams and UI #12597
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
Conversation
src/notation/qml/MuseScore/NotationScene/internal/ElementPopupLoader.qml
Outdated
Show resolved
Hide resolved
3ffc6d6
to
e55ff70
Compare
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.
Some (probably last) minor comments about everything except the changes in the notation module! (those I will review later)
This PR needs a rebase too; this time all conflicts are just about the #includes. |
84f7718
to
ea6326d
Compare
src/notation/qml/MuseScore/NotationScene/internal/HarpPedalPopup.qml
Outdated
Show resolved
Hide resolved
src/notation/qml/MuseScore/NotationScene/internal/HarpPedalGridColumn.qml
Outdated
Show resolved
Hide resolved
src/notation/qml/MuseScore/NotationScene/internal/HarpPedalPopup.qml
Outdated
Show resolved
Hide resolved
src/notation/qml/MuseScore/NotationScene/internal/HarpPedalGridColumn.qml
Outdated
Show resolved
Hide resolved
Hi @miiizen! We have started working on MuseScore 4.1, and we would like to include this PR. It would be great if you could rebase it. I've also posted a few review comments that I had written earlier but apparently not yet published. |
Hi @cbjeukendrup! That's great news thanks for letting me know. I'll have time to rebase and make these changes around the end of next week. |
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.
Another round of review comments! It's really very good now, so this is probably the last review round from me and then I'll ask a colleague to check it too.
src/notation/qml/MuseScore/NotationScene/internal/HarpPedalPopup.qml
Outdated
Show resolved
Hide resolved
Had a poke at the diagram to see how things are going with it. Found a few things and thought I'd share. Sorry if this is a bit premature and you were planning on asking us to test later. Harp_Ped_01.mp4 |
@miiizen A rebase is needed again... |
OBJECT_ALLOCATOR(engraving, HarpPedalDiagram) | ||
DECLARE_CLASSOF(ElementType::HARP_DIAGRAM) | ||
|
||
std::array<PedalPosition, 7> _pedalState; |
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.
I would suggest adding a named constant and using it instead of this magic number
#include "pitchspelling.h" | ||
|
||
using namespace mu; | ||
//using namespace mu::engraving; |
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.
Please remove this line
This PR looks great (and ready to be merged), thank you so much! The only issue that it has is the broken unit tests. If you can't fix them yourself (or don't have enough time), I suggest disabling them (I'll fix them later). Or you can try rebasing this PR one more time, maybe this will help |
…ges made for undo, text styles, score interaction.
…gram class and integration with the undo stack
Thanks for the feedback! |
Fortunately, I think the test failures are no mystery at all. The default z index of an element is defined as its ElementType casted to The reason that the z index is written to the file in those specific files where the tests fail, is that it is "customised" in those places. And the reason that it is customised and gets changed while reading/writing the score, is So the fix would be to just update the contents of (Of course, this behaviour of changing z index while reading is very questionable, but that's a separate problem.) |
This pull request adds harp pedalling diagrams to MuseScore for GSoC 2022.
Known issues