February 6, 2011
Qt Loop Over Widget

I create a program with ten QLabel by Qt Nokia. I want to loop over that QLabel widget and change property over that widget. I can use qFindChild and findChildren function to loop over widget. For example, I have ten QLabel with name label_1, label_2, … , label_10. We can loop over that that widget