There are the difference between StackView of 5.1 and 5.2.0RC1?
-
I compile and run my source at Qt5.1 and Qt5.2.0RC1. I have working StackView at 5.1 and dont working at 5.2.0RC1.
Dont work "push".
Was made any changes in this item?
An animation of hide Desktop.qml is working, but DialogYesNo.qml dont showing.My source:
@Item{
------skipped-----StackView { id: pagestack_ID x:0 y: 0 height: 768 width: 1024 delegate: StackViewDelegate { function transitionFinished(properties) { properties.exitItem.x = 0 properties.exitItem.opacity = 1 } property Component pushTransition: StackViewTransition { SequentialAnimation { ScriptAction { script: { enterItem.opacity = 0; } } PropertyAnimation { target: exitItem property: "x" from: 0 to: -exitItem.width } ParallelAnimation { PropertyAnimation { target: enterItem property: "opacity" from: 0 to: 1 } PropertyAnimation { target: enterItem property: "scale" from: 0.6 to: 1 } } } } property Component popTransition: StackViewTransition { SequentialAnimation { ScriptAction { script: enterItem.x = -enterItem.width } ParallelAnimation { PropertyAnimation { target: exitItem property: "opacity" from: 1 to: 0 } PropertyAnimation { target: exitItem property: "scale" from: 1 to: 0.6 } } PropertyAnimation { target: enterItem property: "x" from: -enterItem.width to: 0 } } } } } Component.onCompleted: { pagestack_ID.initialItem = {item : Qt.resolvedUrl("Desktop.qml"), properties:{}}; }
}@
push to stack
@.......skipped...........
pagestack_ID.push({item:Qt.resolvedUrl("DialogYesNo.qml"), destroyOnPop:true});@