[PyKDE] Looping over QLabels
tdickenson at devmail.geminidataloggers.co.uk
Tue Mar 23 16:22:01 GMT 2004
On Tuesday 23 March 2004 14:10, GuineaPig wrote:
> 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....
> Instead of having to do this:
for label in (self.label1, self.label2, self.label3):
More information about the PyQt