Stemless on separately voice via plugin
Hello, I want set some style feature for Voice#2 only.
It is Liturgical music with special second voice "Ison" (from greek ίσον), like burdon. I want all this notes as stemless, and via Inspector I get it. But I need select all this notes (separately from notes at Voice#1), and set styles. I wrote some plugin, on basis of Joio-Schmitz's-ColorVoices plugin (thank you!). It set all: small, color, headType, headGroup, visible, BUT NOT stemless. On screenshots we can see that.
After running plugin:
And after running plugin and with set stemless via Inspector:
Can I set stemless in this plugin?
MS 2.1.0, Debian9.
Attachment | Size |
---|---|
Screenshot_20180305_023213.png | 165.35 KB |
isson.qml | 5.58 KB |
Comments
I found way without plugin - select note on Voice#2 and via Mouse - Select | More | Same voice - we can select all notes and via Inspector set stemless. But it is still intresting about plugin-way.
In reply to I mean - on basis of "Joio… by EvgenyB
No, unfortunaly this property is not exposed to the plugin framework.
In reply to No, unfortunaly this… by [DELETED] 5
Thank you, Nicolas.
Probably segment's pos.x - too?
From (other) plugin I can change chord pos.x with visual effect. But can't change segment's pos.x; in debug output I see, that pos.x was changed, but visually, and in Inspector - no any effects...
In reply to Thank you, Nicolas… by EvgenyB
Shift segment via segment.pos.x - worked. But it is likely that we need shift also all this elements (chords and dots separately) after this, (as for nots and its dots).