7 property MyScarceResourceObject a;
8 a: MyScarceResourceObject { id: scarceResourceProvider }
10 property ScarceResourceSignalComponentVariant b;
11 b: ScarceResourceSignalComponentVariant {
15 // this signal will be invoked manually in the test.
16 // the scarce resource should be released automatically after evaluation
17 // and since we don't keep a copy of it, the pixmap will be detached.
18 width = (scarceResourceProvider.scarceResource,10)
22 // this signal will be invoked manually in the test.
23 // the scarce resource should be released automatically after evaluation
24 // but since we assign it to a property, the pixmap won't be detached.
25 scarceResourceCopy = scarceResourceProvider.scarceResource