Regarding overwritting the existing data in the QSqlRelationalTableModel
Unsolved
General and Desktop
-
Qt 4.8
Does the QSqlRelationalTableModel::setFilter() overwrite the existing data in the model?
myModelModel->setFilter( QString("QueueID=%1 LIMIT %2 ,%3")
.arg( m_QueueId )
.arg( fromIndex )
.arg( toIndex ) );
if i call the myModelModel->rowCount(), it gives the total no. (existing + after filtered out).how to get overwritting, i want rowCount of the model same always.