View Single Post
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#1
Hi Guys

I have over 100 QpushButtons in a gridlayout, and I want to set the toggle state of all of them to the same state.

Any clues how I can do this short of writing this statement 100 times
self.pushButton1.setChecked(0)
.
.
.
self.pushButton100.setChecked(0)


Cheers

Mike C
__________________
N900_Email_Options Wiki Page

Last edited by mikec; 2010-03-06 at 19:33.