How to set a Window as front or back of a Flipable?
-
I have implemented my custom
WindowinMyWindow.qml, and now I want to useFlipableas well. However, when I tried to setMyWindowasfrontofFlipable,the complier complained that Cannot assign object of type "MyWindow" to property of type "QQuickItem*" as the former is neither the same as the latter nor a sub-class of it. What should I do? Is there a better way than changeMyWindow.qmldirectly ? -
I don't think you'll be able to use
Windowfor that. AWindowis, well, a window that is visible as free-standing window and not integrated in some other element. Depending on what properties, if any, unique toWindowyou use you might be able to simply change its type to 'Rectangle' and use that for theFlipable.