[PyKDE] sip, was: newest Version
Roland Schulz
mail at r2s2.de
Fri Oct 31 23:17:01 GMT 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hey,
trying to change the sip layer makes great advancement. Overwriting the
className function already makes the Preview working!! Overwriting metaObject
also makes signals, slots and propterties (partly) working!!
So I think this will work.
What I did for className is that I added to sipqtQWidget.h:
virtual const char *className() const {return "FileChooser";}
How should I do this in qwidget.sip? How can I get the classname (of course
harding it is only for testing)? Calling className from Python space gives
the correct result, so this should be doable. How can I access variables
defined in the Python claass? Is there a way to tell sip to add this
className method to all classes?
Probably all these questions are pretty stupid, but I just don't get how sip
works.
regards
Roland
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)
iD8DBQE/otj2V/hlvQgMogsRAuoyAKDqgSScjOrbai+GSI4bqN6kdd0Q7ACgm/wY
BMP1hYY/DZKAMRqix0/5a0Q=
=1fXn
-----END PGP SIGNATURE-----
More information about the PyQt
mailing list