PropertyPanel and ValueTree


#1

Hi !

Did I miss something obvious, or there’s no automated way to serialise/deserialise list of properties edited with a PropertyPanel ?
I would have thought PropertyPanel used a ValueTree to store all the values of the PropertyCompoents, or at least, that there was an atomatic way to link them both but it doesn’t seem to be such a thing ?


#2

PropertyComponents are just components, they don’t impose any data structure on you.

But most of them can be connected to a Value object, which can be part of a ValueTree. Have a look at how the introjucer manages all the project settings - that’s all done as a big ValueTree.