Re: [PyQt] [SIP] operator * Error

2011-04-20 Thread Phil Thompson
On Wed, 20 Apr 2011 15:53:00 +0200, Kermit wrote: > hi, > > In Matrix33.sip, i've this line > > Vec2 operator * (const Vec2 &v, const Matrix33 &m); > > and sip return me > sip: Matrix33.sip:285: Global operators must be either numeric or > comparison > operators > > > i don't understand, bec

Re: [PyQt] Multiple Inheritance

2011-04-20 Thread Phil Thompson
On Wed, 20 Apr 2011 13:01:57 +0200, Zoltan Szalai wrote: > Hi All, > > The PyQt Reference Guide says: > "It is not possible to define a new Python class that sub-classes from > more than one Qt class." > [ > http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/gotchas.html#multiple-inheri

Re: [PyQt] Kudos

2011-04-20 Thread Phil Thompson
On Wed, 20 Apr 2011 07:36:13 -0400, Eric Frederich wrote: > Is there a PyQt installer built with Visual Studio? They all are. > I am embedding a Python interpreter in a 3rd party application and creating > bindings to that same 3rd party's libraries. Unless I am mistaken I am > fairly sure that

[PyQt] [SIP] operator * Error

2011-04-20 Thread Kermit
hi, In Matrix33.sip, i've this line Vec2 operator * (const Vec2 &v, const Matrix33 &m); and sip return me sip: Matrix33.sip:285: Global operators must be either numeric or comparison operators i don't understand, because it's work fine in Vec3.sip with Vec3 operator * (float a, const Vec3 &v)

Re: [PyQt] Multiple Inheritance

2011-04-20 Thread Arnold Krille
On Wednesday 20 April 2011 13:01:57 Zoltan Szalai wrote: > Hi All, > > The PyQt Reference Guide says: > "It is not possible to define a new Python class that sub-classes from > more than one Qt class." > [ > http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/gotchas.html#mul > tiple-inheri

Re: [PyQt] Kudos

2011-04-20 Thread Erik Janssens
build with VS 2008 http://www.python-camelot.com/cpd.html On Wed, Apr 20, 2011 at 7:36 AM, Eric Frederich wrote: > Is there a PyQt installer built with Visual Studio? > > I am embedding a Python interpreter in a 3rd party application and creating > bindings to that same 3rd party's libraries.  U

Re: [PyQt] Kudos

2011-04-20 Thread Eric Frederich
Is there a PyQt installer built with Visual Studio? I am embedding a Python interpreter in a 3rd party application and creating bindings to that same 3rd party's libraries. Unless I am mistaken I am fairly sure that I need both Python and my bindings created using Visual Studio. I have tried to

[PyQt] Multiple Inheritance

2011-04-20 Thread Zoltan Szalai
Hi All, The PyQt Reference Guide says: "It is not possible to define a new Python class that sub-classes from more than one Qt class." [ http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/html/gotchas.html#multiple-inheritance ] The code attached works here until you remove the comment be

Re: [PyQt] Disable context menu of a plugin in QWebview

2011-04-20 Thread Hans-Peter Jansen
On Wednesday 20 April 2011, 00:13:33 Gelonida G wrote: > Hi Hans-Peter, > > Thanks for your answer. You're welcome. > On 04/19/2011 03:00 PM, Hans-Peter Jansen wrote: > > On Monday 18 April 2011, 11:16:17 Gelonida N wrote: > >> > >> The browser should always display a given context menu when the

Re: [PyQt] Kudos

2011-04-20 Thread Phil Thompson
On Tue, 19 Apr 2011 22:03:05 -0400, Eric Frederich wrote: > Hey Phil, > > I recently built some Python bindings (using Cython) for a 3rd party > library that had to be built using Visual Studio 2005. > Its great having these bindings and being able to use Python. > Unfortunately, to install any o