[PyKDE] Hpw to delete a qiconViewItem?

Alvaro Arenas alvaro.arenas at gmail.com
Mon Apr 17 16:54:36 BST 2006


Hi

I have created a qiconview and added several qiconviewitems. Now when
I click one I want that this icon is deleted.
I can now which icon is with the currentItem() function, but I don't
know how to delete it. (myCurrentItem = self.myIconView.currentItem()

I have tried:
del myCurrentItem

but the qiconView is not updated and actually the icon is not deleted
since I can click it again and still perform some actions.

Thanks in advance


Alvaro


More information about the PyQt mailing list