Re: [Interest] QSqlQueryModel refresh

2012-03-03 Thread Bo Thorsen
d a widget for that, > and from a model perspective I don't have one. > > > > *From:* Thales Lange > *To:* interest@qt-project.org; scorp...@yahoo.com > *Sent:* Friday, March 2, 2012 6:31 PM > *Su

Re: [Interest] QSqlQueryModel refresh

2012-03-03 Thread Jason H
st@qt-project.org; scorp...@yahoo.com Sent: Friday, March 2, 2012 6:31 PM Subject: Re: [Interest] QSqlQueryModel refresh Jason, I don't realize another way to update the QSqlQueryModel after you change the Table data. You will have to call "setQuery(...)" again. If you are facing perfo

Re: [Interest] QSqlQueryModel refresh

2012-03-02 Thread Thales Lange
Jason, I don't realize another way to update the QSqlQueryModel after you change the Table data. You will have to call "setQuery(...)" again. If you are facing performance problems, you can try to limit your query ("SELECT ... LIMIT 100"). Eventually, if you have a complex SQL statement, you can

Re: [Interest] QSqlQueryModel refresh

2012-03-02 Thread Thales Lange
Jason, I don't realize another way to update the QSqlQueryModel after you change the Table data. You will have to call "setQuery(...)" again. If you are facing performance problems, you can try to limit your query ("SELECT ... LIMIT 100"). Eventually, if you have a complex SQL statement, you can

[Interest] QSqlQueryModel refresh

2012-03-02 Thread Jason H
How after I have reimplmented setData() to make my model writable, do I refresh my view? I could drop the whole model and reload it, but that is expensive.___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/inte