How to identify the "Element.Fingering" object text style?
if (e.type == Element.FINGERING) { // What style of text? It is left hand fingering, right hand fingering, string number? }
if (e.type == Element.FINGERING) { // What style of text? It is left hand fingering, right hand fingering, string number? }
Do you still have an unanswered question? Please log in first to post your question.
Comments
The information you're asking for seems to be in Text::textStyleType and is of type TextStyleType which is a 'class enum' defined outside an object visible for QML, so it cannot be directly be used in a plugin.
This is actually the same type of problem as for BarLineType (see my PR (#1931)).
The core developers have not yet decided, how to handle these cases.
In reply to The information you're asking by heuchi
Thank you.
In reply to The information you're asking by heuchi
In reply to if (e.type == by martin.ludenhoff
Nice workaround :-)