[PyQt] mouse hover, editable, QListview

Zoltan Szalai defaultdict at gmail.com
Thu Aug 26 13:30:52 BST 2010


  hey,

check the code snippet attached.
it may not perfect but i hope it help you get started.

to keep an editor open you can use the openPersistentEditor method of 
QAbstractItemView.
http://doc.qt.nokia.com/4.6/qabstractitemview.html#openPersistentEditor


On 2010.08.25. 17:13, M Chauhan wrote:
> Dear all,
>
> How can I make an item in a listview editable on mouse hover?
>
> I already tried "AllEditTriggers" but it doesn't work.
>
> Or is there a way to keep item editable by default?
>
> Any suggestion or hints will help.
>
> Kind regards,
> Mru
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: listview.pyw
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100826/91032090/attachment.ksh>


More information about the PyQt mailing list