PDA

View Full Version : QSqlTableModel column customization



kishore7771
15th October 2009, 19:12
hi,


In QSqlTableModel how to set query ??


After retrieving the rows in some columns i have enumerated datatypes.
where i should display red for 1 ,green for 2 like this.
Is there any possible to customize columns in QSqlTableModel.





Thanks
Kishore

wysota
16th October 2009, 10:07
Read about QSqlRelationalTableModel and the concept of delegates in Qt.