NoRulez
6th December 2009, 19:16
Hi,
how can I set user defined roles for columns of a QSqlQueryModel?
For example: Column 1 and 2 should have Qt::DisplayRole, and column 3 and 4 should have Qt::UserRole where the values are?
Thanks in advance
Best Regards
NoRulez
how can I set user defined roles for columns of a QSqlQueryModel?
For example: Column 1 and 2 should have Qt::DisplayRole, and column 3 and 4 should have Qt::UserRole where the values are?
Thanks in advance
Best Regards
NoRulez