I have this function in python def:
def niveau(controlName,idNiveau)
I want to connect it to this signal in this way:
QObject.connect(dialog.findChild(QDialogButtonBox, 'buttonBox'), SIGNAL('accepted()'),niveau(control,1))
I got the following error:
Qt signal not callable
Can someone help me with this?