[PyQt] data aware widgets not there

Oleg Klimov omgtech at gmail.com
Tue Dec 18 11:19:56 GMT 2007


You seem to have Microsoftisch background (or Borland). PyQt is not a
solution for everything: databases, making coffee, etc. It only handles
GUI. For database connectivity, here's some entry points:

PEP 249 -- Python Database API Specification v2.0 
SQLAlchemy - The Database Toolkit for Python


On Tue, 2007-12-18 at 03:08 -0800, nishith datta wrote: 
> hi all,
> I am new to python and pyqt. I have python2.5 and pyqt from
> riverbankcomputing. When I launch the QT designer, I donot see a way
> to set up database connections and therefore cannot create data aware
> forms.
> I would love to know from anyone about how to do the following :-
> I wish to connect to a postgres DB and execute a query.
> The result of the query should be displayed in a table view on the
> screen.
> I have been able to use psycopg2 to connect and execute the sql query.
> But how to display the retrieved data in a table view in pyqt ?
> thanks in advance for anyhelp
> nishith
> 
> ______________________________________________________________________
> 
> Looking for last minute shopping deals? Find them fast with Yahoo!
> Search. 
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt



More information about the PyQt mailing list