Re: [Interest] [Qml][Item][Node] Determine if Item is rendered

2016-06-08 Thread Jérôme Godbout
Thanks, this is what I though. Since we are using reparenting to make the switch, I figured I could recusirvely check if parent can climb back to the root item or not. This is particulary unefficient but can be done a single time on parentChange (this doesn't support dynamic hierarchie above paren

Re: [Interest] [Qml][Item][Node] Determine if Item is rendered

2016-06-07 Thread Liang Jian
I have encountered nearly the same problem as yours. I have contact qt support and finnaly I realized that right now this is not possible. The only workaround is to let the Qml item's user to tell you which part is visible and then your quick item change its nodes dynamically. On Wed, Jun