need help with inspectors

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

need help with inspectors

Jim Newton
I'm trying to set up a boolean property in the articulation inspector, but having some difficulty.
I don't understand how it works.  I just followed the example of how others were done and successfully installed a cyclic choice widget for Ornamentation Style.  However, trying to set up a boolean Play widget does not seem to work.

There are several funny issues.  It seems that there is no connection between the corresponding property on the articulation object (in musescore) and the articulation editor object in QT.

I in fact see in the boolean button in QT inspector GUI, but clicking and unclicking the boolean field does not have a consistent effect on the articulation object.

The way it seems to be set up is that I create an entry in an xml file called something.ui.  From this a .h file is automatically created.  I see that the .h is in fact created and looks correct to me.  but I'm not 100% sure it is correct because I don't understand all of it.

If someone thinks they might be able to help me, I can try to make my code available to you and maybe you can point out what I'm missing, or what I'm not understanding correctly.
Reply | Threaded
Open this post in threaded view
|

Re: need help with inspectors

Jim Newton
If anyone could help me with this, you can see my code on the branch
   broken-playArticulaion.
The commit is 0af403a312c97d0b1537ad605cf415e54b7a15bb

I have pushed the broken version.  Broken in the sense that it compiles and runs but does not do what I want.
Reply | Threaded
Open this post in threaded view
|

Re: need help with inspectors

David Bolton-2
Jim,

I don't have the expertise to help with your code question, but I wanted
to say I really appreciate the work you are doing to make ornaments
sound during playback!

Also thank you for keeping up with the quantity of feedback you have
been getting. I think it shows that people are interested in what you
are doing. https://musescore.org/en/node/56281

David

On 4/22/2015 6:29 AM, Jim Newton wrote:
> If anyone could help me with this, you can see my code on the branch
>     broken-playArticulaion.
> The commit is 0af403a312c97d0b1537ad605cf415e54b7a15bb
>
> I have pushed the broken version.  Broken in the sense that it compiles and
> runs but does not do what I want.
>
>

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Mscore-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mscore-developer
Reply | Threaded
Open this post in threaded view
|

Re: need help with inspectors

Jim Newton
In reply to this post by Jim Newton
Many thanks lasconic for helping me find what was missing.
I had neglected to register the new property in property.cpp

It works much better now.
Thanks
Jim