4/// Shows the single checklist instance owned by a Loader. The checklist keeps its progress, so it is handed back to
5/// the loader when this host is destroyed.
9 required property Loader loader
11 Layout.fillWidth: true
12 implicitHeight: loader.item ? loader.item.implicitHeight : 0
14 function adoptChecklist() {
16 loader.item.parent = control
21 target: control.loader
22 function onItemChanged() { control.adoptChecklist() }
26 target: control.loader.item
29 when: !!control.loader.item
30 restoreMode: Binding.RestoreNone
33 Component.onCompleted: adoptChecklist()
35 Component.onDestruction: {
37 loader.item.parent = loader