PyQt5 QML Treeview Example
I try to setup a simple treeview example with PyQt5.6 (Python 3.4) and QML. I just found a few C++ examples, but nothing related to PyQt. I picked up the simpletreemodel example co
Solution 1:
root_context = view.rootContext().setContextProperty('model', model)
Don't use model as the name of model.
Post a Comment for "PyQt5 QML Treeview Example"