You can use alias properties to do that.

Cheers,

On Mon, May 2, 2011 at 12:26 AM, Tibo W <[email protected]> wrote:

> Hi,
>
> Inside a NumberAnimation, can I access the transform of an item's child ?
> Like:
>
> ViewPort {
>
>   itemA {
>     child1 { transform: [
>            Rotation3D {
>             id: rotateItem
>            }
>           ]
>        }
>     child2 { }
>   }
>
>   itemB {
>
>    NumberAnimation {
>     target: itemA.children[0].rotateItem // ??
>    }
>  }
>
> }
>
> I can access properties like x, y etc, but it seems that I can't access the
> transform...
>
>
> And, how can I lock the position on an Item3D ? I don't want it to move
> when I moving the screen with the mouse ?
>
> Thanks for your help
>
> _______________________________________________
> Qt-qml mailing list
> [email protected]
> http://lists.qt.nokia.com/mailman/listinfo/qt-qml
>
>


-- 
Daker Fernandes Pinheiro
openBossa
INdT - Instituto Nokia de Tecnologia
Blog: http://codereal.blogspot.com
Twitter: @dakerfp
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to