##// END OF EJS Templates
Added an example QFileImportInterface which doesn't work yet!...
Added an example QFileImportInterface which doesn't work yet! git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@42 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r0:2978a919fc4e
r7:404e8f96a20b
Show More
example.py
14 lines | 271 B | text/x-python | PythonLexer
ezust
reorganized SVN tree into branches, tags and trunk...
r0 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();