Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2008
    India / Singapore

    GetChild or findChild in QML/JS

    To find a child item from parent, we can use findChild() in Qt.. What are its parallels in QML ?
    Twitter - manikantan_k
    Just in --

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2009

    Re: GetChild or findChild in QML/JS

    You can use Item::childAt ( real x, real y ) or write few JS lines to find your object inside the object's children list [1]

    [1] http://doc.qt.nokia.com/4.7-snapshot...#children-prop

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts