Forums

OverviewV-Play 1 SupportIterating over custom elements in column and call function › Reply To: Iterating over custom elements in column and call function

OverviewV-Play 1 SupportIterating over custom elements in column and call function › Reply To: Iterating over custom elements in column and call function
#4451

Christian
V-Play 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

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
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support