[Interest] Loader refresh

md at rpzdesign.com md at rpzdesign.com
Fri Sep 11 19:39:02 CEST 2015


Hello List:

Anybody have ideas on how to cause a QML refresh to repaint a QML Window 
or component.

I tried setting the sourceComponent value of Loader but it causes a good 
amount of screen flicker and has some of optimizations so it will not 
reload the same component 2 times in a row, as if the componentCache is 
absorbing the successive update requests.

This problem is generally for Text { text : "English" } -> Text { text: 
"Espanol" } language changes, but it could be for most anything.

And its kind of a pain to consider having to recurse through a component 
tree looking for a property an update it.

Window()->findChildren()->setProperty() is one possibility.

Some posts have talked about "notify" signal, but messing around with 
slots for every GUI component seems incorrect.

Any ideas?

md

-- 
No spell checkers were harmed during the creation of this message.



More information about the Interest mailing list