[SailfishDevel] Counter or timer

Bob Jelica sailfish at jelica.se
Tue Jun 23 13:30:29 UTC 2015


Here’s some simple code (check docs for Timer)

    Timer {
        id: myTimer
        interval: 1000
        onTriggered: doSomethingWithALabel()
    }

//bob


> On 23 Jun 2015, at 15:24, mariusz sapinski <mariusz.sapinski at gmail.com> wrote:
> 
> Hi all,
> 
>   this must be a trivial question to most of you but I would like to display a counter, updated every minute. What UI element should I use? I cannot update Text or Label, right? 
> 
>     Best regards,  Mariusz
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150623/22f85d5a/attachment.html>


More information about the Devel mailing list