Op 27/11/2015 om 17:15 schreef Igor Mironchik:


Or is there a better way to do what I described?

Thanks in advance,
Can you point out to what the signals/slots do you want to have?
I just need one slot in it to be able to trigger update of displayed
columns for that item/row in the treeview.

Regards,

As André Somers wrote why not to implement custom model for this? ...

You may also be able to just use a lambda function connected to the changed signal of your data to do the same. At the point where you build up your tree, you should have access to both the source object and the item that represents it in the tree, so you could add a connection to a lambda there.

André

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to