[PyQt] Get Signals from all buttons in the form
Doug Bell
dougb at bellz.org
Tue Jul 20 01:57:37 BST 2010
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
More information about the PyQt
mailing list