As a bonus for using a Loader, you won’t need to destroy the subdelegates yourself, this is automatically handled by QML, and you can replace the 'timeLineViewEnable' boolean property by a string property that’s an alias to the loader’s 'source' property.
As a bonus for using a Loader, you won’t need to destroy the subdelegates yourself, this is automatically handled by QML, and you can replace the 'timeLineViewEn able' boolean property by a string property that’s an alias to the loader’s 'source' property.