[Interest] Query cached entries in QSqlTableModel

Knut Krause knut.krause at lagom.de
Mon Dec 30 09:47:11 CET 2013


Hi,

if I set my QSqlTableModel to ManualSubmit and insert some new rows I cannot 
query them if I iterate over rowCount in the model until I call submitAll(). 
Is this the desired behaviour? I'm building a more complex model which needs 
some checking before submit so I'd really like even the cached rows to be in 
my model. Can I somehow achieve that?

regards


Knut



More information about the Interest mailing list