Hurray! Thanks to Justin Noel on the qt-interest list, the following
code now works and doesn't leak!
Noam
===
#!/usr/bin/env python
import sys
from PyQt4 import QtCore, QtGui
from PyQt4.QtCore import Qt
class TableModel(QtCore.QAbstractTableModel):
def rowCount(self, index):
On Sunday 23 December 2007, Noam Raphael wrote:
> 2007/12/23, Andreas Pakulat <[EMAIL PROTECTED]>:
> > Works fine here on Debian unstable, with a bit older PyQt4(I think from
> > November) and Qt4.3.2. Yes the memory usage increases when starting to
> > scroll, but not that much. After scrolling fr
2007/12/23, Andreas Pakulat <[EMAIL PROTECTED]>:
> Works fine here on Debian unstable, with a bit older PyQt4(I think from
> November) and Qt4.3.2. Yes the memory usage increases when starting to
> scroll, but not that much. After scrolling from one end to the other on
> both bars the python proces
On Sunday 23 December 2007, Noam Raphael wrote:
> 2007/12/23, Phil Thompson <[EMAIL PROTECTED]>:
> > > Is there anything that can be done?
> >
> > Not if I can't reproduce the problem. I'm using current SIP and PyQt
> > snapshots and Qt 4.3.3.
>
> It also works for me on windows, using the latest b
On 23.12.07 13:59:30, Noam Raphael wrote:
> 2007/12/23, Phil Thompson <[EMAIL PROTECTED]>:
> > > Is there anything that can be done?
> >
> > Not if I can't reproduce the problem. I'm using current SIP and PyQt
> > snapshots
> > and Qt 4.3.3.
> >
> It also works for me on windows, using the latest
2007/12/23, Phil Thompson <[EMAIL PROTECTED]>:
> > Is there anything that can be done?
>
> Not if I can't reproduce the problem. I'm using current SIP and PyQt snapshots
> and Qt 4.3.3.
>
It also works for me on windows, using the latest binary. But have you
tried it on linux? I'm using ubuntu 7.10
On Saturday 22 December 2007, Noam Raphael wrote:
> 2007/12/21, Phil Thompson <[EMAIL PROTECTED]>:
> > Works fine for me with current versions.
> >
> > Phil
>
> Ok, I now compiled by myself PyQt 4.3.3 with sip 4.7.3. I have qt
> 4.3.2 installed. The memory still leaks.
>
> Is there anything that ca
2007/12/21, Phil Thompson <[EMAIL PROTECTED]>:
> Works fine for me with current versions.
>
> Phil
Ok, I now compiled by myself PyQt 4.3.3 with sip 4.7.3. I have qt
4.3.2 installed. The memory still leaks.
Is there anything that can be done?
Noam
___
P
On Thursday 20 December 2007, Noam Raphael wrote:
> Hello,
>
> I created a simple program which uses QAbstractTableModel to display a
> table with 1000x1000 cells. It works, but if I enlarge the window and
> scroll a little bit the memory consumption of the program jumps to the
> skies (If I weren'
Hello,
I created a simple program which uses QAbstractTableModel to display a
table with 1000x1000 cells. It works, but if I enlarge the window and
scroll a little bit the memory consumption of the program jumps to the
skies (If I weren't careful, my system would have stuck.)
Here's the program.
10 matches
Mail list logo