I've been trying to find a way to implement MVVM with PySide but haven't been able to. I think that there should be a way to create Views from ViewModels with QItemEditorFactory, and to do data binding I think I can use QDataWidgetMapper.
Do you have any ideas on how MVVM may be implemented with Qt and PySide? Even if there are some resources in C++ I'll try to translate them to python.
Thanks.
QDataWidgetMapper
I don't know. I ended up implementing one myself. Somehow, in all of my exploration of Qt documentation and sources, I've stayed blind to it. Although my mapper is a bit different; it lets one map an arbitrary index to a widget, there's no notion of a current row/column. – Auramine