StackView: custom transition for one item



  • Hi,

    I am using Qt Quick Controls 2, and use a StackView to display different screens.

    For one screen, I want to use a custom transition when pushing and popping, but for the rest I want to use the default transitions. Is that possible?

    I tried creating a child Transition with an id and use a conditional pushEnter:

    pushEnter: showingItem ? itemPushEnterTransition : undefined
    

    but I get the error "Unable to assign [undefined] to QQuickTransition*"

    Maybe it is better to create a custom view with states instead of a StackView? Then I can carefully model the transitions between them.

    Kind regards,
    Jeroen


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.