##// END OF EJS Templates
reverted, the API was excluded because it is private to Qt...
reverted, the API was excluded because it is private to Qt git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@195 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r151:a5a8aa72950d
r156:c69bc78d0d22
Show More
example.py
14 lines | 290 B | text/x-python | PythonLexer
from PythonQt.example 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();