hi,

i am creating a treeview (QTreeView), and i set a model
(QAbstractItemModel) for it (using setModel() method).

now i update the model (with new data), and call treeview.update()
with the hope that my treeview will be redrawn to reflect the new
data.

however, that doesnt update the view. i looked closer, and confirm
that even after treeview.update() is called, the rowCount() method of
the model is not executed at all. which means the update() doesnt do
anything with the new model data.

i must missed something. anybody please tell me how to fix this problem?

thanks,
Jun
_______________________________________________
PySide mailing list
[email protected]
http://lists.pyside.org/listinfo/pyside

Reply via email to