[PyQt] Wrap C++ QWidget Subclass for use in PyQt4

Tyler Distad tyler.distad at gmail.com
Mon Jul 28 05:36:51 BST 2008

I am attempting to use this subclass of QWidget in a Python program:

I'm also willing to substitute this custom widget:

Both of these widgets are written in C++.

Is there any way to access one of these widgets from within Python?
I've looked at SIP, but I just don't understand the documentation. It
appears that I would have to essentially translate the entire codebase
into SIP-understandable macros. If so, that's more work than I'm able
to handle right now.

Thank you.

Tyler Distad

More information about the PyQt mailing list