Thread
:
PyQt Chaning multiple Objects attributes at once
View Single Post
mikec
2010-03-06 , 16:11
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
.
Quote & Reply
|
mikec
View Public Profile
Send a private message to mikec
Find all posts by mikec