Re: [PyQt] distutils/kde questions

2007-12-20 Thread David Boddie
On Wed Dec 19 12:38:39 GMT 2007, Giacomo Lacava wrote: > For my small apps, I used to maintain my own ad-hoc little installer > scripts. I've finally given up on that and moved to distutils for my > last project, KDelicious. > However, I'm not really happy. > > Since I need to place some .desktop

Re: [PyQt] Qpainter last question

2007-12-20 Thread David Boddie
On Tue, 18 Dec 2007 10:33:57 +0100, lucaberto wrote: > In the book is write that repaint force the update of the widget. > > so i try this : [...] > gra = QtGui.QPainter(self.miaPictureFrame.immagine) > pen = QtGui.QPen() > pen.setWidth(1) > gra.setPen(pen) > gra.drawText(30, 35, '50 daN/mm') >

[PyQt] Large Table Example in PyQt4

2007-12-20 Thread B Clowers
I am fairly new to python and programming as a whole and would like to develop a small application capable of plotting simple 2D graphs and also display such data in a table. In my initial assessment of PyQt4 I have been able to load my data into a table but it is terribly slow. I am using a Q

[PyQt] Memory leak when using QAbstractTableModel

2007-12-20 Thread Noam Raphael
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.