[PyQt] QAbstractItemModel subclass + QTreeView brickwall
simon at simonzone.com
Sun Nov 25 20:17:12 GMT 2007
I'm having a hard time getting a QTreeView widget to work with my own
model. I've tried translating the "Simple Tree Model Example" from the
Qt docs, but it still doesn't work. Does anyone have working example
code for a QAbstractItemModel, or know what is going wrong?
Tested on PyQt 4.3 + Qt 4.3.2, and kde's qt-copy (pre Qt 4.4-ish) with
4.3-snapshot-20070905. Some of the methods get called (I've left the
debug in), but nothing is displayed.
Simon Edwards | KDE-NL, Guidance tools, Guarddog Firewall
simon at simonzone.com | http://www.simonzone.com/software/
Nijmegen, The Netherlands | "ZooTV? You made the right choice."
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4168 bytes
Desc: not available
Url : http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20071125/f8d9c783/treeviewtest.py
More information about the PyQt