×

Discussion Board

Results 1 to 2 of 2

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2008
    Location
    India / Singapore
    Posts
    549

    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
    Super Contributor
    Join Date
    Mar 2009
    Posts
    1,024

    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
  •  
×