Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.11.1
Description
QSqlTableModel::setData() rejects all roles other than Qt::EditRole, so that we cannot set Qt::BackgroundRole using QSqlTableModel::setData() , please add relevant description in the doc or change the code, the current behavior halts many users , e.g.
Attachments
For Gerrit Dashboard: QTBUG-70234 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
238208,4 | Doc: Explicitly state that QSqlTableModel only handles EditRole | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |