[PyQt] SIP out of memory error

2008-05-19 Thread Kevin Watters
Yikes! SIP ran out of memory because of this typo: class MyClass : MyClass { }; (As a side note, Mac OS X deals with out of memory situations much more gracefully than Vista.) I'd imagine there's a fix to be somewhere in the superclass: part of parser.y ;) _

[PyQt] Re: Building with Visual Studio 2008

2008-05-19 Thread Kevin Watters
> As far as I can see SIP embeds the manifest in the executable so it is not > necessary to install it. If I don't run mt on the exe then it fails to run. > If I do then it runs - irrespective of whether the manifest is installed or > not. I second this--I had to add the following post-build st

Re: [PyQt] Re: PyQt and DB API.

2008-05-19 Thread David Boddie
On Mon May 19 02:58:05 BST 2008, Alberto Berti wrote: [http://indico.cern.ch/contributionDisplay.py?contribId=33&sessionId=41&confId=44] > thanks for producing and publishing that slides and examples, they > where one of the first "reviews" of the Qt4 architecture that i read > when I was evaluat

[PyQt] [PyQt4.3.3] QTabWidget empty because of QSplitter().saveState() and QSplitter().restoreState()

2008-05-19 Thread alteo_gange
Hi, when i start the following script: -- #!/usr/bin/python # -*- coding: Utf-8 -*- import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class Window(QMainWindow): def __init__(self, parent=None): QMainWindow.__in

Re: [PyQt] PyQt4.4 - Exporting .ui to .py problems with QIcon

2008-05-19 Thread Phil Thompson
On Monday 19 May 2008 14:56:52 Gustavo A. Díaz wrote: > Nice, now it works... > > I saw that now does not use anymore setIcon(QtGui.QIcon...), instead it > uses addPixmap(QtGui.QPixmap). Is that normal? Maybe is stupid > question... but is how now an icon is being added in this version of Qt?

Re: [PyQt] PyQt4.4 - Exporting .ui to .py problems with QIcon

2008-05-19 Thread Gustavo A. Díaz
Nice, now it works... I saw that now does not use anymore setIcon(QtGui.QIcon...), instead it uses addPixmap(QtGui.QPixmap). Is that normal? Maybe is stupid question... but is how now an icon is being added in this version of Qt? Thanks! 2008/5/17 Phil Thompson <[EMAIL PROTECTED]>: > On Fri

Re: [PyQt] Strange Qt 4.4 behavior

2008-05-19 Thread kib2
Hi Detlev, Can you be more accurate on what needs to be fixed please ? I've got the same bug with an old app of mine and don't have time to look at it for the moment. Thanks, Christophe K. ___ PyQt mailing listPyQt@riverbankcomputing.com http

[PyQt] ANN: eric 4.1.4 and new 4.2 snapshot released

2008-05-19 Thread Detlev Offenbach
Hi, this is to inform all of you about the immediate availability of eric 4.1.4 and a new 4.2 snapshot. They include a fix for an API change of Qt 4.4, that caused eric4 to crash. Please update immediately. As usual, they are available via http://www.die-offenbachs.de/eric/index.html. Regards,

Re: [PyQt] Perhaps a bug with virtual methods?

2008-05-19 Thread Phil Thompson
On Monday 19 May 2008 09:54:04 Andrew Perella wrote: > Thanks Phil, > In my case there is a B::Enter on the c++ side - I just didn't want to > expose it. The class is sipped just so that we can pass pointers to class C > to functions that expect class B. > I realise now that you expect all virtual

Re: [PyQt] Strange Qt 4.4 behavior

2008-05-19 Thread Detlev Offenbach
Hi, you are right, it is the same problem. I just uploaded eric4 4.1.4, that fixes this. The announcement will be made in a few minutes in the mailing lists. Regards, Detlev On Sonntag, 18. Mai 2008, Gustavo A. Díaz wrote: > Detlev, > > Hi. I think this has something to do too with it? When I c

RE: [PyQt] SIP, multiple constructors and exceptions

2008-05-19 Thread Andrew Perella
OK thanks, I hadn't noticed an exception anywhere - perhaps I caught it elsewhere. I will look into it. Thanks, Andrew -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Phil Thompson Sent: 15 May 2008 22:03 To: pyqt@riverbankcomputing.com Subject: Re: [PyQ

RE: [PyQt] Perhaps a bug with virtual methods?

2008-05-19 Thread Andrew Perella
Thanks Phil, In my case there is a B::Enter on the c++ side - I just didn't want to expose it. The class is sipped just so that we can pass pointers to class C to functions that expect class B. I realise now that you expect all virtual methods to be mentioned in every class in the sip file. Would