[PyKDE] setVisible

Peter Osborne pete at bookware3000.ca
Fri Apr 2 23:28:00 BST 2004


you may want to dabble with the takeItem() method of the parent QListViewItem 
or QListView.

Pete

On April 2, 2004 03:07 pm, Maciej Paszta wrote:
> Hi,
> For few hours I'm trying and "I can't do it. My aim is to hide useless
> QListView items. So first I add them (I have to, later they can be useful
> ;P) k = QListViewItem(blah;P)
> k.setVisible(False)
> k.setPixmap(some_pixmap)
> So that doesn't work. I've tried without setting icon later, but this also
> doesn't work...




More information about the PyQt mailing list