[Qgis-developer] PyQGIS signal slot problem

Martin Dobias wonder.sk at gmail.com
Sat Apr 24 08:09:20 EDT 2010


On Sat, Apr 24, 2010 at 8:33 AM, Marco Hugentobler <marco at hugis.net> wrote:
> Hi Martin
>
> Hm, but in my case this would mean to insert the %ConvertToSubClassCode
> directive into the sip file for QGraphicsView (that comes from PyQt). Is there
> a possibility to use  %ConvertToSubClassCode without changing PyQt?

This directive can be used either in the parent class or it can be in
the derived classes which were not previously known (as is the case of
QgsComposerView). I've added the code needed for correct conversion to
subclass in r13361.

Bye
Martin


More information about the Qgis-developer mailing list