Jim Newton wrote > Thanks. I have not talked to Miwarre before. You did, you did... It's me...
> Your suggestion to create a public accessor for items is more or less what > I am doing in the mean time. I would not encourage creating public accessors to FiguredBassItem's, unless really necessary for other purposes, as they require specific management and house-keeping by the parent FiguredBass element. Their privateness is a design choice, as described in the notes on architecture at the top of figuredbass.h. A few considerations for script access: *) In the FiguredBass class, the std::vector<FiguredBassItem*> storing the items needs probably to be replace with some kind fo QQmlListProperty<Ms::FiguredBassItem*> container, *if* individual access to each FiguredBassItem is required, which I would prefer to keep as read-only, though. *) The full content of the figured bass element is already directly accessible through its /text/ property in a normalized format. Before allowing to set it however, I think that the /Text::setProperty(P_ID::TEXT, v)/ has to be sub-classed, following the flow in /FiguredBass::endEdit()/. I don't know if you have any deadline; I'm rather busy for a week or so; after that, I would be glad to improve figured bass support for scripting. Maurizio -- View this message in context: http://dev-list.musescore.org/programmatic-access-of-figured-bass-tp7579343p7579348.html Sent from the MuseScore Developer mailing list archive at Nabble.com. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Mscore-developer mailing list Mscore-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mscore-developer