[PyQt] SIP and Q_PROPERTY

Josh jknox at irobot.com
Wed Mar 3 17:55:33 GMT 2010


Hi,

I've been handed a Qt widget class (C++) that has several Q_PROPERTYs. 
I'm working on the sip file to wrap the class but can't find any info 
(in SIP docs or google) on how to wrap a Q_PROPERTY with SIP.

Is there a way to do this with SIP? Do I even need to? The Q_PROPERTYs' 
getters & setters are members of the class anyways, so wrapping those 
ought to provide the necessary functionality.

Thanks for any info.

Josh


More information about the PyQt mailing list