[PyQt] Designer source

Andreas Pakulat apaku at gmx.de
Thu Mar 8 08:49:41 GMT 2012


On 08.03.12 09:35:51, Andreas Pakulat wrote:
> On 07.03.12 16:14:18, JPolk wrote:
> > 
> > ...'cause it would make it easier for me to merge Designer with Maya ;-)
> 
> Write Maya in C++ ;P

Hmm, on a more serious note, you won't get around writing C++. AFAIK the
public API of the QtDesigner library (and hence also the PyQt module)
does not include the necessary functions to actually create a designer
yourself. One needs to use one or two private headers from QtDesigner
for the necessary functions. You could of course simply wrap that
private API in a simple class and expose that via sip to Python and then
do all the rest in Python.

Andreas



More information about the PyQt mailing list