[Qt-qml] running script at item load

aaron.kennedy at nokia.com aaron.kennedy at nokia.com
Fri Aug 13 03:31:23 CEST 2010


Hi,

http://doc.trolltech.com/4.7-snapshot/qml-component.html#onCompleted-signal

Cheers,

Aaron

On 13/08/2010, at 11:02 AM, "ext Robison, Clayne B" <clayne.b.robison at intel.com> wrote:

> Hello,
> 
> I need to run a script when a QML Item loads and is done initializing. Launching a script in the default state doesn't seem to work, and there doesn't seem to be an "onLoad" event that gets fired by Items when they are done initializing. How does one accomplish this?
> 
> Thanks.
>  
> Clayne Robison
> Application Engineer
> Intel Corporation
> Phoenix, AZ
> 480.552.5309
>  
> "Perhaps travel cannot prevent bigotry, but by demonstrating that all peoples cry, laugh, eat, worry, and die, it can introduce the idea that if we try and understand each other, we may even become friends."    Maya Angelou
> 
> 
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-qml




More information about the Qt-qml mailing list