Adapt GUI data model to the nested structure (#20)
Now SampleItem
owns LayerStackItem
with nested ItemWithLayers
objects.
As we should know the exact type of ItemWithLayers
, namely LayerStackItem
or LayerItem
, the structure PolyPtr<ItemWithLayers, LayeredComponentCatalog>
was chosen to handle such information.
The behavior of sample builder has not changed yet.
Edited by Mikhail Svechnikov