starglider develop wrote: > Hi, > I have a form with 12 QPushButtons and need to connect the signals to the > corresponding button pressed without have to use the usual > self.connect(obj,SIGNAL(),self.function), because I don't khow many buttons > where made.
Read the documentation for QButtonGroup. Set it to non-exclusive, and it can signal if any button is pressed. Doug _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
