Hello everyone,
Is there a way to pass arguments to a function in PyQt, Maya?
It’s working like this:
QtCore.QObject.connect( self.myButton, QtCore.SIGNAL(“clicked()”), self.myFunction )
but I need it to work like this:
QtCore.QObject.connect( self.myButton, QtCore.SIGNAL(“clicked()”), self.myFunction( myArgument = “something” ) )
Thanks,