[Interest] [Qml][Item][Node] Determine if Item is rendered
Jérôme Godbout
jerome at bodycad.com
Tue Jun 7 22:44:11 CEST 2016
Hi,
I looking for a way to know if an Qml Item is rendered, we are reparenting
some Item to display or not some Item Tree. Concret we swap between parent
null and by parent of the rendering scene container. This allow to know
only the part we are currently displaying, the others parentless Item are
unknown at this given time and may appears only later on.
I have something that do an action that is only required when the Item is
displayed, but I cannot based myself on the visible. I was wondering if
there's a way to know if an Item is rendered (was traversed during the
Rendering Node of last frame would be good enough).
Anybody have an idea?
Thanks,
Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160607/389025af/attachment.html>
More information about the Interest
mailing list