Hi all!
I suspect QSqlTableModel.rowCount cannot return numbers above 256.
For this finding could somebody please write me a mini-example of the
QSqlTableModel.beforeInsert?
Look, this outputs 256 for me (python 3.1.2, pyqt 4.8.1, XP SP3)
And can somebody tell me why this code is this
On Freitag 03 Dezember 2010, KONTRA, Gergely wrote:
Hi all!
I suspect QSqlTableModel.rowCount cannot return numbers above
256.
rowCount is not the number of rows in the table but in the model,
AFAIK. Use fetchMore() to load more.
And can somebody tell me why this code is this painfully
On Fri, Dec 3, 2010 at 15:56, Wolfgang Rohdewald wolfg...@rohdewald.dewrote:
On Freitag 03 Dezember 2010, KONTRA, Gergely wrote:
Hi all!
I suspect QSqlTableModel.rowCount cannot return numbers above
256.
rowCount is not the number of rows in the table but in the model,
AFAIK. Use
On 03.12.10 17:13:31, KONTRA, Gergely wrote:
On Fri, Dec 3, 2010 at 15:56, Wolfgang Rohdewald wolfg...@rohdewald.dewrote:
On Freitag 03 Dezember 2010, KONTRA, Gergely wrote:
Hi all!
I suspect QSqlTableModel.rowCount cannot return numbers above
256.
rowCount is not the number
On Freitag 03 Dezember 2010, Andreas Pakulat wrote:
It also doesn't mention that its based on
QSqlQueryModel::rowCount(). That one however does explain
what it returns in its API docs. So it seems like your DB is
at fault, as its not able to return the complete size of the
query.
You are