[PyQt] How do i get persistentEditor's close event?

Doug Bell dougb at bellz.org
Fri Oct 15 18:32:16 BST 2010


akumarzen wrote:
> 
> I have changed my question to How do i get persistentEditor's close event? 

Override the view's delegate (QStyledItemDelegate).  Its setModelData
method gets called when an editor closes.  Or you can override its
createEditor method to use a custom editor class if you really need
access to the close event.

- Doug


> Doug Bell-3 wrote:
> > 
> > akumarzen wrote:
> >> 
> >> How to close persistentEditors?
> > 
> > QAbstractItemView.closePersistentEditor(index)
> > 
> > - Doug


More information about the PyQt mailing list