Hi Felgo,
Have few question about EditableComponent.
1. Is there a way to put EditableComponent inside QtObject to edit this QtObject properties?
From what I see there is a limitation that, with default behavior without defining target, EditableComponent parent must be Item based?
Wanted to do something like:
QtObject {
property int someValue: 1
EditableComponent {
id: editableComponent
property var defaultProperties
properties: {
"Something": {
"someValue": {},
}
}
But looks like there is a limitation and it’s not possible at the moment.
2. How are the EditableComponent properties sorted?
It is a little confusing to me.
For me the best would be that properties would be displayed in ItemEditor based on the order they were written.
But there is some alphabetical ordering which is not helpful when you want to have some properties visible in the order you want.
3. Is there a way to display array property data (var
for example) in EditableComponent?
In a way you can select one of the options.
From what I saw it is not possible at the moment.
For example:
property var options: ["option1", 'apple", "pear"]
Thanks.