[PyQt] item delegates

Mads Ipsen mpi at comxnet.dk
Thu Feb 5 07:35:52 GMT 2009


Hi,

Suppose I have a TableView. Then I can set itemdelegates for a column, a row
or the entire view using the respective methods

void setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate
)
void setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate )
void setItemDelegate ( QAbstractItemDelegate * delegate )

All this is fine. But how do I specify a delegate for a single cell in the
table?

Mads


More information about the PyQt mailing list