Qt 6.12 LTS is out! See what's new in the release
blog
[Solved] Flipable: how to trigger flipping from outside?
QML and Qt Quick
2
Posts
1
Posters
2.2k
Views
1
Watching
-
Here is my small Flipable screen:
@Flipable {
id: flipable
x: 0
y: 0property 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?
Thanks!
-
Turned out that you can do this directly from the other component just by referring to the name of Flipable component. Awesome.