c++ - dataChanged on a QML text element? -


i have abstractlistmodel implemented regularly calls datacanged() update list. in listmodel have variable want display outside of listview, want updated when listmodel updated. there way emit datachanged on elements displayed outside listview?

thanks, kyle

qml properties have implicitely signals (onchanged) out of box can used such cases. see examples here:

http://doc.qt.io/archives/qt-4.7/qdeclarativeintroduction.html#property-change-notifications


Comments

Popular posts from this blog

sql - text truncated using perl DBI insert -

c++ - Is it possible to compile a VST on linux? -

php - Pass object by reference or value -