Hello,
is there a possibility to address an item in a stackview that has been pushed onto it as URL? I used the following code:
stackView.push( {item: Qt.resolvedUrl("Test.qml")} );
In my application, I push a lot of qml-files onto the Stackview with this method. Now I want to unwind the stack to certain positions or find certain items in the stack, but I don’t know the item names. The following code does not work:
stackView.pop( {item: Qt.resolvedUrl("Test.qml")} );
Is there a solution for this? I don’t want to work with the index because when my program changes, the index of an item in the stack could also change.
Thank you.
↧










