Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

breaking up QML into different files.

$
0
0
How can i break up my project into different files. for example I’d like to have my animations on one file my states in another and so forth. so instead of everything on file file I’d like something like //animations.qml ...... .....  ParallelAnimation{    id: up_down    running: false    NumberAnimation { target: movie_global; property: "opacity"; to: 1; duration: 800}    NumberAnimation { target: film_list_background_image; property: "opacity"; to: 1; duration: 2000}    NumberAnimation { target: list_down; properties: "x"; to: 1187; from: 1290; easing.type: Easing.OutBounce; duration: 3500} ..... ..... // states.qml  states: [     State {        name: "State1"          PropertyChanges {target: movie_mouse_mm; x: 608; y: 1022}          PropertyChanges {target: mm; x: 760; y: 980} .......... .......

Viewing all articles
Browse latest Browse all 4972

Trending Articles