[Development] QTableView gets freezed in showing data read from SQLite database , which is updated dynamically with 2000 rows in 2s
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Tue Jul 12 11:27:33 CEST 2016
Il 12/07/2016 10:49, Mitch Curtis ha scritto:
> As someone who has more experience with Qt Quick, I gotta ask... does QTableView create widgets for every row in the model all at once?
It does not create any sub widget. The whole point of the design of item
views is to use a few delegate objects (1, out of the box) to paint
themselves, not to create thousands of sub-widgets.
(Besides, this is the wrong ML for discussing this problem...)
Cheers,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (UK) Ltd., a KDAB Group company | Tel: UK +44-1625-809908
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160712/84ca7340/attachment.bin>
More information about the Development
mailing list