[PyKDE] Non disappearing label

Hans-Peter Jansen hpj at urpla.net
Mon Nov 10 11:19:00 GMT 2003


On Monday 10 November 2003 06:56, Derek Fountain wrote:
> If I have a frame, inside which I put a label arranged via a
> vertical layout box, then call this code:
>
>         contentsFrameLayout = self.contentsFrame.layout()
          # what about:
	  self.tableWidget.text('')
>         contentsFrameLayout.remove( self.labelWidget )
>         del self.labelWidget
>
> wouldn't I expect the label to disappear off screen? Because it
> doesn't, and that puzzles me... :o}

I don't have any ideas about the reasoning behind this..

Pete




More information about the PyQt mailing list