Re: [PyKDE] Looping over QLabels

2004-03-24 Thread Jim Bublitz
On Tuesday March 23 2004 06:10, GuineaPig wrote: > Hello, > > In my application I have a QDialog with a lot of QLabels. > From time to time these labels need to be cleared (text set to > ''). Is there a way to iterate over the labels ? > I'm looking for something like this: > > for QLabel in self

Re: [PyKDE] Looping over QLabels

2004-03-23 Thread Greg Fortune
On Tuesday 23 March 2004 07:20 am, Toby Dickenson wrote: > On Tuesday 23 March 2004 14:10, GuineaPig wrote: > > Hello, > > > > In my application I have a QDialog with a lot of QLabels. From time to > > time these labels need to be cleared (text set to ''). Is there a way > > to iterate over the l

Re: [PyKDE] Looping over QLabels

2004-03-23 Thread Toby Dickenson
On Tuesday 23 March 2004 14:10, GuineaPig wrote: > Hello, > > In my application I have a QDialog with a lot of QLabels. From time to > time these labels need to be cleared (text set to ''). Is there a way > to iterate over the labels ? > I'm looking for something like this: > > for QLabel in self

Re: [PyKDE] Looping over QLabels

2004-03-23 Thread Sundance
I heard GuineaPig said: > In my application I have a QDialog with a lot of QLabels. From time > to time these labels need to be cleared (text set to ''). Is there a > way to iterate over the labels ? > I'm looking for something like this: > > for QLabel in self > QLabel.setText('') There

[PyKDE] Looping over QLabels

2004-03-23 Thread GuineaPig
Hello, In my application I have a QDialog with a lot of QLabels. From time to time these labels need to be cleared (text set to ''). Is there a way to iterate over the labels ? I'm looking for something like this: for QLabel in self QLabel.setText('') Instead of having to do this: QLabe