[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] SIPing a subclass of QApplication
From:       Oliver Heyme <olihey () googlemail ! com>
Date:       2009-03-30 12:49:45
Message-ID: 62f3aed30903300549y5d733170n1b435d4a3e4d5042 () mail ! gmail ! com
[Download RAW message or body]

I copied some core from qapplication.sip and now it's working fine!

Thanks for the fast answers (all of them :) )!
Oli

On Mon, Mar 30, 2009 at 2:26 PM, Phil Thompson
<phil@riverbankcomputing.com> wrote:
> On Mon, 30 Mar 2009 14:21:30 +0200, Oliver Heyme <olihey@googlemail.com>
> wrote:
>> Hi (me again :) ),
>>
>> I have Python 3 embedded in my C++ QT-application and now would like
>> to export my most important classes to Python to be able to "script"
>> the application.
>>
>> I started with LBBApplication which is inherited from QApplication.
>> Now I have the problem with the constructor of my class!
>> What should I use in the sip file to define the constructor:
>>
>> LBBApplication(int &argv,char*argc[]);
>>
>> Please help, I couldnot find any documentation on that!
>
> Have a look at the way PyQt implements QApplication and QCoreApplication.
>
> Phil
>
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic