forked from qt-creator/qt-creator
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.
32 lines
745 B
QML
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]
|
|
}
|