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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support