PyQt4 plugin in c++ application
<p>How is it posible to load python script as plugin in qt based application?</p>

<p>The basic idea would be to make a class in c++</p>

<p><code>
class b
{
    virtual void method1();
    virtual void method2();
}
</code></p>

<p>and 'somehow' inherit it in python like</p>

<p><code>
class c(b):
    def method1:
        #do something
    def method2:
        #do something
</code></p>

<p>I need to be able to modify the gui from python( add buttons to some widgets made in c++ with qt ). Basicaly something similiar to (gedit, blender, etc) plugin architecture with qt</p>
