Hi,
how can I set user defined roles for columns of a QSqlQueryModel?
For example: Column 1 and 2 should have Qt:isplayRole, and column 3 and 4 should have Qt::UserRole where the values are?
Thanks in advance
Best Regards
NoRulez
Hi,
how can I set user defined roles for columns of a QSqlQueryModel?
For example: Column 1 and 2 should have Qt:isplayRole, and column 3 and 4 should have Qt::UserRole where the values are?
Thanks in advance
Best Regards
NoRulez
did you try to use QAbstractItemModel::setData?
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks