Difference between revisions of "VRET pyQt"
(→Arguments in callback functions) |
(→Arguments in callback functions) |
||
Line 9: | Line 9: | ||
=== Arguments in callback functions === | === Arguments in callback functions === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
def callBackFunction(self, argument): | def callBackFunction(self, argument): | ||
:pass | :pass |
Revision as of 13:12, 17 June 2009
Contents
Why pyQt or Qt
Tutorials
Tips
Arguments in callback functions
def callBackFunction(self, argument):
- pass
def createCallBackFunction(self,argument):
- def function():
- self.callBackFunction(argument)
- return function
self.connect(self.buttonObject, QtCore.SIGNAL('clicked()'),self.createCallBackFunction("argument"))