Re: [PyQt] Pixel pushing performance

2008-05-07 Thread Matt Newell
On Wednesday 07 May 2008 18:59:33 Roberto Alsina wrote: > > > > def paintEvent(self, event): > > canvas = QtGui.QImage(event.rect().size(), > >QtGui.QImage.Format_RGB32) > > for i in xrange(0, canvas.height()): > > for j in xrange(

Re: [PyQt] Pixel pushing performance

2008-05-07 Thread Roberto Alsina
On Wednesday 07 May 2008 20:16:25 Håkon Bertheussen wrote: > Hi, > > I'm just getting started with PyQt, trying to implement a fairly complex > widget in python. Unfortunately, it cannot easily be painted using > higher level drawing primitives, meaning that I have to set individual > pixels. I rea

Re: [PyQt] Pixel pushing performance

2008-05-07 Thread Giovanni Bajo
On Thu, 2008-05-08 at 01:16 +0200, Håkon Bertheussen wrote: > Hi, > > I'm just getting started with PyQt, trying to implement a fairly complex > widget in python. Unfortunately, it cannot easily be painted using > higher level drawing primitives, meaning that I have to set individual > pixels. I r

[PyQt] Pixel pushing performance

2008-05-07 Thread Håkon Bertheussen
Hi, I'm just getting started with PyQt, trying to implement a fairly complex widget in python. Unfortunately, it cannot easily be painted using higher level drawing primitives, meaning that I have to set individual pixels. I realize that this obviously has a lot of overhead compared to a C++ impl

[PyQt] Odd tab behavior in QTableWidget with cell widgets

2008-05-07 Thread Kerri Reno
I have a small table widget where each cell contains a widget. I start with two rows of the table filled with data. If I add a new third row to the table, and then start in the first cell to change that line, when I press tab it goes to the second cell in the first row. Has anyone seen and conqu

Re: [Fwd: [PyQt] mem error in windows]

2008-05-07 Thread Linos
Thank you Phil. Phil Thompson escribió: On Tuesday 06 May 2008, Linos wrote: Phil do you have for download the source of the windows installer? this way i could compile to have an installer without that problem. Regards, Miguel Angel. Attached is the installer source. Phil ---

Re: [Fwd: [PyQt] mem error in windows]

2008-05-07 Thread Phil Thompson
On Tuesday 06 May 2008, Linos wrote: > Phil do you have for download the source of the windows installer? this way > i could compile to have an installer without that problem. > > Regards, > Miguel Angel. Attached is the installer source. Phil # PyQt4 NSIS installer script. # # @BS_LICENSE@ # T

[PyQt] A suggestion for solving a bug in PyQt's input hook

2008-05-07 Thread Noam Raphael
Hello, I am writing a sort of Qt program which will is run from the Python interactive shell. I have encountered a problem with how the input hook is made: If the program uses a function which displays a modal dialog, the dialog is immediately closed. You can test it by running these commands in

Re: [PyQt] QImage.save() traceback

2008-05-07 Thread Sergi Blanch i Torné
On Tuesday 06 May 2008 21:24:49 Hans-Peter Jansen wrote: > [ignore the last message..] > > Am Dienstag, 6. Mai 2008 schrieb Sergi Blanch i Torné: > > On Tuesday 06 May 2008 13:28:50 Hans-Peter Jansen wrote: > > > Am Dienstag, 6. Mai 2008 schrieb Sergi Blanch i Torné: > > > > Hi, > > > > > > > > I'm