[PyQt] QTextBrowser.append(mytext) ??

2007-12-23 Thread Jochen Georges
Hello, I found an example with the following line: self.browser = QTextBrowser() #some code self.browser.append(blabla) why does that work? nor i did find a QTextBrowser - method append in the qt-assistant, neither in the pyqt-class reference.

Re: [PyQt] QTextBrowser.append(mytext) ??

2007-12-23 Thread Phil Thompson
On Sunday 23 December 2007, Jochen Georges wrote: Hello, I found an example with the following line: self.browser = QTextBrowser() #some code self.browser.append(blabla) why does that work? nor i did find a QTextBrowser - method append in the qt-assistant, neither in the pyqt-class

Re: [PyQt] qtable data source

2007-12-23 Thread Sibylle Koczian
Am Sonntag, 23. Dezember 2007 06:50:44 schrieb nishith datta: hi all, I wish to show the output of my sql query in a table. I am unable to do that. Can someone point out some resource / example or documentation to help me out. thanks in advance http://doc.trolltech.com/4.0/sql.html

Re: [PyQt] Memory leak when using QAbstractTableModel

2007-12-23 Thread Noam Raphael
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, which

Re: [PyQt] Memory leak when using QAbstractTableModel

2007-12-23 Thread Andreas Pakulat
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 binary. But have

Re: [PyQt] Memory leak when using QAbstractTableModel

2007-12-23 Thread Phil Thompson
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 binary. But

Re: [PyQt] Memory leak when using QAbstractTableModel

2007-12-23 Thread Noam Raphael
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 process is

Re: [PyQt] Memory leak when using QAbstractTableModel

2007-12-23 Thread Phil Thompson
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 from one

[PyQt] Re: drawComplexControl

2007-12-23 Thread Attila Olah
Still couldn't get it working... Any tutorials on this? Unfortunately I'm unable tu buy the book for now, maybe next year... ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Re: [PyQt] Fwd: drawComplexControl

2007-12-23 Thread Oleg Klimov
On Sun, 2007-12-23 at 06:18 +0100, Attila Olah wrote: How do I draw e.g. a tool box in a QTreeView? I tried override the model's delegate's paint() function, but it didn't work. I'd like to do something like this: http://doc.trolltech.com/4.3/qstyle.html#drawComplexControl in PyQt4. Is it

Re: [PyQt] qtable data source

2007-12-23 Thread nishith datta
Ok , I went throught he documentation before and yet again. I can't figure out what the hell is wrong with this code ;- import sys from PyQt4 import QtGui, QtSql db = QtSql.QSqlDatabase.addDatabase(QPSQL) db.setHostName(localhost) db.setPort(5432) db.setDatabaseName(test)

Re: [PyQt] qtable data source

2007-12-23 Thread Andreas Pakulat
On 23.12.07 11:05:18, nishith datta wrote: Ok , I went throught he documentation before and yet again. I can't figure out what the hell is wrong with this code ;- import sys from PyQt4 import QtGui, QtSql db = QtSql.QSqlDatabase.addDatabase(QPSQL) db.setHostName(localhost)