hi friends,
i am having 128 QPushButton which checkable() condition is set true(Toggle button) in my window and i want to set color of each button if it is toggled so i will use stylesheet to set color with QPushButton signal toggled(bool) to recv_slot(bool)..
but the problem is how i can connect each 128 buttons to a single slot .. it makes my program lengthier .. how can i minimize in connection .. can i go for QSignalMapper or QList ..?

please suggest me a good solution ..