parkouss/funq

[Question] How I can get children items from a QML Grid or Repeater?

Opened this issue · 4 comments

My application has a grid with id and some QML items inside without ids (some of them are dynamic created) there is a way to get the children elements?

If not, do you have some tips to implement this feature?

I'm already looking at the code and willing to develop this =)

Best regards

I've implemented a children method to QuickItem, to get the children items, but its not good enough specially for nested items.

What do you think will be a better approach? Something like model_items from AbstractItemView and item_by_named_path helper?

I've updated the method to be able to get nested items with recursive parameter here #27

awesome - sorry for being really slow to answer here. I just added a comment in the PR, let's get this merged soon if you plant to use it;