That’s exactly what I was looking for. I still don’t understand why the binding is lost, but I’m really after the correct way of coding QML and using an alias is much simpler than what I was doing. In fact in my actual code I will create an alias to each top level item (i.e TextField and similar objects) and that way the user of the component can have access to anything they want. Thank you very much.
↧