You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TableView uses roles to access column data, so the model needs to provide roleNames() and an implementation of data(…) that uses the role integer for column access. Either let the user specify the role names (and automatically assign them role integers starting from Qt::UserRole + 1) or somehow fetch the role names automatically from the query (if possible).
Since the implementation and complexity will differ from the original AsyncQueryModel, create a new class.
The text was updated successfully, but these errors were encountered:
TableView uses roles to access column data, so the model needs to provide roleNames() and an implementation of data(…) that uses the role integer for column access. Either let the user specify the role names (and automatically assign them role integers starting from Qt::UserRole + 1) or somehow fetch the role names automatically from the query (if possible).
Since the implementation and complexity will differ from the original AsyncQueryModel, create a new class.
The text was updated successfully, but these errors were encountered: