IloChab escribió:
I'm using the couple QTableView+QSqlQueryModel.

I was wondering if it's possible to extend the table with some columns not contained in the relation but computed on the fly from the application.

If it's possible I'd like to know how, because I made some tests without any success.

Thank you in advance.
ciao
Licia


------------------------------------------------------------------------

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Hi,

if the values are from computed from database columns values you can do in the sql select, if you need to post any other information not generated from sql i think you will have to subclass the model and reimplement the data method.

Regards,
Miguel Angel.
_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to