[Solved] Flipable: how to trigger flipping from outside?

  • Here is my small Flipable screen:

    @Flipable {
    id: flipable
    x: 0
    y: 0

        property bool flipped: false
        width: parent.width
        height: parent.height
        front: QuiaLoginScreen { id: loginScreen }
        back: QuiaMainView { id: mainView }@

    I have custom components for front and back. Question is - how do I trigger flipping from inside of those components? Meaning, when a text is entered in QuiaLoginScreen, how do I initialize flip from there?


  • Turned out that you can do this directly from the other component just by referring to the name of Flipable component. Awesome.

Log in to reply

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