##// END OF EJS Templates
added initial generated wrappers for Qt 4.4.3...
added initial generated wrappers for Qt 4.4.3 git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@49 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r10:21d959e02207
r13:d46b01f7163a
Show More
example.py
14 lines | 282 B | text/x-python | PythonLexer
from PythonQt import CustomObject
# create a new object
custom = CustomObject("John","Doe")
# print the methods available
print dir(custom)
# set a name
custom.setFirstName("Mike")
custom.setLastName("Michels")
# get the name
print custom.firstName() + " " + custom.lastName();