Hi All,

I have this:

def InitApp(self):

    self.ui.buttonGroup.buttonClicked.connect(ButtonGroupClicked)

def ButtonGroupClicked(clicked):
    print('clicked', clicked)

 When I run this I get:

clicked <PyQt4.QtGui.QRadioButton object at 0x01602078>


How do I communicate which button is clicked with the rest of my suite when I only have reference to clicked as QRadiobutton?


Thanks,


Frans.

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to