PageLoader and effects
QML and Qt Quick
6
Posts
2
Posters
1.1k
Views
2
Watching
-
@mrdebug Is this what you are trying to do ?
import QtQuick 2.4 Item { width: 100 height: 120 Loader { id: loader anchors.fill: parent sourceComponent: component } Component { id: component Rectangle { id: rect width: parent.width height: parent.height color: "red" NumberAnimation { running: true target: rect from: -100 to: 0 property: "x" duration: 600 easing.type: Easing.InOutQuad } } } }