On Montag 29 November 2010, Ian wrote: > Having chased down the definition of the role - not in the > class or method, and not linked from either location
http://doc.qt.nokia.com/4.7/qabstractitemmodel.html#data with a note: "See also" http://doc.qt.nokia.com/4.7/qt.html#ItemDataRole-enum there you can read Each item in the model has a set of data elements associated with it, each with its own role. The roles are used by the view to indicate to the model which type of data it needs. Custom models should return data in these types. that seems quite clear to me. -- Wolfgang _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
