Files
qt-creator/doc/snippets/qml/list-of-transitions.qml
David Boddie a20cd34863 Updated the configuration files to use the updated qdoc.
Updated qdoc to remove hard-coded dependencies on style sheets.
Simplified the offline documentation, introducing an offline.css
file to be used for documentation in Qt Creator.
2011-02-11 08:40:55 +01:00

32 lines
745 B
QML

Item {
transitions: [
//! [first transition]
Transition {
from: "*"; to: "State1"
NumberAnimation {
properties: "x,y";
duration: 1000
}
},
//! [first transition]
//! [second transition]
Transition {
from: "*"; to: "State2"
NumberAnimation {
properties: "x,y";
easing.type: Easing.InOutQuad;
duration: 2000
}
},
//! [second transition]
//! [default transition]
Transition {
NumberAnimation {
properties: "x,y";
duration: 200
}
}
]
//! [default transition]
}