Re: [PyQt] Large Table Example in PyQt4

2007-12-21 Thread David Boddie
On Thu, 20 Dec 2007 16:20:08 -0800 (PST), B Clowers wrote: > 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 l

Re: [PyQt] Beginners - signal - slots - question

2007-12-21 Thread Henrik Pauli
On Friday 21 December 2007, Jochen Georges wrote: > On Friday 21 December 2007 12:26:02 Henrik Pauli wrote: > > On Friday 21 December 2007, Jochen Georges wrote: > > > Hello, > > ..snip > > > > Which is the right QLineEdit-Signal? > > > the action should start when return is pressed, but the > >

Re: [PyQt] Beginners - signal - slots - question

2007-12-21 Thread Jochen Georges
On Friday 21 December 2007 12:26:02 Henrik Pauli wrote: > On Friday 21 December 2007, Jochen Georges wrote: > > Hello, ..snip > > Which is the right QLineEdit-Signal? > > the action should start when return is pressed, but the > > signal "returnPressed" has no parameter "QString" > >

Re: [PyQt] Invalid protected on QItemDelegate ?

2007-12-21 Thread Phil Thompson
On Friday 21 December 2007, Peter Shinners wrote: > I am creating a custom QAbstractItemDelegate. It mostly acts as a proxy > for standard QTreeWidget delegate. I cannot call the editorEvent() > method on the original delegate because of this. > > return self.__real.editorEvent(event, model, op

[PyQt] Invalid protected on QItemDelegate ?

2007-12-21 Thread Peter Shinners
I am creating a custom QAbstractItemDelegate. It mostly acts as a proxy for standard QTreeWidget delegate. I cannot call the editorEvent() method on the original delegate because of this. return self.__real.editorEvent(event, model, option, index) RuntimeError: no access to protected function

Re: [PyQt] Beginners - signal - slots - question

2007-12-21 Thread Henrik Pauli
On Friday 21 December 2007, Jochen Georges wrote: > Hello, > > i finished my first "Hello-World"-PyQt-program sucessfully, > but not my second. > > I googled for an example, but did not find any, so maybe you can give me a > hint. > > There is a QLineEdit-element and a QLabel-element. > When te use

Re: [PyQt] Beginners - signal - slots - question

2007-12-21 Thread Doug Bell
Jochen Georges wrote: > Hello, > > i finished my first "Hello-World"-PyQt-program sucessfully, > but not my second. > > I googled for an example, but did not find any, so maybe you can give me a > hint. > > There is a QLineEdit-element and a QLabel-element. > When te user finished editing the

[PyQt] Beginners - signal - slots - question

2007-12-21 Thread Jochen Georges
Hello, i finished my first "Hello-World"-PyQt-program sucessfully, but not my second. I googled for an example, but did not find any, so maybe you can give me a hint. There is a QLineEdit-element and a QLabel-element. When te user finished editing the QLineEdit, the text should be changed and

Re: [PyQt] Memory leak when using QAbstractTableModel

2007-12-21 Thread Phil Thompson
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'