[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 14:35:08 CEST 2016
Il 12/07/2016 14:19, Mitch Curtis ha scritto:
>> >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.
> So what Andre said ("2k push buttons") is wrong?
Well, no, from the first message in the thread it looked like OP's was
indeed filling the view by manually creating thousands of QPushButton /
QLabel / etc.
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/8802d8dd/attachment.bin>
More information about the Development
mailing list