The QML types Component
and Instantiator
appear to do similar things; create QML objects on demand, as opposed to when parsing their definitions. So what's the difference? Why would I want to use one over the other?
An Instantiator
creates instances of the given Component
- one for each model-entry given in model
. It's similar to the Repeater.
A Component
is a Class. A Instantiator
is sort of a Factory for the given Component.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With