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

2010-10-15 Thread Doug Bell
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
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


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

2010-10-15 Thread akumarzen

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


Doug Bell-3 wrote:
> 
> akumarzen wrote:
>> 
>> How to close persistentEditors?
> 
> QAbstractItemView.closePersistentEditor(index)
> 
> - Doug
> ___
> PyQt mailing listPyQt@riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> 

-- 
View this message in context: 
http://old.nabble.com/How-do-i-get-persistentEditor%27s-close-event--tp29970883p29973434.html
Sent from the PyQt mailing list archive at Nabble.com.

___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt