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] 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)

[PyQt] qtable data source

2007-12-22 Thread 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 nishith - Be a better friend, newshound, and know-it-all with