[Qt-qml] Flipable not showing content

Colin Kern colin.kern at gmail.com
Tue Oct 19 20:36:29 CEST 2010


On Fri, Sep 24, 2010 at 2:00 PM, Almo Nito <AlmoNito at gmx.de> wrote:
> Hello there, i have a Flippable like the one in the flipabe example
>
> Cant I use ids as front and back? do I have to place the real item there?
>

It looks like you have to place the real item there:
http://doc.qt.nokia.com/4.7/declarative-ui-components-flipable-content-card-qml.html

It probably would be best to put your two items in separate QML files,
for example Browser.qml and Information.qml, then in your Flipable you
would have:

Flipable {
    front: Browser { }
    back: Information { }
}

-Colin Kern



More information about the Qt-qml mailing list