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
Post a Comment