How to identify the "Element.Fingering" object text style?

• Apr 25, 2015 - 06:50
if (e.type == Element.FINGERING) {
    // What style of text? It is left hand fingering, right hand fingering, string number?
}

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.

Do you still have an unanswered question? Please log in first to post your question.