Thread
:
Working with DateTime custom columns programmatically?
View Single Post
12-15-2011, 10:45 AM
#
13
kovidgoyal
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You will not be able to use the Cc delegate directly, instead model your own delegate based on it.
Use index.data(Qt.DisplayRole) and index.data(Qt.EditRole) etc.
to get the data from the model of the QTableWidget in your delegate.
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS