PyQt4 + Python + PostgreSQL