def data(self, index, role):
if not index.isValid():<EOL><INDENT>return None<EOL><DEDENT>if role != QtCore.Qt.DisplayRole:<EOL><INDENT>return None<EOL><DEDENT>item = index.internalPointer()<EOL>return item.data(index.column())<EOL>
Returns the data stored under the given role for the item referred to by the index.
        index == QModelIndex