[PyQt] Reporting Bugs in PyQt/Qt
Wolfgang Rohdewald
wolfgang at rohdewald.de
Mon Nov 29 22:02:29 GMT 2010
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
More information about the PyQt
mailing list