Try putting the following in headerData():Qt Code:
if(orientation == Qt.Horizontal and role == Qt.DisplayRole):To copy to clipboard, switch view to plain text mode
Check out QTreeView::rootIsDecorated()
BTW, I didn't mean to put the angry emoticon in the title of my first post.
Bookmarks