Qt QSqlQueryModel::setQuery control what display in in the column
Im using :
in QSqlQueryModel subclass , but i dont want to display all the results that i getting from the select , i want to use the data and display only foo in the display and others results in others things . how can it be done?
4 replies
Subclassing QSortFilterProxyModel and reimplementing method filterAcceptsColumn() should do the trick.
You must log in to post a reply. Not a member yet? Register here!




