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

void QAbstractItemDelegate::updateEditorGeometry ( QWidget editor,
const QStyleOptionViewItem option,
const QModelIndex index 
) const [virtual]

Updates the geometry of the editor for the item with the given index, according to the rectangle specified in the option. If the item has an internal layout, the editor will be laid out accordingly. Note that the index contains information about the model being used.

The base implementation does nothing. If you want custom editing you must reimplement this function.

Reimplemented in QItemDelegate.

Definition at line 239 of file qabstractitemdelegate.cpp.

Referenced by QAbstractItemView::updateEditorGeometries().

    // do nothing

Generated by  Doxygen 1.6.0   Back to index