[MuseScore 2.0][Plugin Development] Text coloring via qml does not seem to work
Given a slight modification to notenames qml plugin: https://gist.github.com/andresn/dbf5294bcc54e98b4703#file-gistfile1-txt…
I do see the following output in the log however:
Debug: #000000
Debug: #ff0000
Debug: ---
Debug: #000000
Debug: #ff0000
Debug: ---
Etc..
Also, where is the official plugin development documentation for MuseScore 2.0? I've only been able to arrive at the < 2.0 docs. E.g. for this text issue:
http://musescore.org/plugin-development/text-object
Thanks in advance!
Comments
If you look in the inspector, you will see that the color of the element has changed. However, this color is overwritten by the text color defined inside the "Text properties".
It seems that the element color is superfluous for a text element since it is not taken into account.
I don't know if the "Text properties" can be accessed via the plugin framework.
The documentation for the 2.0 framework is within MuseScore itself - see the Help menu within the Plugin Creator.
Oh interesting (look in the inspector = selected note, then Debugger > Staff Text)
Yeah, sounds like there is a bug in that round trip would be ideal, i.e. I can edit color programmatically, or via UI, and each layer will be aware of and respect new state.
Thank you ABL.
Thank you for the tidbit @Marc. @all, does it make sense to have a prominent banner point this out here?:
http://musescore.org/plugin-development
Also, this is where search engines kept leading me to.