Logo Search packages:      
Sourcecode: qt4-x11 version File versions

QSize QAbstractItemDelegate::sizeHint ( const QStyleOptionViewItem option,
const QModelIndex index 
) const [pure virtual]

This pure abstract function must be reimplemented if you want to provide custom rendering. The options are specified by option and the model item by index.

If you reimplement this you must also reimplement paint().

Implemented in QItemDelegate.


Generated by  Doxygen 1.6.0   Back to index