Hi, I'm net to Qt and QML - this seems like a rather simple issue but I can't find a simple solution to it.
Say I have the following example QML
Qt Code:
Item { ... lots of other stuff Item { id: obj_container property var obj Text { text: obj.name } Image { source: obj.source } } }To copy to clipboard, switch view to plain text mode
Now when the obj property becomes null, I would like to fade out the obj_container item, while still displaying the values it had before it was set to null.
Alternatively, if the obj item changes to a different obj, I would like to fade out the obj_container item (still displaying its previous values) and then fade it in again with the new values.
How would I go about this?
Bookmarks