Answer the question
In order to leave comments, you need to log in
Can widgets be stored in an array?
I have a table in the database with tables and their status "busy" or "free",
let's say I have a window where there is a button for each table and I want the buttons with the status "busy" to be red,
I can do something like this ?
a = (self.pushbutton, self.pushbutton_2, self.pushbutton_3,..... )
a[0] = setStyleSheet("Background-colord: red")
Answer the question
In order to leave comments, you need to log in
Can widgets be stored in an array?
can i do something like this?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question