[PyQt] Problem coding QListWidget

piotr maliński riklaunim at gmail.com
Tue Dec 16 09:05:13 GMT 2008


> > - Left click (single or maybe double) for activating the item (go to
> >  directory or open file) ( mouseDoubleClickEvent or ??)
>
> There are already SIGNALS for them...
> DoubleClick: SIGNAL("itemDoubleClicked(QTreeWidgetItem *, int)")
> SingleClick: SIGNAL("itemClicked(QTreeWidgetItem *, int )")
>
>
>
There are signals for this but they are emitted for any mouse button plus
single click is AFAIK emitted also when double clicking.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20081216/8bea06d1/attachment.html


More information about the PyQt mailing list