That is what I’m trying to do.
I now have this in my root qml
Component
{
id: viewToShow
MyView
{
width: stackView.width
height: stackView.height
}
}
onShowMyObject
{
stackView.push( { item: viewToShow, properties: { topColor: view.topColor, bottomColor: view.bottomColor } } )
}
This does work, but the problem is that there is no binding between properties so when I update colors in C++ there are not in QML..
↧