##// END OF EJS Templates
reorganized SVN tree into branches, tags and trunk...
reorganized SVN tree into branches, tags and trunk git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@32 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r0:2978a919fc4e
r0:2978a919fc4e
Show More
example.py
14 lines | 271 B | text/x-python | PythonLexer
from PythonQt import *
# 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();