Hello Everyone,
this is my first post here, nevertheless I have this one annoying problem
When I was looking through the Qt's docs I've found that I can support relations in my tables by using QSqlRelationalTableModel.
And it is working great, all columns from the specific table are displayed correctly with the filter on.
Yet... ability to edit entries inside the QTableView (which I use for the model) is not desirable by me, I don't want user to be able to interact with visible rows.
And my question is -> Is there a way to supports relations without using editable model ? For what I concern the only model able to do so qsqlquerymodel, but it does not support relation.
Correct me, of course, if I'm wrong
Any ideas ?
btw-> I think this a right part of the forum
Bookmarks