Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business


OverviewFelgo 1 Support › Iterating over custom elements in column and call function

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #4450


    Is someone able to answer my question posted here:



    I want to iterate over self defined elements within a Column and call a function on them. (The function is defined within the custom Element)

    Please note that the Rectangle in my MainView.qml holding all the other elements is acually a Scene. I changed it to Rectangle to make it easier to understand for people without Felgo experience.


    Thank you very much!


    Felgo Team

    Hi Phil, I just answered your question on stackoverflow. Here is it:

    From what I’ve seen in the source code in the QDeclarativePositioners class you cannot access the children elements!

    But you could turn the way you call your doStuff() method: when do you want it to be called? After some time has passed (then add a Timer element to your MenuButton), or when a signal occurs? In the latter case, you could use the Connections element and listen to the signal beign emitted in your calling qml file where you use the Column and Repeater.

    Cheers, Chris

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded