Hello.

I would like to subclass the QTableView's default delegate to customize the way date-time and double columns are rendered and edited.

I can do it when I know the column index that contains the specific data type. But this is a QTableView is to be connected to several different tables in a MS-SQL database, so I have to find what data type each column will display and apply the suitable editor and renderer.


The double values are rendered OK, but the editor (a spinbox) allows values in the range 0,0 to 99,99, that I want to change.

Datatime values are rendered as datetime's, but I'm only interested in date's.


Thank You

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

Reply via email to