Hi,
Would it help if sip.wrappertype was placed in the sip module dictionary
so that you could sub-class it?
I ran into the same troubles and asked Gary for his solution. He offered me
this neat trick for declaring my metaclass:
class SessionAware(type(QObject)):
...
I neverless think that
Hi,
Would it help if sip.wrappertype was placed in the sip module dictionary
so that you could sub-class it?
I ran into the same troubles and asked Gary for his solution. He offered
me
this neat trick for declaring my metaclass:
class SessionAware(type(QObject)):
...
I neverless
Howdy!
I'm presently using QCustomEvent quite often, and decided to whip up a
solution using metaclasses. The idea being that the custom event number
could be automatically incremented for each custom event -- so it would
be unnecessary to number them manually.
However, trying to create a