src/declarative/graphicsitems/qdeclarativeflipable.cpp
changeset 33 3e2da88830cd
parent 30 5dc02b23752f
child 37 758a864f9613
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
    72     \since 4.7
    72     \since 4.7
    73     \brief The Flipable item provides a surface that can be flipped.
    73     \brief The Flipable item provides a surface that can be flipped.
    74     \inherits Item
    74     \inherits Item
    75 
    75 
    76     Flipable is an item that can be visibly "flipped" between its front and
    76     Flipable is an item that can be visibly "flipped" between its front and
    77     back sides. It is used together with Rotation and State/Transition to
    77     back sides. It is used together with \l Rotation and \l {State}/\l {Transition} to
    78     produce a flipping effect.
    78     produce a flipping effect.
    79 
    79 
    80     Here is a Flipable that flips whenever it is clicked:
    80     Here is a Flipable that flips whenever it is clicked:
    81 
    81 
    82     \snippet doc/src/snippets/declarative/flipable.qml 0
    82     \snippet doc/src/snippets/declarative/flipable.qml 0
    83 
    83 
    84     \image flipable.gif
    84     \image flipable.gif
    85 
    85 
    86     The Rotation element is used to specify the angle and axis of the flip,
    86     The \l Rotation element is used to specify the angle and axis of the flip,
    87     and the State defines the changes in angle which produce the flipping
    87     and the \l State defines the changes in angle which produce the flipping
    88     effect. Finally, the Transition creates the animation that changes the
    88     effect. Finally, the \l Transition creates the animation that changes the
    89     angle over one second.
    89     angle over one second.
       
    90     
       
    91     \sa {declarative/ui-components/flipable}{Flipable example}
    90 */
    92 */
    91 
    93 
    92 /*!
    94 /*!
    93     \internal
    95     \internal
    94     \class QDeclarativeFlipable
    96     \class QDeclarativeFlipable